mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Update writing-policies-validate.md
This commit is contained in:
parent
d73576bd04
commit
a59c0f6e40
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ A validation rule is expressed as an overlay pattern that expresses the desired
|
|||
There is no operator for `equals` as providing a field value in the pattern requires equality to the value.
|
||||
|
||||
## Example
|
||||
|
||||
The next rule prevents the creation of Deployment, StatefuleSet and DaemonSet resources without label 'app' in selector:
|
||||
````yaml
|
||||
|
||||
apiVersion : kyverno.io/v1alpha1
|
||||
|
|
Loading…
Add table
Reference in a new issue