diff --git a/charts/smtp/templates/deployment.yaml b/charts/smtp/templates/deployment.yaml index 2732dbe..29011db 100644 --- a/charts/smtp/templates/deployment.yaml +++ b/charts/smtp/templates/deployment.yaml @@ -51,6 +51,14 @@ spec: periodSeconds: 60 resources: {{- toYaml .Values.resources | nindent 12 }} + {{- if .Values.extraVolumeMounts }} + volumeMounts: + {{- toYaml .Values.extraVolumeMounts | nindent 10 }} + {{- end }} + {{- if .Values.extraVolumes }} + volumes: + {{- toYaml .Values.extraVolumes | nindent 6 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}