Natasha Sarkar
91f74e8d16
replace Resource.options with annotations ( #4061 )
2021-07-23 18:19:05 -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
Kubernetes Prow Robot
065432e074
Merge pull request #3984 from natasha41575/replacementWithDot
...
Replacement with dot
2021-06-10 18:12:13 -07:00
monopole
86dd74fd62
Gather some string slice utils.
2021-06-10 13:34:20 -07:00
Natasha Sarkar
218da9858f
support mapping values with '.' in replacements fieldpaths
2021-06-10 11:33:05 -07:00
Natasha Sarkar
cebda58437
test for '.' in replacement mapping value
2021-06-10 11:15:05 -07:00
Natasha Sarkar
6adefe4562
replacements should be able to use previous IDs
2021-06-03 12:14:27 -07:00
Natasha Sarkar
84724a3ebf
smarter path splitter for replacements
2021-06-01 17:15:54 -07:00
Natasha Sarkar
b8ae69b748
copy target rnode in replacements
2021-06-01 13:24:51 -07:00
Natasha Sarkar
4014440d06
test to demonstrate '.' in list element path issue
2021-06-01 13:24:51 -07:00
Natasha Sarkar
74b0b3adc6
test to demonstrate multiple fieldpaths issue in replacements
2021-06-01 13:24:51 -07:00
Kubernetes Prow Robot
af96bb4bda
Merge pull request #3914 from natasha41575/GkeServiceAccountGenerator
...
Gke service account generator
2021-05-27 15:36:23 -07:00
Natasha Sarkar
5a2a7709a4
add IAMPolicyGenerator
2021-05-26 16:54:38 -07:00
monopole
172adc404f
Consolidate scripts into k8s-traditional hack dir.
2021-05-24 17:09:11 -07:00
monopole
5c4e363f11
Remove delegation to RNode in Resource.
2021-05-11 10:49:17 -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
monopole
c828b1e49a
Use resid.ResId in replacements.
2021-04-23 09:30:05 -07:00
Natasha Sarkar
038bc7713b
add replacement transformer
2021-04-15 14:12:33 -07:00
Natasha Sarkar
a40c74e545
use field options to refine replacements
2021-04-09 11:15:49 -07:00
Natasha Sarkar
0fe3f303e8
add use of rejects field in replacement filter
2021-04-07 16:00:18 -07:00
Natasha Sarkar
94c45e0f9f
add more tests for replacement filter
2021-04-02 11:30:10 -07:00
Natasha Sarkar
fa0b237178
add replacement filter to support replacmenttransformer
2021-03-31 17:04:43 -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
235101a614
Drop uses of 'unstructured' terminology.
2021-03-15 15:59:06 -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
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
Jeff Regan
2fe85be932
Merge pull request #3557 from natasha41575/PatchMergeIssue
...
fixed ports merging issue and refactored some kyaml/walk code
2021-02-09 08:48:19 -08:00
Natasha Sarkar
71f4cecb4c
fixed ports merging issue and refactored some kyaml.walk code
2021-02-08 17:49:10 -08:00
Donny Xia
58216d1d33
fix forward slash in value add path
2021-02-08 13:11:24 -08:00
Natasha Sarkar
384b71b5f5
Allow references to intermediate names
2021-02-04 20:38:08 -08:00
Natasha Sarkar
43157f5d35
cleaned up resource refactoring
2021-02-03 14:30:25 -08:00
Natasha Sarkar
f71854a0c8
Refactored resource to store all previous names and namespaces
2021-02-03 12:01:09 -08:00
monopole
4de26ccf9d
Refactor nameref for readability.
2021-02-02 19:02:41 -08:00
monopole
aae2be1a79
Add tests in support of Issue 3489.
2021-02-02 18:35:46 -08:00
monopole
dcb26d0901
More fieldspec tests.
2021-01-31 19:08:48 -08:00
monopole
64644643d4
Improve name reference transformer testing.
2021-01-31 08:40:47 -08:00
monopole
b3a9314e27
Expose smart path splitter as a utility.
2021-01-31 06:45:04 -08:00
Kubernetes Prow Robot
86168cebbc
Merge pull request #3514 from natasha41575/TestForPortsIssue
...
Add test for ports issue #3513
2021-01-29 12:51:49 -08:00
Natasha Sarkar
57a53797d3
Add test for ports issue #3513
2021-01-29 11:10:00 -08:00
monopole
4287e28ff4
Add test for issue 3489 and improve error messages.
2021-01-29 06:55:23 -08:00
Donny Xia
ef89df6123
support anchor in filedspec
2021-01-22 11:01:07 -08:00
monopole
065c2b861a
Fix unfiled bug; don't quote port numbers.
2021-01-16 16:56:48 -08:00
monopole
2a16af80bf
Simplify, document and add more tests to var replacement.
2021-01-16 16:48:26 -08:00
monopole
561cef1d5c
Merge expansion package into refvar package.
2021-01-16 13:50:56 -08:00
monopole
cb42142161
Fix api tests that accomodated bad label and anno quoting.
2021-01-15 17:37:46 -08:00