Skip to content

Commit badc6c3

Browse files
committed
Fixes for review comments
1 parent 51e3b34 commit badc6c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/external-dns/templates/deployment.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ spec:
136136
securityContext:
137137
{{- toYaml . | nindent 12 }}
138138
{{- end }}
139-
image: {{ .Values.webhook.image . }}
139+
image: {{ .Values.webhook.image }}
140140
imagePullPolicy: {{ .Values.image.pullPolicy }}
141141
{{- with .Values.webhook.env }}
142142
env:
@@ -154,7 +154,7 @@ spec:
154154
{{- toYaml .Values.webhook.livenessProbe | nindent 12 }}
155155
readinessProbe:
156156
{{- toYaml .Values.webhook.readinessProbe | nindent 12 }}
157-
{{- if or .Values.webhook.secretConfiguration.enabled .Values.webhook.extraVolumeMounts }}
157+
{{- if or .Values.webhook.secretConfiguration.mountPath .Values.webhook.extraVolumeMounts }}
158158
volumeMounts:
159159
{{- if .Values.webhook.secretConfiguration.mountPath }}
160160
- name: secrets
@@ -172,9 +172,9 @@ spec:
172172
{{- toYaml . | nindent 12 }}
173173
{{- end }}
174174
{{- end }}
175-
{{- if or .Values.secretConfiguration.enabled .Values.webhook.secretConfiguration.enabled .Values.extraVolumes }}
175+
{{- if or .Values.secretConfiguration.mountPath .Values.webhook.secretConfiguration.mountPath .Values.extraVolumes }}
176176
volumes:
177-
{{- if .Values.secretConfiguration.enabled }}
177+
{{- if or .Values.secretConfiguration.mountPath .Values.webhook.secretConfiguration.mountPath }}
178178
- name: secrets
179179
secret:
180180
secretName: {{ include "external-dns.fullname" . }}

0 commit comments

Comments
 (0)