Skip to content

Commit

Permalink
merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSp committed Sep 12, 2024
1 parent 6fd4eda commit 0d1a9b9
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion charts/docker-mailserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ spec:
{{- end }}
{{- end }}

# Extra volumes
{{- with .Values.deployment.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}

{{- if .Values.deployment.initContainers }}
initContainers:
{{- with .Values.deployment.initContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

containers:
- name: docker-mailserver
image: {{ .Values.image.name }}:{{ default .Chart.AppVersion .Values.image.tag }}
Expand Down Expand Up @@ -150,6 +162,11 @@ spec:
{{- end }}
{{- end }}

# Mount Extra Volumes
{{- with $.Values.deployment.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}

livenessProbe:
exec:
command:
Expand Down Expand Up @@ -177,6 +194,8 @@ spec:
- name: submission
containerPort: 587
{{- if .Values.proxyProtocol.enabled }}
- name: smtp-proxy
containerPort: 12525
- name: subs-proxy
containerPort: 10465
- name: sub-proxy
Expand Down Expand Up @@ -247,4 +266,4 @@ spec:
readOnly: true
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 0d1a9b9

Please sign in to comment.