1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-05 16:54:07 +00:00
kyverno/pkg/webhooks
shuting ecd3d75704
fix: match logic misbehave (#7218)
* add rule name in ur for mutate existing

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

* fix match logic

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

* linter fixes

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

* fix the match logic to only apply to the new object, unless it's a delete request

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

* fix unit tests

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

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-05-18 21:57:57 +00:00
..
exception refactor: remove more admission request pointers (#6774) 2023-04-04 13:11:18 +08:00
handlers fix: http request metrics (#7197) 2023-05-15 19:26:17 +00:00
policy fix: generate policy validation to prevent endless loop (#7026) 2023-04-28 13:54:17 +00:00
resource fix: match logic misbehave (#7218) 2023-05-18 21:57:57 +00:00
updaterequest chore: cleanup generate codebase (#6598) 2023-03-17 08:36:06 +00:00
utils [Bug] Enforce message wrong (#7208) 2023-05-16 09:54:26 +00:00
log.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
server.go refactor: resolve roles/cluster roles/top level GVK earlier in the admission chain (#6775) 2023-04-04 10:23:20 +00:00