1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
kyverno/test/conformance/chainsaw/background-only/policy/no-admission-event
Charles-Edouard Brétéché 7113aa111a
feat: use more chainsaw test templates (#11281)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-01 20:46:10 +00:00
..
admission-event.yaml
background-event.yaml
chainsaw-test.yaml feat: use more chainsaw test templates (#11281) 2024-10-01 20:46:10 +00:00
policy.yaml
README.md
resource.yaml

Description

This test creates a policy with admission set to false. Then it creates a resource that violates the policy.

Expected Behavior

The resource creates fine as the policy doesn't apply at admission time. No admission event is created. One background event is created.