Skip to content

Commit 7552397

Browse files
authored
Merge pull request #19 from bklang/deconflict_dovecot_cf
Rename dovecot.cf to dovecot-services.cf
2 parents d13448d + db4c144 commit 7552397

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

charts/docker-mailserver/templates/configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ data:
3737
{{ if .Values.spfTestsDisabled }}
3838
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_recipient_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net
3939
{{ end -}}
40-
dovecot.cf: |
40+
dovecot-services.cf: |
4141
{{- if .Values.haproxy.enabled }}
4242
haproxy_trusted_networks = {{ .Values.haproxy.trustedNetworks }}
4343
{{ end }}
@@ -114,4 +114,4 @@ data:
114114
{{ . }} && \
115115
{{- end }}
116116
echo "All healthy"
117-
{{- end -}}
117+
{{- end -}}

charts/docker-mailserver/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ spec:
8787
- name: data
8888
mountPath: /var/mail-state
8989
subPath: mail-state
90+
- name: configmap
91+
subPath: dovecot-services.cf
92+
mountPath: /etc/dovecot/conf.d/services.cf
93+
readOnly: true
9094
- name: configmap
9195
subPath: dovecot.cf
9296
mountPath: /etc/dovecot/conf.d/zz-custom.cf

0 commit comments

Comments
 (0)