From 4f4368bdaed2d657e5c4bcff1ff45e76993bf0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Ivankovi=C4=87?= <33936733+Veki301@users.noreply.github.com> Date: Wed, 16 Jul 2025 16:06:15 +0200 Subject: [PATCH] add support for configurable volumes and mounts for mounting DKIM private key into smtp pod --- charts/smtp/templates/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 }}