1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-17 17:56:33 +00:00

update variable name

This commit is contained in:
shivkumar dudhani 2020-01-09 09:56:59 -08:00
parent 05ea62cbb2
commit 1d71d62d70

View file

@ -76,7 +76,7 @@ spec :
- key: name # compares (key operator value)
operator: Equal
value: name # constant "name" == "name"
- key: "{{serviceAccount}}" # refer to a pre-defined variable serviceAccount
- key: "{{serviceAccountName}}" # refer to a pre-defined variable serviceAccountName
operator: NotEqual
value: "user1" # if service
# Each rule can contain a single validate, mutate, or generate directive