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