Add extraEnv support to Helm chart for custom environment variables
This commit is contained in:
parent
d3582ce1d0
commit
91da35650d
2 changed files with 16 additions and 1 deletions
|
|
@ -99,3 +99,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: EASYHAPROXY_STATUS_UPDATE_INTERVAL
|
- name: EASYHAPROXY_STATUS_UPDATE_INTERVAL
|
||||||
value: {{ .Values.ingressStatus.updateInterval | quote }}
|
value: {{ .Values.ingressStatus.updateInterval | quote }}
|
||||||
|
{{- with .Values.extraEnv }}
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -98,3 +98,15 @@ masterNode:
|
||||||
label: easyhaproxy/node
|
label: easyhaproxy/node
|
||||||
values:
|
values:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
# Extra environment variables to inject into the container
|
||||||
|
# Supports all Kubernetes env var forms: value, valueFrom (secretKeyRef, configMapKeyRef, fieldRef)
|
||||||
|
# extraEnv:
|
||||||
|
# - name: MY_VAR
|
||||||
|
# value: "my-value"
|
||||||
|
# - name: SECRET_VAR
|
||||||
|
# valueFrom:
|
||||||
|
# secretKeyRef:
|
||||||
|
# name: my-secret
|
||||||
|
# key: my-key
|
||||||
|
extraEnv: []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue