1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-11 10:26:54 +00:00
kyverno/test/conformance/kuttl/background-only/policy/no-admission-report
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
..
01-policy.yaml
02-resource.yaml
03-report.yaml
admission-report.yaml
policy-assert.yaml
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 report is created.