mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
|
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
event-assert.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md | ||
resource.yaml |
Description
This test creates a mutate policy which adds labels to the newly created config maps. An event is generated upon successful generation.
Steps
-
- 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.