Skip to content

Commit 0d1a9b9

Browse files
committed
merge with master
1 parent 6fd4eda commit 0d1a9b9

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

charts/docker-mailserver/templates/deployment.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,18 @@ spec:
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 }}

0 commit comments

Comments
 (0)