mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
15 lines
456 B
Markdown
15 lines
456 B
Markdown
|
## Description
|
||
|
|
||
|
This test checks the events are generated properly for policyexceptions.
|
||
|
|
||
|
## Steps
|
||
|
|
||
|
1. - Create a cluster policy
|
||
|
- Assert the policy becomes ready
|
||
|
1. - Create a policy exception for the cluster policy created above but for a specific namespace
|
||
|
1. - Try to create a pod, expecting two events are created, one for the clusterpolicy, another is for policyexception
|
||
|
|
||
|
## Reference Issue(s)
|
||
|
|
||
|
https://github.com/kyverno/kyverno/issues/6469
|