1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/test/conformance/kuttl/generate/validation/policy/target-namespace-scope
shuting 9cac3698ec
validate target resource scope & namespace settings (#7098)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-05-05 11:08:08 +00:00
..
01-fail.yaml validate target resource scope & namespace settings (#7098) 2023-05-05 11:08:08 +00:00
policy-namespaced-target.yaml validate target resource scope & namespace settings (#7098) 2023-05-05 11:08:08 +00:00
README.md validate target resource scope & namespace settings (#7098) 2023-05-05 11:08:08 +00:00

Description

This test ensures that the target namespace must be set for the namespaced policy.

Expected Behavior

The test fails if the policy creation is allowed, otherwise passes.

Reference Issue(s)

https://github.com/kyverno/kyverno/issues/7038