Skip to content

Commit c9ea1e5

Browse files
authored
Fix helm chart issue when set controller.strategy (#3106)
1 parent fa0f42c commit c9ea1e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deployments/helm-chart/templates/controller-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ spec:
216216
{{- if .Values.controller.initContainers }}
217217
initContainers: {{ toYaml .Values.controller.initContainers | nindent 8 }}
218218
{{- end }}
219-
{{- end }}
220219
{{- if .Values.controller.strategy }}
221220
updateStrategy:
222221
{{ toYaml .Values.controller.strategy | indent 4 }}
223222
{{- end }}
224223
{{- if .Values.controller.minReadySeconds }}
225224
minReadySeconds: {{ .Values.controller.minReadySeconds }}
226225
{{- end }}
226+
{{- end }}

deployments/helm-chart/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ spec:
219219
{{- if .Values.controller.initContainers }}
220220
initContainers: {{ toYaml .Values.controller.initContainers | nindent 8 }}
221221
{{- end }}
222-
{{- end }}
223222
{{- if .Values.controller.strategy }}
224223
strategy:
225224
{{ toYaml .Values.controller.strategy | indent 4 }}
226225
{{- end }}
227226
{{- if .Values.controller.minReadySeconds }}
228227
minReadySeconds: {{ .Values.controller.minReadySeconds }}
229228
{{- end }}
229+
{{- end }}

0 commit comments

Comments
 (0)