From bfdd4b2e4b55b431f43c1ba8064d664626e6cedb Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Fri, 10 Feb 2023 18:24:41 +0100 Subject: [PATCH] fix subpath --- charts/mail-relay/0.2.0/templates/deployment.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/mail-relay/0.2.0/templates/deployment.yaml b/charts/mail-relay/0.2.0/templates/deployment.yaml index b02b4e0..e4b19f1 100644 --- a/charts/mail-relay/0.2.0/templates/deployment.yaml +++ b/charts/mail-relay/0.2.0/templates/deployment.yaml @@ -46,12 +46,14 @@ spec: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - name: config-volume - mountPath: /etc/postfix/ + mountPath: /etc/postfix/transport subpath: transport - name: config-volume - mountPath: /etc/postfix/ + mountPath: /etc/postfix/sasl_passwd subpath: sasl_passwd - + - name: config-volume + mountPath: /docker-init.db/update_transport.sh + subpath: update_transport.sh {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}