diff --git a/deploy/charts/external-secrets/templates/webhook-deployment.yaml b/deploy/charts/external-secrets/templates/webhook-deployment.yaml index 50d97ee30..cd14f06cc 100644 --- a/deploy/charts/external-secrets/templates/webhook-deployment.yaml +++ b/deploy/charts/external-secrets/templates/webhook-deployment.yaml @@ -80,16 +80,16 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} volumeMounts: - - name: certs - mountPath: {{ .Values.webhook.certDir }} - readOnly: true + - name: certs + mountPath: {{ .Values.webhook.certDir }} + readOnly: true {{- if .Values.webhook.extraVolumeMounts }} {{- toYaml .Values.webhook.extraVolumeMounts | nindent 12 }} {{- end }} volumes: - - name: certs - secret: - secretName: {{ include "external-secrets.fullname" . }}-webhook + - name: certs + secret: + secretName: {{ include "external-secrets.fullname" . }}-webhook {{- if .Values.webhook.extraVolumes }} {{- toYaml .Values.webhook.extraVolumes | nindent 8 }} {{- end }}