1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/chainsaw/background-only/policy/no-admission-event
Charles-Edouard Brétéché 4a557ba2cf
chore: convert chainsaw tests to Test resource (#9094)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-12-06 16:27:10 +00:00
..
admission-event.yaml chore: run background-only tests with chainsaw (#8943) 2023-11-19 01:30:42 +00:00
background-event.yaml chore: run background-only tests with chainsaw (#8943) 2023-11-19 01:30:42 +00:00
chainsaw-test.yaml chore: convert chainsaw tests to Test resource (#9094) 2023-12-06 16:27:10 +00:00
policy-assert.yaml chore: run background-only tests with chainsaw (#8943) 2023-11-19 01:30:42 +00:00
policy.yaml chore: run background-only tests with chainsaw (#8943) 2023-11-19 01:30:42 +00:00
README.md chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
resource.yaml chore: run background-only tests with chainsaw (#8943) 2023-11-19 01:30:42 +00:00

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.