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