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-different-resource-group
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 feat: configure webhook scope based on resource and policy type (#8065) 2024-01-26 15:07:42 +00:00
webhooks.yaml fix: sort webhookconfig.operations (#10274) 2024-05-21 13:22:08 +00:00

Description

This test verifies the resource validation webhook is configured correctly when a Policy targets all * resources.

Steps

    • Create a policy targeting Deployment Create a policy targeting Configmap
    • Assert policies gets ready
    • Assert that the resource validation webhook is configured correctly and two rules are created with scope is set to "namespaced"