From c925d8e56cb1c032a34d80a0298789c7b0c6a2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Schneider?= <56670304+soerenschneider@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:48:18 +0000 Subject: [PATCH] don't enforce kyverno rules for now --- clusters/svc.pt.soeren.cloud/kyverno/kustomization.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clusters/svc.pt.soeren.cloud/kyverno/kustomization.yaml b/clusters/svc.pt.soeren.cloud/kyverno/kustomization.yaml index 0781c2b..b7c87e5 100644 --- a/clusters/svc.pt.soeren.cloud/kyverno/kustomization.yaml +++ b/clusters/svc.pt.soeren.cloud/kyverno/kustomization.yaml @@ -15,3 +15,9 @@ patches: - op: replace path: /spec/rules/0/validate/foreach/0/deny/conditions/any/0/value value: "*.pt.soeren.cloud" + - target: + kind: ClusterPolicy + patch: | + - op: replace + path: /spec/validationFailureAction + value: "audit"