1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/conformance/chainsaw/events/clusterpolicy/generate-events-upon-successful-generation/README.md

15 lines
472 B
Markdown
Raw Normal View History

## Description
This test creates a generate policy, and the trigger resource (namespace).
Two events are generated:
1. An event for the policy to indicate that a new resource is generated.
2. An event for the generated resource itself.
## Steps
1. - Create a generate policy
- Assert the policy becomes ready
2. Create the namespace.
3. - An event is created for the policy with message "resource generated"
- An event is created for the generated resource.