roundcube-charts/templates/secrets.yaml

16 lines
329 B
YAML
Raw Normal View History

2021-08-22 17:41:23 +00:00
apiVersion: v1
kind: Secret
metadata:
name: {{ include "roundcube.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 }}