From 32b2110dd92c41a06e9185e4c8bd9ffa331fad73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 13 Sep 2023 21:52:57 +0200 Subject: [PATCH] fix: cli test policy (#8386) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- test/cli/test/disallow-service/policy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cli/test/disallow-service/policy.yaml b/test/cli/test/disallow-service/policy.yaml index dd39058a6f..726316accc 100644 --- a/test/cli/test/disallow-service/policy.yaml +++ b/test/cli/test/disallow-service/policy.yaml @@ -1,8 +1,9 @@ +apiVersion: kyverno.io/v1 kind: ClusterPolicy metadata: name: disallow-service spec: - validationFailureAction: Validate + validationFailureAction: Enforce failurePolicy: Ignore rules: - name: disallow-service