1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 02:45:06 +00:00

fix: cli test policy (#8386)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-09-13 21:52:57 +02:00 committed by GitHub
parent 51fc790aa7
commit 32b2110dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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