helm-charts/rspamd/templates/configmap.yaml

23 lines
453 B
YAML
Raw Normal View History

{{- range $key, $val := (index .Values.rspamd "local.d") }}
2021-01-17 01:09:41 +00:00
---
apiVersion: v1
kind: ConfigMap
metadata:
name: rspamd-{{ $key | replace "_" "-" | replace "." "-" }}
data:
{{ $key | indent 2 }}: |
{{ $val | indent 4 }}
{{- end }}
{{- range $key, $val := (index .Values.rspamd "dkim-keys") }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: rspamd-dkim-{{ $key | replace "." "-" }}
data:
{{ $key | indent 2 }}: |
{{ $val | indent 4 }}
{{- end }}