mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
436 B
436 B
Description
This test creates a mutate policy which adds labels to the newly created config maps. An event is generated upon successful generation.
Steps
- Patch
kyverno
configmap inkyverno
namespace withgenerateSuccessEvents
set totrue
- Create a mutate policy Assert the policy becomes ready
- Create a configmap.
- An event is created with a message indicating that the config map is successfully mutated.