postfixadmin-fetchmail-charts/templates/secrets.yaml
2021-09-26 17:08:01 +02:00

16 lines
342 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ include "postfixadmin-fetchmail.fullname" . }}
type: Opaque
stringData:
{{- if not (hasKey .Values "config") -}}
{{- $_ := set .Values "config" dict -}}
{{- end -}}
{{/* SETUP CONFIG */}}
{{ range $key, $value := .Values.config }}
{{ upper $key}}: {{ quote $value }}
{{ end }}