mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
* chore: bump chainsaw * more template use * v0.2.10 * go mod --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> |
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
policy-1-assert.yaml | ||
policy-1.yaml | ||
policy-2-assert.yaml | ||
policy-2.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