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 }}
args: [ "serve" ]
env:
{{- range $key, $value := .Values.ntfy.env }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- with .Values.ntfy.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- include "ntfy.extraSecretEnvironmentVars" .Values.ntfy | nindent 12 }}
envFrom: