Timur Demin
dd08aec23e
fix: Don't panic on multiple $patch: delete strategic merge patches in a single patch file ( #5859 )
...
* chore: add test for multiple $patch: delete patches not panicking
* fix: don't panic on multiple deletion SM patches
2025-03-28 06:04:40 -07:00
yugo kobayashi
59696d1ace
fix a patch files accept multiple patches ( #5194 )
...
* fix a patch files accept multiple patches
* fix comments and variable name
* add error handling when using not allowed multiple strategic-merge patches
* fix error message of Multiple Strategic-Merge Patch file
* refactor transformStrategicMerge()
* add TODO comment and test for Multiple JSON patch Yaml documents are not allowed
* refactoring PatchTransformer
* add multiple patch test for PatchTransformer package
* improve error message to PatchTransformer
* refactor const and error message check
* fix some error messages
2023-09-15 16:20:13 -07:00
Julian van den Berkmortel
b6cb6c8ae9
fix build annotations getting lost after applying JSON 6902 patch
2021-11-10 23:02:42 +01:00
Julian van den Berkmortel
b16e4ec566
add test to demonstrate internal annotations getting lost ( #4111 )
2021-11-10 21:33:50 +01:00
monopole
437e8f90f6
Demonstrate issue 3929
2021-05-26 16:29:55 -07:00
Jeff Regan
710db98dbf
Merge pull request #3685 from natasha41575/PatchServicePort
...
fixed disappearing port issue
2021-03-17 11:00:39 -07:00
monopole
6f6d41f17f
Remove dead merge conflict code.
2021-03-17 06:35:30 -07:00
monopole
74d5646526
Allow patch removal of emptyDir {}
2021-03-15 18:34:36 -07:00
monopole
839fd2b971
Remove branching on kyaml enablement
2021-03-09 14:29:27 -08:00
Natasha Sarkar
397744f436
fixed disappearing ports issue
2021-03-08 17:03:22 -08:00
Natasha Sarkar
8b082aff5a
Change paths for krusty tests to relative, and have top level be '.' instead of 'app'
2021-02-24 16:23:45 -08:00
Natasha Sarkar
6361c3b1b7
fixed panic on patch delete for objects
2021-02-18 10:47:13 -08:00
monopole
e33addc16b
Drop hashicorp multierror due to MPL
2021-02-11 12:24:22 -08:00
Natasha Sarkar
71f4cecb4c
fixed ports merging issue and refactored some kyaml.walk code
2021-02-08 17:49:10 -08:00
Jeff Regan
cbbcfde99d
Update multiplepatch_test.go
2021-01-16 20:43:57 -08:00
monopole
45b1bf17d3
Annotate decisions on issue 3304 in api.
2021-01-16 08:08:52 -08:00
jregan
eb26d79fa0
Isolate patch conflation problem to one test.
...
See #3394
2020-12-26 08:41:48 -08:00
jregan
8b97274af3
More merge tests, clearer method names.
2020-12-22 17:26:12 -08:00
Donny Xia
74d0d7960e
add option to choose prepend/append in merge
2020-10-02 09:56:59 -07:00
Donny Xia
d59d0401f4
Keep empty map in kustomize output
2020-08-06 13:21:38 -07:00
Donny Xia
083dccfe91
Update hash result in tests
2020-08-05 11:59:13 -07:00
jregan
d3a7335bbc
Switch namespace and patch transformers to kyaml.
2020-07-04 16:21:01 -07:00
jregan
a323d78bbc
Convert all deployments to v1 to use openapi schema.
2020-06-26 10:30:02 -07:00
jregan
c754927112
Add more SMP tests.
2020-06-25 12:09:53 -07:00
Jeffrey Regan
382c330f5b
Consolidate test harness to one package.
2019-12-02 12:29:10 -08:00
Dingshujie
2d39d64d3a
mv mutiplepath_test, nullvalues_test to api/krusty/, Provide another high level example.
2019-11-30 17:35:08 +08:00