diff --git a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml index b2362fc..5bdaebd 100644 --- a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml +++ b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml @@ -57,12 +57,10 @@ data: password = "{{ .Values.rspamd.password }}"; enable_password = "{{ .Values.rspamd.password }}"; dkim_signing.conf: |- - dkim_signing { - {{- range $key, $value := .Values.rspamd.dkimSigning }} - {{ if or (eq $value "true") (eq $value "false") -}} - {{ $key }} = {{ $value }}; - {{- else -}} - {{ $key }} = "{{ $value }}"; - {{- end -}} - {{- end }} - }; \ No newline at end of file + {{- range $key, $value := .Values.rspamd.dkimSigning }} + {{ if or (eq $value "true") (eq $value "false") -}} + {{ $key }} = {{ $value }}; + {{- else -}} + {{ $key }} = "{{ $value }}"; + {{- end -}} + {{- end }} \ No newline at end of file