Skip to content

Commit 4a1b847

Browse files
committed
Use defaults in values file if no dep strategy specified
Signed-off-by: Alex Shearn <[email protected]>
1 parent 16b0ebf commit 4a1b847

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

charts/policy-controller/templates/webhook/deployment_webhook.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ spec:
1313
{{- include "policy-controller.selectorLabels" . | nindent 6 }}
1414
control-plane: {{ template "policy-controller.fullname" . }}-webhook
1515

16-
{{- if .Values.deployment.strategy }}
1716
strategy:
1817
{{ toYaml .Values.deployment.strategy | trim | indent 4 }}
1918
{{ if eq .Values.deployment.strategy.type "Recreate" }}rollingUpdate: null{{ end }}
20-
{{- end }}
2119

2220
template:
2321
metadata:

0 commit comments

Comments
 (0)