helm-charts/dovecot/templates/configmap.yaml
2021-01-17 04:09:41 +03:00

22 lines
401 B
YAML

{{- range $key, $val := .Values.dovecot.configmaps.dovecot }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: dovecot-{{ $key }}
data:
{{ $key | indent 2 }}: |
{{ $val | indent 4 }}
{{- end }}
{{- range $key, $val := .Values.dovecot.configmaps.confd }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: dovecot-confd-{{ $key }}
data:
{{ $key | indent 2 }}: |
{{ $val | indent 4 }}
{{- end }}