From 9bcdbd16b80fa3e41714fa3ea472a869e506d426 Mon Sep 17 00:00:00 2001 From: Shuting Zhao Date: Fri, 17 Jul 2020 17:24:52 -0700 Subject: [PATCH] update example indent --- documentation/writing-policies-match-exclude.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/writing-policies-match-exclude.md b/documentation/writing-policies-match-exclude.md index 57a483466a..2ca6950a5a 100644 --- a/documentation/writing-policies-match-exclude.md +++ b/documentation/writing-policies-match-exclude.md @@ -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