mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* chore: convert chainsaw tests to Test resource Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> |
||
---|---|---|
.. | ||
chainsaw-step-01-apply-1-1.yaml | ||
chainsaw-test.yaml | ||
policy.yaml | ||
README.md |
Description
This test ensures that a generate policy is allowed to have the same kind defined in the trigger and the target resources. The flag --backgroundServiceAccountName
was added to prevent endless loop.
Expected Behavior
The test passes if the policy creation is allowed, otherwise fails.