mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
Update writing-policies-validate.md
This commit is contained in:
parent
c0437f1265
commit
4fcbfc7a60
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ A validation rule is expressed as an overlay pattern that expresses the desired
|
|||
|
||||
1. Validation will fail if a field is defined in the pattern and if the field does not exist in the configuration.
|
||||
2. Undefined fields are treated as wildcards.
|
||||
3. A validation pattern field with the wildcard value '*' will match zero or more alphanumeric characters. Empty values or missing fields are matched.
|
||||
3. A validation pattern field with the wildcard value '*' will match zero or more alphanumeric characters. Empty values are matched. Missing fields are not matched.
|
||||
4. A validation pattern field with the wildcard value '?' will match any single alphanumeric character. Empty or missing fields are not matched.
|
||||
5. A validation pattern field with the wildcard value '?*' will match any alphanumeric characters and requires the field to be present with non-empty values.
|
||||
6. A validation pattern field with the value `null` or "" (empty string) requires that the field not be defined or has no value.
|
||||
|
|
Loading…
Add table
Reference in a new issue