Skip to content

Commit

Permalink
Fix helm chart issue when set controller.strategy (#3106)
Browse files Browse the repository at this point in the history
  • Loading branch information
wd authored Sep 28, 2022
1 parent fa0f42c commit c9ea1e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployments/helm-chart/templates/controller-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ spec:
{{- if .Values.controller.initContainers }}
initContainers: {{ toYaml .Values.controller.initContainers | nindent 8 }}
{{- end }}
{{- end }}
{{- if .Values.controller.strategy }}
updateStrategy:
{{ toYaml .Values.controller.strategy | indent 4 }}
{{- end }}
{{- if .Values.controller.minReadySeconds }}
minReadySeconds: {{ .Values.controller.minReadySeconds }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ spec:
{{- if .Values.controller.initContainers }}
initContainers: {{ toYaml .Values.controller.initContainers | nindent 8 }}
{{- end }}
{{- end }}
{{- if .Values.controller.strategy }}
strategy:
{{ toYaml .Values.controller.strategy | indent 4 }}
{{- end }}
{{- if .Values.controller.minReadySeconds }}
minReadySeconds: {{ .Values.controller.minReadySeconds }}
{{- end }}
{{- end }}

0 comments on commit c9ea1e5

Please sign in to comment.