Add support for environment variables
This commit is contained in:
parent
9e3834c541
commit
72b7ad506f
|
@ -31,3 +31,10 @@ spec:
|
||||||
- {{ . | quote}}
|
- {{ . | quote}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.container.environment_variables }}
|
||||||
|
env:
|
||||||
|
{{- range .Values.container.environment_variables }}
|
||||||
|
- name: {{ .name | quote }}
|
||||||
|
value: {{ .value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# Default values for mychart.
|
# Default values for ix-chart.
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
@ -18,3 +16,4 @@ fullnameOverride: ""
|
||||||
container:
|
container:
|
||||||
command: []
|
command: []
|
||||||
args: []
|
args: []
|
||||||
|
environment_variables: []
|
||||||
|
|
Loading…
Reference in New Issue