mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
329 B
329 B
Description
This test creates a policy, and a resource.
A PolicyApplied
event should be created.
Steps
- Patch
kyverno
configmap inkyverno
namespace withgenerateSuccessEvents
set totrue
- Create a policy Assert the policy becomes ready
- Create a resource
- Assert a
PolicyApplied
event is created