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:
parent
51fc790aa7
commit
32b2110dd9
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue