Browse Source

Fix issue with boolean values in redis config

master
Fábio Kaiser Rauber 2 years ago
parent
commit
a35f9f9943
  1. 4
      charts/rspamd/v0.1.0/templates/locald-configmap.yaml

4
charts/rspamd/v0.1.0/templates/locald-configmap.yaml

@ -59,6 +59,10 @@ data:
dkim_signing.conf: |- dkim_signing.conf: |-
dkim_signing { dkim_signing {
{{- range $key, $value := .Values.rspamd.dkimSigning }} {{- range $key, $value := .Values.rspamd.dkimSigning }}
{{ if or (eq $value "true") (eq $value "false") -}}
{{ $key }} = {{ $value }};
{{- else -}}
{{ $key }} = "{{ $value }}"; {{ $key }} = "{{ $value }}";
{{- end -}}
{{- end }} {{- end }}
}; };
Loading…
Cancel
Save