mirror of
https://github.com/enix/x509-certificate-exporter.git
synced 2026-08-18 19:47:28 +00:00
fix(helm): extraVolumeMounts omitted if webConfiguration not set
This commit is contained in:
@@ -87,7 +87,7 @@ spec:
|
||||
{{- end }}
|
||||
image: {{ include "x509-certificate-exporter.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if or $extraVolumes .Values.webConfiguration .Values.webConfigurationExistingSecret }}
|
||||
{{- if or $extraVolumeMounts .Values.webConfiguration .Values.webConfigurationExistingSecret }}
|
||||
volumeMounts:
|
||||
{{- range $extraVolumeMounts }}
|
||||
- {{ tpl (. | toYaml) $ | indent 10 | trim }}
|
||||
|
||||
Reference in New Issue
Block a user