Jeff Regan
22b735885a
Merge pull request #4190 from natasha41575/MigrateIndexPathIdAnnotations
...
Migrate index path id annotations
2021-09-24 08:00:15 -07:00
monopole
dce4ea5846
Add AnchorsAweigh option to ByteReader to toggle YAML alias/anchor expansion
2021-09-22 12:44:08 -07:00
Natasha Sarkar
67a5f6d68f
support krm spec v1 and legacy path, index, and id annotations
2021-09-17 17:10:10 -07:00
monopole
e17a007719
Clean up factor_test before adding DeAnchor call
2021-09-15 17:26:50 -07:00
Jeff Regan
6c4e8019f8
Merge pull request #4094 from brianpursley/merge3-test
...
Add unit tests to cover existing behavior of three way merge and strategic merge patch
2021-08-19 07:41:18 -07:00
Natasha Sarkar
3350c7213c
option for origin data as annotation
2021-08-12 20:09:41 -07:00
brianpursley
aabbea3e78
Add unit tests for current behavior of strategic merge patch
2021-08-02 20:36:55 -04:00
Natasha Sarkar
9a27a9f19f
replace genargs with two separate annotations
2021-07-29 15:46:09 -07:00
Natasha Sarkar
97e7cb1512
remove annotations added by the kyaml reader
2021-07-27 17:56:58 -07:00
Natasha Sarkar
91f74e8d16
replace Resource.options with annotations ( #4061 )
2021-07-23 18:19:05 -07:00
Natasha Sarkar
a84badb834
replace Resource.refBy with annotations
2021-07-07 15:22:36 -07:00
Francesc Campoy
7fae7d1bd6
Move api/filesys to kyaml/filesys ( #3997 )
...
* Move api/filesys to kyaml/filesys
* Add deprecated version of api/filesys with aliases to new code
* Use new kyaml/filesys package and update dependencies
* Migrate to kyaml/filesys and update dependencies
* Skip tests that break on Windows
2021-06-16 11:42:00 -07:00
monopole
86dd74fd62
Gather some string slice utils.
2021-06-10 13:34:20 -07:00
Natasha Sarkar
6adefe4562
replacements should be able to use previous IDs
2021-06-03 12:14:27 -07:00
Donny Xia
23544e0431
code review
2021-06-01 16:25:41 -07:00
Donny Xia
b1fda3d62e
add an option to include local configs
2021-06-01 13:38:36 -07:00
monopole
5c4e363f11
Remove delegation to RNode in Resource.
2021-05-11 10:49:17 -07:00
monopole
01ddeb476d
Introduce resmap.ApplyFilter.
2021-05-10 20:47:57 -07:00
monopole
82abd7e9ea
Simplify kind and name change code.
2021-05-09 16:20:39 -07:00
monopole
660847225d
Simplify gvk, speed up cluster-scoped checks.
2021-05-02 13:17:33 -07:00
monopole
c8dddac5b9
Move resid package from api to kyaml
2021-04-30 20:39:32 -07:00
Natasha Sarkar
038bc7713b
add replacement transformer
2021-04-15 14:12:33 -07:00
monopole
6f6d41f17f
Remove dead merge conflict code.
2021-03-17 06:35:30 -07:00
Kubernetes Prow Robot
297bdc3825
Merge pull request #3727 from monopole/fix3394
...
Allow patch removal of emptyDir {}
2021-03-16 10:06:35 -07:00
Jeff Regan
5247aa5750
Update resource.go
2021-03-15 22:22:43 -07:00
monopole
74d5646526
Allow patch removal of emptyDir {}
2021-03-15 18:34:36 -07:00
monopole
235101a614
Drop uses of 'unstructured' terminology.
2021-03-15 15:59:06 -07:00
monopole
123a5d6e56
Remove the wrappy layer.
2021-03-15 15:59:06 -07:00
Natasha Sarkar
f96ac2d61e
allow general name and kind changes via an options field in patches
2021-03-10 14:58:58 -08:00
monopole
839fd2b971
Remove branching on kyaml enablement
2021-03-09 14:29:27 -08:00
Natasha Sarkar
722b0131f0
return error for duplicate keys rather than panicking
2021-03-03 12:13:24 -08:00
Donny Xia
6518393f5d
support binaryData merge
2021-02-11 15:34:16 -08:00
Natasha Sarkar
43157f5d35
cleaned up resource refactoring
2021-02-03 14:30:25 -08:00
Natasha Sarkar
cd918483f9
removed some prefix methods from resource
2021-02-03 12:02:12 -08:00
Natasha Sarkar
f71854a0c8
Refactored resource to store all previous names and namespaces
2021-02-03 12:01:09 -08:00
monopole
d3ea87220b
Fix Issue 3489.
2021-02-03 10:49:17 -08:00
monopole
aae2be1a79
Add tests in support of Issue 3489.
2021-02-02 18:35:46 -08:00
monopole
64644643d4
Improve name reference transformer testing.
2021-01-31 08:40:47 -08:00
Jeff Regan
304a9e57ee
Update factory_test.go
2021-01-16 20:36:46 -08:00
Jeff Regan
f23f26aa05
Update factory_test.go
2021-01-16 20:24:39 -08:00
monopole
45b1bf17d3
Annotate decisions on issue 3304 in api.
2021-01-16 08:08:52 -08:00
monopole
2cb972de3b
Rename id annotations to build annotations.
2021-01-15 06:43:13 -08:00
monopole
bb41d018b5
Add more tests and explain some strange quotes.
2021-01-13 15:49:12 -08:00
Natasha Sarkar
bd4580d73a
Manage name changes (prefix/suffix) via YAML annotations rather than via in-memory-only fields.
2021-01-11 13:08:45 -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
monopole
614e853db3
Confine calls to ApplyToJSON.
2021-01-07 20:31:10 -08:00
jregan
9ddf0fe304
Eliminate extraneous label and anno maps.
2020-12-22 08:37:40 -08:00
jregan
735befef19
Add kunstruct impl of Get/SetDataMap, replace Resource.Merge
2020-12-21 07:22:03 -08:00
jregan
bd27d5f8bb
Fix apiversion slash
2020-12-17 08:42:15 -08:00