mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
added deletion and cpolv details
This commit is contained in:
parent
20e518a608
commit
2faf68f1ba
1 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,9 @@ Policy Violations are created to:
|
|||
1. Report resources that do not comply with validation rules with `validationFailureAction` set to `audit`.
|
||||
2. Report existing resources (i.e. resources created before the policy was created) that do not comply with validation or mutation rules.
|
||||
|
||||
Policy Violation objects are created in the resource namespace. You can view all existing policy violations as shown below:
|
||||
Policy Violation objects are created in the resource namespace. Policy Violation resources are automatically removed when the resource is updated to comply with the policy rule, or when the policy rule is deleted.
|
||||
|
||||
You can view all existing policy violations as shown below:
|
||||
|
||||
````
|
||||
λ kubectl get polv --all-namespaces
|
||||
|
@ -21,4 +23,6 @@ docker validation-example2-dgj9j validation-example2 Deployment com
|
|||
docker validation-example2-gzfdf validation-example2 Deployment compose-api 5m27s
|
||||
````
|
||||
|
||||
# Cluster Policy Violations
|
||||
|
||||
Cluster Policy Violations are like Policy Violations but created for cluster-wide resources.
|
||||
|
|
Loading…
Add table
Reference in a new issue