mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
8 lines
276 B
Markdown
8 lines
276 B
Markdown
|
## Description
|
||
|
|
||
|
This test tries to create policies referencing `target` in the trigger preconditions or context of a mutate existing rule.
|
||
|
|
||
|
## Expected Behavior
|
||
|
|
||
|
Policies shoudl be rejected.
|
||
|
Referencing `target` is only allowed in the target section of a mutate existing rule.
|