Jose Armesto
831a9826d1
Restructure project to follow standards ( #2632 )
...
Signed-off-by: Jose Armesto <github@armesto.net>
2021-10-29 18:13:20 +02:00
Max Goncharenko
4c7ca97eac
Patch strategic merge preprocessing: implement anchor handling ( #2156 )
...
* finished walkMap
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added validation to the patchStrategicMerge
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* finished fixing tests
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fixed part of old tests
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* patchStrategicMerge anchor preprocessing is finished
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fix #1915 and #1896
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fix lint errors
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* removed debug logs
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added failing test
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* Fix unnecessary deletion
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
2021-07-23 10:53:37 -07:00
shuting
62dfab7f96
Removes check for strategicMergePatch in forceMutate ( #1898 )
...
* Pass by value in policy cache
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* Removes check for strategicMergePatch in forceMutate
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* Removes failed test
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-05-07 18:07:41 -07:00
Max Goncharenko
9da2d44ee1
Fix #1737 : forceMutate does not handle StrategicMerge patchesJson6902 ( #1775 )
...
* Fix #1737 : forceMutate does not handle StrategicMerge patchesJson6902
Signed-off-by: Max Goncharenko <kacejot@fex.net>
* go fmt
Signed-off-by: Max Goncharenko <kacejot@fex.net>
* updated PR due to the comments
Signed-off-by: Max Goncharenko <kacejot@fex.net>
2021-04-28 13:12:44 -07:00
Max Goncharenko
24c4f06ecd
Fix #1506 ; Resolve path reference in entire rule instead of just pattern/overlay
...
Signed-off-by: Max Goncharenko <kacejot@fex.net>
2021-03-16 13:45:40 +02:00