1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/chainsaw/mutate/clusterpolicy/standard/existing
Vishal Choudhary 3af0e461f0
fix: deepcopy patched resource in foreach mutate (#10252)
* fix: deepcopy patched resource to avoid indirect reversal of its elements

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: copy elements while reversing

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: copy resources inside foreach

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* add test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2024-05-20 14:45:21 +08:00
..
background-false fix mutate existing force reconciliation (#9230) 2023-12-20 16:29:37 +00:00
basic-create chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
basic-create-patchesJson6902 chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
basic-delete fix: updaterequests stuck in pending/fail infinite loop (#9119) 2023-12-15 16:42:10 +02:00
basic-update chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
delete-trigger-namespace feat: use the check block for checking CLI output in chainsaw tests (#9616) 2024-02-05 14:59:19 +00:00
descending-patchJson6902 fix: deepcopy patched resource in foreach mutate (#10252) 2024-05-20 14:45:21 +08:00
multiple-rules-match-exclude chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
multiple-trigger-resources feat: use the check block for checking CLI output in chainsaw tests (#9616) 2024-02-05 14:59:19 +00:00
mutate-existing-node-status chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
mutate-pod-on-binding-request chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
namespaceselector chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
onpolicyupdate chore: bump chainsaw (#9114) 2023-12-08 01:14:23 +02:00
preconditions chore: move a mutateExisting chainsaw test under its directory (#9165) 2023-12-15 15:14:00 +00:00
target-context chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
target-preconditions chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
validation chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00