1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/kuttl/background-only/cluster-policy/no-admission-event/README.md
Charles-Edouard Brétéché f6933f11f3
test: add kuttl tests for background only policies (#7709)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-06-29 20:53:23 +08:00

290 B

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 ezvent is created. One background event is created.