1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-30 19:35:06 +00:00
kyverno/test
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
..
best_practices chore: apply policy fixes (#8427) 2023-09-17 22:24:26 +00:00
cli fix: return skip when celPreconditions/matchConditions aren't met (#9940) 2024-04-22 13:49:25 +00:00
conformance/chainsaw fix: deepcopy patched resource in foreach mutate (#10252) 2024-05-20 14:45:21 +08:00
fuzz Refactor fuzzing utils and add 3 fuzzers (#8555) 2023-10-05 16:33:26 +00:00
more chore: apply policy fixes (#8427) 2023-09-17 22:24:26 +00:00
openshift fix: allow policies from stdin in apply again (#5668) 2022-12-16 13:50:15 +00:00
output move from k8s.gcr.io to registry.k8s.io (#6263) 2023-02-09 00:09:15 +08:00
policy chore: fix policies (#8449) 2023-09-19 10:28:58 +00:00
resources Migrated scenario based tests to CLI (#8055) 2023-08-23 15:55:39 +00:00