1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/pkg/engine/handlers/mutation
Mariam Fahmy 44310b2e5a
fix: Result not correct when testing a mutate rule and foreach. (#7396)
* fix: Result not correct when testing a mutate rule and foreach

Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>

* fix: result not correct when testing a mutate rule and foreach

Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>

* use comparison to detect skip vs pass

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Mariam Fahmy <mariamfahmy66@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-06-19 12:06:50 +00:00
..
common.go fix: Result not correct when testing a mutate rule and foreach. (#7396) 2023-06-19 12:06:50 +00:00
load_targets.go fix: propagate context when listing resources (#7487) 2023-06-11 13:57:21 +02:00
load_targets_test.go refactor: make use of handlers in engine validation (#6704) 2023-03-28 07:47:53 +02:00
mutate_existing.go fix: propagate context when listing resources (#7487) 2023-06-11 13:57:21 +02:00
mutate_image.go Enable flexible registry credential configurations (#7114) 2023-06-16 13:37:08 +00:00
mutate_resource.go refactor: engine rule response creation (#6784) 2023-04-05 10:35:38 +00:00