Ed Overton
096b2c4435
test: add psm test for different key types
2023-06-15 16:12:29 -04:00
Ed Overton
c76fd5eb85
test: update psm key style test
2023-06-13 14:50:22 -04:00
Ed Overton
691b7d1df3
fix: patch additions honor source key style
...
When a patch appends a new node, it should honor the key style from the
patch. Prior to this commit, no style was applied, leading to problems
when the key value could be interpreted as a different type based on its
content. For example, "9110" needs quoting to ensure it is seen as a
string in yaml.
2023-06-08 17:21:46 -04:00
Brian Pursley
1b7db20504
merge2: preserve explicitly set null values
...
Fixed bug where an explicitly set null value in yaml was
cleared, even when the patch did not operate on that field.
2022-11-26 16:33:14 -05:00
Katrina Verey
0fa010c7e7
Add missing boilerplate
2022-04-04 14:24:04 -04:00
Jeff Regan
710db98dbf
Merge pull request #3685 from natasha41575/PatchServicePort
...
fixed disappearing port issue
2021-03-17 11:00:39 -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
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
Natasha Sarkar
57a53797d3
Add test for ports issue #3513
2021-01-29 11:10:00 -08:00
monopole
14a1a0e4a8
Fix 3424 by avoiding a JSON round trip
2021-01-10 20:39:01 -08:00
monopole
c2fbb709da
Don't swallow error in SM patch and use new RNode Map method.
2021-01-09 07:00:21 -08:00
jregan
bd27d5f8bb
Fix apiversion slash
2020-12-17 08:42:15 -08:00
jregan
d08b9c30ee
What is this?
2020-12-07 10:16:30 -08:00
Natasha Sarkar
6788af083b
updated tests for multiple merge keys
2020-11-09 11:35:37 -08:00
Natasha Sarkar
9943e74187
updated comments
2020-11-04 19:07:58 -08:00
Natasha Sarkar
3b504fa3e5
added StringList set
2020-11-04 19:07:58 -08:00
Donny Xia
03ea8f3615
update tests
2020-10-02 10:10:05 -07:00
Donny Xia
74d0d7960e
add option to choose prepend/append in merge
2020-10-02 09:56:59 -07:00
Donny Xia
ff927fd11a
support merge strategy in list
2020-09-30 10:52:47 -07:00
jregan
d3a7335bbc
Switch namespace and patch transformers to kyaml.
2020-07-04 16:21:01 -07:00
jregan
4afab168c5
Switch to kyaml v0.3.1
2020-06-26 15:28:12 -07:00
jregan
9137d2a39a
Deployment volume merge tests.
2020-06-26 14:19:15 -07:00
Morten Torkildsen
98c08b2b66
Add strategic merge patch filter based on kyaml libraries
2020-04-03 13:56:20 -07:00