From c2ca1e44742b2a975d665fab6b2c2d71c5108e3c Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Tue, 9 Aug 2022 10:57:23 -0300 Subject: [PATCH] dkim_signing file is already included in its section --- .../v0.1.0/templates/locald-configmap.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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