mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
update example indent
This commit is contained in:
parent
5839447112
commit
9bcdbd16b8
1 changed files with 5 additions and 5 deletions
|
@ -17,11 +17,11 @@ When Kyverno receives an admission controller request, i.e. a validation or muta
|
|||
The following YAML provides an example for a match clause.
|
||||
|
||||
````yaml
|
||||
apiVersion : kyverno.io/v1
|
||||
kind : ClusterPolicy
|
||||
metadata :
|
||||
name : policy
|
||||
spec :
|
||||
apiVersion: kyverno.io/v1
|
||||
kind: ClusterPolicy
|
||||
metadata:
|
||||
name: policy
|
||||
spec:
|
||||
# 'enforce' to block resource request if any rules fail
|
||||
# 'audit' to allow resource request on failure of rules, but create policy violations to report them
|
||||
validationFailureAction: enforce
|
||||
|
|
Loading…
Add table
Reference in a new issue