1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/conformance/chainsaw/webhooks/policy-clusterpolicy-namespaced-resources
Charles-Edouard Brétéché 12d5223d56
chore: use more chainsaw step templates (#11303)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-03 09:57:40 +00:00
..
chainsaw-test.yaml chore: use more chainsaw step templates (#11303) 2024-10-03 09:57:40 +00:00
policy.yaml chore: use more chainsaw step templates (#11303) 2024-10-03 09:57:40 +00:00
README.md
webhooks.yaml fix: range through all resources to build webhook (#10748) 2024-09-05 11:42:40 +00:00

Description

This test verifies the resource validation webhook is configured correctly when a Policy targets the Secret resource and ClusterPolicy targets the ConfigMap resource.

Steps

    • Create a Policy targeting Secret
    • Create a ClusterPolicy targeting ConfigMap
    • Assert polices get ready
    • Assert that the resource validation webhook is configured correctly