update mail - migrate from opendkim and opendmarc to rspamd

This commit is contained in:
ace
2021-01-17 04:14:26 +03:00
parent 5c5aa01d41
commit da8de30b27
5 changed files with 91 additions and 18 deletions

View File

@ -1 +1,22 @@
{{- range $key, $val := (index .Values.rspamd "local.d") }}
---
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 }}