mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user