From 5a067ec9350f69cc1185b64b60b8cd42ee683d90 Mon Sep 17 00:00:00 2001 From: ohayak Date: Mon, 3 Mar 2025 16:05:52 +0100 Subject: [PATCH] Update post-delete-configmap.yaml (#12240) Add missing fallback values to webhookCleanup Hook Signed-off-by: ohayak --- charts/kyverno/templates/hooks/post-delete-configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kyverno/templates/hooks/post-delete-configmap.yaml b/charts/kyverno/templates/hooks/post-delete-configmap.yaml index af701e82f1..54eeb2fefe 100644 --- a/charts/kyverno/templates/hooks/post-delete-configmap.yaml +++ b/charts/kyverno/templates/hooks/post-delete-configmap.yaml @@ -101,7 +101,7 @@ spec: securityContext: {{- toYaml . | nindent 12 }} {{- end }} - {{- with .Values.webhooksCleanup.tolerations }} + {{- with .Values.webhooksCleanup.tolerations | default .Values.global.tolerations }} tolerations: {{- tpl (toYaml .) $ | nindent 8 }} {{- end }}