1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +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 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 feat: use more chainsaw test templates (#11281) 2024-10-01 20:46:10 +00:00
policy.yaml chore: rename validationFailureAction to failureAction under the rule (#10893) 2024-08-27 20:07:57 +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.