diff --git a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml index bb8546b..b2362fc 100644 --- a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml +++ b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml @@ -59,6 +59,10 @@ data: 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