1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/webhooks/policy
shuting f87b0204e6
fix: generate policy validation to prevent endless loop (#7026)
* refactor policy validation

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

* add loop check for generate

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

* add kuttl tests

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

* linter fixes

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

* linter fixes

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

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-04-28 13:54:17 +00:00
..
handlers.go fix: generate policy validation to prevent endless loop (#7026) 2023-04-28 13:54:17 +00:00
handlers_test.go feat: remove policy mutation for auto-gen rules (#5123) 2022-10-25 23:43:46 +00:00