From 9720d7c363dfdbebef9a601951f90db76f9b0028 Mon Sep 17 00:00:00 2001 From: Sharing IO Date: Mon, 16 Nov 2020 15:49:55 +1300 Subject: [PATCH] Update pdns deploy volume mounts --- charts/powerdns/templates/powerdns-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/powerdns/templates/powerdns-deployment.yaml b/charts/powerdns/templates/powerdns-deployment.yaml index 50f0d9c..66ce01b 100644 --- a/charts/powerdns/templates/powerdns-deployment.yaml +++ b/charts/powerdns/templates/powerdns-deployment.yaml @@ -104,7 +104,11 @@ spec: - containerPort: 8081 name: api protocol: TCP + {{- if .Values.powerdns.extraVolumeMounts }} volumeMounts: {{- toYaml .Values.powerdns.extraVolumeMounts | nindent 10 }} + {{- end }} + {{- if .Values.powerdns.extraVolumes }} volumes: {{- toYaml .Values.powerdns.extraVolumes | nindent 8 }} + {{- end }}