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