File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
charts/docker-mailserver/templates Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 8383 {{- end }}
8484 {{- end }}
8585
86+ # Extra volumes
87+ {{- with .Values.deployment.extraVolumes }}
88+ {{- toYaml . | nindent 8 }}
89+ {{- end }}
90+
91+ {{- if .Values.deployment.initContainers }}
92+ initContainers :
93+ {{- with .Values.deployment.initContainers }}
94+ {{- toYaml . | nindent 8 }}
95+ {{- end }}
96+ {{- end }}
97+
8698 containers :
8799 - name : docker-mailserver
88100 image : {{ .Values.image.name }}:{{ default .Chart.AppVersion .Values.image.tag }}
@@ -150,6 +162,11 @@ spec:
150162 {{- end }}
151163 {{- end }}
152164
165+ # Mount Extra Volumes
166+ {{- with $.Values.deployment.extraVolumeMounts }}
167+ {{- toYaml . | nindent 12 }}
168+ {{- end }}
169+
153170 livenessProbe :
154171 exec :
155172 command :
@@ -177,6 +194,8 @@ spec:
177194 - name : submission
178195 containerPort : 587
179196 {{- if .Values.proxyProtocol.enabled }}
197+ - name : smtp-proxy
198+ containerPort : 12525
180199 - name : subs-proxy
181200 containerPort : 10465
182201 - name : sub-proxy
@@ -247,4 +266,4 @@ spec:
247266 readOnly : true
248267 {{- end }}
249268 {{- end }}
250- {{- end }}
269+ {{- end }}
You can’t perform that action at this time.
0 commit comments