2021-01-17 01:14:26 +00:00
|
|
|
{{- range $key, $val := (index .Values.rspamd "local.d") }}
|
2021-01-17 01:09:41 +00:00
|
|
|
---
|
2021-01-17 01:14:26 +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 }}
|
|
|
|
|