mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
|
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md | ||
webhooks.yaml |
Description
This test verifies the resource validation webhook is configured correctly when a ClusterPolicy targets all *
resources.
Steps
-
- Create a ClusterPolicy targeting
*
- Assert ClusterPolicy gets ready
- Create a ClusterPolicy targeting
-
- Assert that the resource validation webhook is configured correctly and the scope is set to "*"