[bitnami/spring-cloud-dataflow] Scdf proxy configuration (#5399)

* Add proxy configuration in SCDF server for Maven metadata

* Changing version to 2.7.2

Co-authored-by: nico <nico@nico-VirtualBox>
This commit is contained in:
CEDDM
2021-02-10 08:33:51 +01:00
committed by GitHub
parent 5963719162
commit 21f4bad58c
4 changed files with 23 additions and 1 deletions

View File

@@ -39,4 +39,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow
- https://github.com/bitnami/bitnami-docker-spring-cloud-skipper
- https://dataflow.spring.io/
version: 2.7.1
version: 2.7.2

View File

@@ -154,6 +154,10 @@ The following tables lists the configurable parameters of the Spring Cloud Data
| `server.jdwp.port` | JDWP TCP port | `5005` |
| `server.extraVolumes` | Extra Volumes to be set on the Dataflow Server Pod | `nil` |
| `server.extraVolumeMounts` | Extra VolumeMounts to be set on the Dataflow Container | `nil` |
| `server.proxy.host` | Proxy host | `nil` |
| `server.proxy.port` | Proxy port | `nil` |
| `server.proxy.user` | Proxy username (if authentication is required) | `nil` |
| `server.proxy.password` | Proxy password (if authentication is required) | `nil` |
### Dataflow Skipper parameters

View File

@@ -130,7 +130,15 @@ spec:
{{- end }}
{{- end }}
- name: SPRING_APPLICATION_JSON
{{- if .Values.server.proxy }}
{{- if .Values.server.proxy.user }}
value: "{ \"maven\": { \"local-repository\": null, \"remote-repositories\": { \"repo1\": { \"url\": \"https://repo.spring.io/libs-snapshot\"} }, \"proxy\": { \"host\": \"{{ .Values.server.proxy.host }}\", \"port\":{{ .Values.server.proxy.port }}, \"auth\": { \"username\": \"{{ .Values.server.proxy.user }}\", \"password\": \"{{ .Values.server.proxy.password }}\"} } } }"
{{- else }}
value: "{ \"maven\": { \"local-repository\": null, \"remote-repositories\": { \"repo1\": { \"url\": \"https://repo.spring.io/libs-snapshot\"} }, \"proxy\": { \"host\": \"{{ .Values.server.proxy.host }}\", \"port\":{{ .Values.server.proxy.port }} } } }"
{{- end }}
{{- else }}
value: "{ \"maven\": { \"local-repository\": null, \"remote-repositories\": { \"repo1\": { \"url\": \"https://repo.spring.io/libs-snapshot\"} } } }"
{{- end }}
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:

View File

@@ -402,6 +402,16 @@ server:
##
port: 5005
## Add proxy configuration for SCDF server
## Example:
## proxy:
## host: "myproxy.com"
## port: 8080
## user: ""
## password: ""
##
proxy: {}
##
## Spring Cloud Skipper parameters.
##