mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
update doc
This commit is contained in:
parent
9bcdbd16b8
commit
490d0ce154
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ spec:
|
|||
- "kube-system"
|
||||
````
|
||||
|
||||
In addition, all conditions checks inside `resources` block follow the logic "AND across types but an OR inside types that take a list". Other conditions inside `clusterRoles`, `roles` and `subjects` are evaluated using a logical OR operation.
|
||||
Condition checks inside the `resources` block follow the logic "**AND across types but an OR inside list types**". For example, if a rule match contains a list of kinds and a list of namespaces, the rule will be evaluated if the request contains any one (OR) of the kinds AND any one (OR) of the namespaces. Conditions inside `clusterRoles`, `roles` and `subjects` are always evaluated using a logical OR operation, as each request can only have a single instance of these values.
|
||||
|
||||
This is an example that select Deployment **OR** StatefulSet that has label `app=critical`.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue