mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
|
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
policy.yaml | ||
README.md | ||
webhooks.yaml |
Description
This test verifies the resource validation webhook is configured correctly when a ClusterPolicy targets CustomResourceDefinition resources and a Policy targets ConfigMap
.
Steps
-
- Create a policy targeting
*
- Assert policy gets ready
- Create a policy targeting
-
- Assert that the resource validation webhook is configured correctly two rules for
ConfigMap
andCustomResourceDefinition
created
- Assert that the resource validation webhook is configured correctly two rules for