Add general env configuration to Armada API
This is primarly intended for use to configure proxy settings. Change-Id: Iec0051f96b01083c602d230cca5c1a4711bee2c1
This commit is contained in:
parent
cacc84a1b0
commit
b10dfdecc9
@ -50,6 +50,13 @@ spec:
|
|||||||
image: {{ .Values.images.tags.api }}
|
image: {{ .Values.images.tags.api }}
|
||||||
imagePullPolicy: {{ .Values.images.pull_policy }}
|
imagePullPolicy: {{ .Values.images.pull_policy }}
|
||||||
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
|
{{- if .Values.pod.env.armada_api }}
|
||||||
|
env:
|
||||||
|
{{- range .Values.pod.env.armada_api }}
|
||||||
|
- name: {{ .name | quote }}
|
||||||
|
value: {{ .value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.pod.user.armada.uid }}
|
runAsUser: {{ .Values.pod.user.armada.uid }}
|
||||||
ports:
|
ports:
|
||||||
|
@ -155,6 +155,20 @@ conf:
|
|||||||
tiller:get_released: "rule:admin_required"
|
tiller:get_released: "rule:admin_required"
|
||||||
|
|
||||||
pod:
|
pod:
|
||||||
|
env:
|
||||||
|
armada_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
|
||||||
mounts:
|
mounts:
|
||||||
armada_api:
|
armada_api:
|
||||||
init_container: null
|
init_container: null
|
||||||
|
Loading…
Reference in New Issue
Block a user