1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

update sections

This commit is contained in:
Jim Bugwadia 2019-11-13 14:25:18 -08:00
parent a20d6cdef4
commit 5d572bcfd1
2 changed files with 3 additions and 4 deletions

View file

@ -184,9 +184,11 @@ spec:
runAsNonRoot: true
````
Additional examples are available in [samples](/samples/README.md)
## Validation Failure Action
The `validationFailureAction` attribute controls processing behaviors when the resource is not compliant with the policy. If the value is set to `enforce` resource creation or updates are blocked when the resource does not comply, and when the value is set to `audit` a policy violation is reported but the resource creation or update is allowed.
---
<small>*Read Next >> [Generate](/documentation/writing-policies-mutate.md)*</small>

View file

@ -78,9 +78,6 @@ spec :
Each rule can validate, mutate, or generate configurations of matching resources. A rule definition can contain only a single **mutate**, **validate**, or **generate** child node. These actions are applied to the resource in described order: mutation, validation and then generation.
## Validation Failure Action
The `validationFailureAction` attribute controls processing behaviors when the resource is not compliant with the policy. If the value is set to `enforce` resource creation or updates are blocked when the resource does not comply, and when the value is set to `audit` a policy violation is reported but the resource creation or update is allowed.
---
<small>*Read Next >> [Validate](/documentation/writing-policies-validate.md)*</small>