1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-13 15:57:31 +00:00
kyverno/test/conformance/chainsaw/webhook-configurations/webhook-registeration/README.md
Mariam Fahmy 6c9fdaf52b
feat: add chainsaw test for policy webhook based configuration (#9645)
* feat: add chainsaw test for policy webhook based configuration

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

---------

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-06 18:05:45 +00:00

356 B

Description

This test checks fine-grained webhook configuration is synced to admission webhooks.

Expected Behavior

When a policy is created, a webhook rule is automatically created with the same matchConditions as configured in the policy. The corresponding webhook rule will be deleted when the policy is deleted.

Reference Issue(s)

#9111