mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
|
||
---|---|---|
.. | ||
01-fail.yaml | ||
policy-cluster-target.yaml | ||
policy-namespaced-target.yaml | ||
README.md |
Description
This test ensures that the target namespace must be set for namespace-scoped target resource, and must not be set for cluster-wide target resources.
Expected Behavior
The test fails if the policy creation is allowed, otherwise passes.