mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-13 15:57:31 +00:00
* 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>
356 B
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