1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +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 kind: ClusterPolicy
metadata: metadata:
name: disallow-service name: disallow-service
spec: spec:
validationFailureAction: Validate validationFailureAction: Enforce
failurePolicy: Ignore failurePolicy: Ignore
rules: rules:
- name: disallow-service - name: disallow-service