1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 23:46:56 +00:00
kyverno/pkg/validation/policy
shuting 7170cbb0c2
feat:Webhook config per policy (#9483)
* add spec.webhookConfigurations

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* update crd

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* configure webhook

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* register webhook handler

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* skip storing finegrained policies in cache

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* update resource validate handler

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* updates

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* enable mutate resource handler for fine-grained policies

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2024-01-27 13:00:22 +00:00
..
actions.go fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
allowed_vars_test.go feat: support validatingadmissionpolicybindings in CLI apply command (#9468) 2024-01-23 11:47:38 +00:00
background.go fix: clean up URs if the trigger doesn't exist (#9355) 2024-01-09 10:30:31 +01:00
background_test.go fix: generate policy validation to prevent endless loop (#7026) 2023-04-28 13:54:17 +00:00
fuzz_test.go refactor: remove openapi package (#8538) 2023-09-27 16:21:47 +00:00
generate.go fix: target scope validation for the generate rule (#7479) 2023-06-13 10:26:56 +00:00
on_update_policy_test.go fix: generate policy validation to prevent endless loop (#7026) 2023-04-28 13:54:17 +00:00
validate.go feat:Webhook config per policy (#9483) 2024-01-27 13:00:22 +00:00
validate_test.go refactor: remove openapi package (#8538) 2023-09-27 16:21:47 +00:00