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 <244545+shearn89@users.noreply.github.com>
  • Loading branch information
shearn89 authored Nov 2, 2024
1 parent d81c861 commit 9e62a08
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 9e62a08

Please sign in to comment.