Add support for extraSecretEnvironmentVars and plain env: values #108

Closed
pat-s wants to merge 6 commits from extraSecretEnvironmentVars into main
Showing only changes of commit f774dc2766 - Show all commits

View file

@ -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: