Skip to content

Commit

Permalink
Use defaults in values file if no dep strategy specified
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Shearn <[email protected]>
  • Loading branch information
shearn89 committed Dec 12, 2024
1 parent 16b0ebf commit 4a1b847
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ spec:
{{- include "policy-controller.selectorLabels" . | nindent 6 }}
control-plane: {{ template "policy-controller.fullname" . }}-webhook

{{- if .Values.deployment.strategy }}
strategy:
{{ toYaml .Values.deployment.strategy | trim | indent 4 }}
{{ if eq .Values.deployment.strategy.type "Recreate" }}rollingUpdate: null{{ end }}
{{- end }}

template:
metadata:
Expand Down

0 comments on commit 4a1b847

Please sign in to comment.