1
0
Fork 0
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:
Shuting Zhao 2020-07-17 17:24:52 -07:00
parent 5839447112
commit 9bcdbd16b8

View file

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