mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* chore: run events test suite using chainsaw Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * chainsaw main test 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> * bump chainsaw Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
381 B
381 B
Description
This test creates a generate policy, and a resource. A PolicyError
event should be created upon the failure.
Steps
-
- Create a policy
- Assert the policy becomes ready
-
- Create a resource
-
- Asset a
PolicyError
event is created
- Asset a
Reference Issue(s)
https://github.com/kyverno/kyverno/pull/8466 https://github.com/kyverno/kyverno/pull/1413