Browse Source

dkim_signing file is already included in its section

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

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

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