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 }}