Support HTTP proxy in the Promenade API deployment
Change-Id: Iac99c4ea7c5b6f381910fd97207b3a16d644de75
This commit is contained in:
parent
2215843d72
commit
8992927f4d
|
@ -46,6 +46,13 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /opt/promenade/entrypoint.sh
|
- /opt/promenade/entrypoint.sh
|
||||||
- server
|
- server
|
||||||
|
{{- if .Values.pod.env.promenade_api }}
|
||||||
|
env:
|
||||||
|
{{- range .Values.pod.env.promenade_api }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
value: {{ .value }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: api-public
|
- name: api-public
|
||||||
containerPort: {{ .Values.network.api.port }}
|
containerPort: {{ .Values.network.api.port }}
|
||||||
|
|
|
@ -132,6 +132,20 @@ pod:
|
||||||
default: preferredDuringSchedulingIgnoredDuringExecution
|
default: preferredDuringSchedulingIgnoredDuringExecution
|
||||||
topologyKey:
|
topologyKey:
|
||||||
default: kubernetes.io/hostname
|
default: kubernetes.io/hostname
|
||||||
|
env:
|
||||||
|
promenade_api:
|
||||||
|
# - name: http_proxy
|
||||||
|
# value: http://proxy.example.com:8080
|
||||||
|
# - name: https_proxy
|
||||||
|
# value: http://proxy.example.com:8080
|
||||||
|
# - name: no_proxy
|
||||||
|
# value: 10.96.0.1
|
||||||
|
# - name: HTTP_PROXY
|
||||||
|
# value: http://proxy.example.com:8080
|
||||||
|
# - name: HTTPS_PROXY
|
||||||
|
# value: http://proxy.example.com:8080
|
||||||
|
# - name: NO_PROXY
|
||||||
|
# value: 10.96.0.1
|
||||||
replicas:
|
replicas:
|
||||||
api: 1
|
api: 1
|
||||||
lifecycle:
|
lifecycle:
|
||||||
|
|
Loading…
Reference in New Issue