mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-07 00:17:13 +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> |
||
---|---|---|
.. | ||
01-crd.yaml | ||
02-policy.yaml | ||
03-resource.yaml | ||
04-event.yaml | ||
crd-assert.yaml | ||
crd.yaml | ||
event.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md | ||
resource.yaml |
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