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