revamp env injection

This commit is contained in:
pat-s 2024-07-15 19:07:57 +02:00
parent 745688dc66
commit f774dc2766
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

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: