make chart support env vars correctly.
Signed-off-by: Klavs Klavsen <klavs@enableit.dk>
This commit is contained in:
parent
b8f483fb73
commit
45bbeeb625
1 changed files with 4 additions and 1 deletions
|
@ -66,7 +66,10 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.server.env }}
|
{{- if .Values.server.env }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml .Values.server.env | nindent 8 }}
|
{{- range $key, $value := .Values.server.env }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .Values.server.volumeMounts }}
|
{{- if .Values.server.volumeMounts }}
|
||||||
|
|
Loading…
Reference in a new issue