Add support for extraSecretEnvironmentVars
and plain env:
values #108
1 changed files with 2 additions and 3 deletions
|
@ -39,9 +39,8 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
args: [ "serve" ]
|
args: [ "serve" ]
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.ntfy.env }}
|
{{- with .Values.ntfy.env }}
|
||||||
- name: {{ $key }}
|
{{- toYaml . | nindent 12 }}
|
||||||
value: {{ $value | quote }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- include "ntfy.extraSecretEnvironmentVars" .Values.ntfy | nindent 12 }}
|
{{- include "ntfy.extraSecretEnvironmentVars" .Values.ntfy | nindent 12 }}
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|
Loading…
Add table
Reference in a new issue