1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/background
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
..
common refactor: hide json context from caller (#7139) 2023-05-12 14:14:48 +00:00
generate refactor: engine response policy (#7063) 2023-05-03 13:05:01 +08:00
mutate fix: match logic misbehave (#7218) 2023-05-18 21:57:57 +00:00
log.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
mutate.go fix: delete downstream for a generate rule removal, with data and sync (#6393) 2023-03-01 03:48:18 +00:00
update_request_controller.go refactor: introduce jmespath interface (#6882) 2023-04-13 11:29:40 +00:00