From 4a1b847a8e58d7ce5e20e6f941893c3c79c252d9 Mon Sep 17 00:00:00 2001 From: Alex Shearn <244545+shearn89@users.noreply.github.com> Date: Sat, 2 Nov 2024 15:59:54 +0000 Subject: [PATCH] Use defaults in values file if no dep strategy specified Signed-off-by: Alex Shearn --- .../policy-controller/templates/webhook/deployment_webhook.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/charts/policy-controller/templates/webhook/deployment_webhook.yaml b/charts/policy-controller/templates/webhook/deployment_webhook.yaml index 48bc06ab..00b1dca4 100644 --- a/charts/policy-controller/templates/webhook/deployment_webhook.yaml +++ b/charts/policy-controller/templates/webhook/deployment_webhook.yaml @@ -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: