Natasha Sarkar
e100be620e
move check for working dir for exec functions
2021-08-20 10:59:29 -07:00
Natasha Sarkar
1e1b9b484a
exec function working dir is the kustomization that referenced it ( #4125 )
...
* exec function working dir is the kustomization that referenced it
* suggested changes
* more code review
* use a field instead of an annotation
* more code review
2021-08-19 20:15:24 -07:00
Kubernetes Prow Robot
f604619dd5
Merge pull request #4086 from campoy/pkgio-writer-filesys
...
Add FileSystem interface to LocalPackageWriter
2021-08-19 11:51:25 -07:00
Francesc Campoy
0fa056327a
Skip in-memory tests for Windows and generate temporary directories correctly for Windows tests.
2021-08-19 10:27:39 -07:00
Francesc Campoy
6db2bf69f3
Add FileSystem interface to LocalPackageReadWriter and hook to LocalPackageWriter
2021-08-19 10:27:38 -07:00
Francesc Campoy
20fb9578c0
Adapt tests to new FileSystem field
2021-08-19 10:27:38 -07:00
Francesc Campoy
4eb8232495
Added FileSystem field to kio.LocalPackageWriter
2021-08-19 10:27:38 -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
Jeff Regan
28707bf5df
Merge pull request #4065 from natasha41575/originDataAsAnnotation
...
option for origin data as annotation
2021-08-18 19:08:54 -07:00
Mike Borozdin
023a580f00
support for darwin and linux ( #4122 )
...
* support for darwin and linux
* updated to use go for env variables
2021-08-17 15:58:08 -07:00
Kubernetes Prow Robot
a2eaae5555
Merge pull request #4113 from KnVerey/kyaml_container_patch_kinds
...
Enable fn framework container patches to work with more kinds
2021-08-17 11:31:13 -07:00
Katrina Verey
75df1a5422
kyaml presubmit formatting
2021-08-17 11:13:54 -07:00
Katrina Verey
f0b4cc4581
ContainerPatch supports all common workload paths
2021-08-17 11:13:52 -07:00
Katrina Verey
7a41e479c9
Filter helper for fallback field lookup
2021-08-17 11:13:10 -07:00
Natasha Sarkar
3350c7213c
option for origin data as annotation
2021-08-12 20:09:41 -07:00
Adrian Berger
7b5e43d343
Feature: Add edit set annotation ( #4073 )
...
* Add edit set annotation feature
* Apply suggested code improvements
* Apply suggested changes
* Fix regex, add more tests
* Add constant for common error message
* Fix too many characters per line error
* Use string concatenation instead, add FailNow call
2021-08-10 16:00:40 -07:00
Kubernetes Prow Robot
06661ea310
Merge pull request #4112 from natasha41575/updateOpenAPI
...
update openapi to v1.21.2
2021-08-10 10:44:40 -07:00
Natasha Sarkar
38b2b33503
update openapi to v1.21.2
2021-08-10 10:30:12 -07:00
Natasha Sarkar
f735d6fb3a
Merge pull request #4110 from KnVerey/update-openapi-scripts
...
Update openapi updater scripts
2021-08-10 09:38:11 -07:00
Katrina Verey
5cb5e07ac0
Update openapi updater scripts
2021-08-09 11:44:27 -07:00
Kubernetes Prow Robot
54778504ed
Merge pull request #4087 from campoy/fsnode-alias-fix
...
Avoid aliasing in fsnode by forcing copies for file contents
2021-08-04 20:32:56 -07:00
Kubernetes Prow Robot
1bfe0d08dc
Merge pull request #4102 from monopole/anchorsNotHonored
...
Kyaml anchor failure test.
2021-08-04 19:40:55 -07:00
monopole
56da9a58fc
Kyaml anchor failure test.
2021-08-04 17:10:04 -07:00
Kubernetes Prow Robot
54383bca25
Merge pull request #4085 from campoy/pkgio-reader-filesys
...
Add a filesys.FileSystem interface to kio.LocalPackageReader
2021-08-03 15:33:04 -07:00
Kubernetes Prow Robot
88461b4fed
Merge pull request #4088 from natasha41575/noMoreGenArgs
...
replace genargs with two separate annotations
2021-08-03 14:07:03 -07:00
brianpursley
aabbea3e78
Add unit tests for current behavior of strategic merge patch
2021-08-02 20:36:55 -04:00
brianpursley
adedca09f2
Add unit tests for current behavior of three way merge
2021-08-02 20:36:28 -04:00
Natasha Sarkar
9a27a9f19f
replace genargs with two separate annotations
2021-07-29 15:46:09 -07:00
Kubernetes Prow Robot
3ebdb3fcef
Merge pull request #4091 from natasha41575/RemovePathAnno
...
remove annotations added by the kyaml reader
2021-07-28 11:28:48 -07:00
Natasha Sarkar
97e7cb1512
remove annotations added by the kyaml reader
2021-07-27 17:56:58 -07:00
Francesc Campoy
262a2d9288
Avoid testing in memory for Windows tests
2021-07-26 16:14:46 -07:00
Kubernetes Prow Robot
91b862b556
Merge pull request #4084 from kubernetes-sigs/kustomize-in-kubectl-1.22
...
Update kustomize-in-kubectl chart for 1.22
2021-07-26 13:42:34 -07:00
Katrina Verey
b8ffc725c7
Update kustomize-in-kubectl chart for 1.22
2021-07-26 13:23:45 -07:00
Jeff Regan
76f1411922
Merge pull request #4082 from monopole/autoChanges
...
Automated go.sum and fmt changes under go 1.16.6
2021-07-24 09:42:29 -07:00
monopole
d1003d6f8f
Automated changes under go 1.16.6
2021-07-24 09:18:58 -07:00
Natasha Sarkar
91f74e8d16
replace Resource.options with annotations ( #4061 )
2021-07-23 18:19:05 -07:00
Kubernetes Prow Robot
94c5096a95
Merge pull request #4048 from natasha41575/DeprecateCfgCmds
...
Deprecate some cfg commands
2021-07-21 18:15:51 -07:00
Kubernetes Prow Robot
f35aeb6a8e
Merge pull request #4077 from abutcher/cdpath
...
Unset CDPATH in hack/install_kustomize.sh
2021-07-21 10:14:07 -07:00
Kubernetes Prow Robot
d6ce846047
Merge pull request #4076 from KnVerey/kyaml_fixture_fix
...
Make UpdateExpectedFromActual work with hierarchical testdata directories
2021-07-21 08:52:08 -07:00
Andrew Butcher
ec069e4f19
Unset CDPATH to restore default cd behavior.
2021-07-21 11:38:44 -04:00
Katrina Verey
c5adafd9ce
Make UpdateExpectedFromActual work with hierarchical testdata directories
2021-07-20 18:13:04 -07:00
Natasha Sarkar
16dcc98cff
deprecate some cfg commands
2021-07-19 14:31:20 -07:00
Kubernetes Prow Robot
59c410a70a
Merge pull request #4063 from dosmanak/mdrip_MYGOBIN
...
fix: Allow custom MYGOBIN in mdrip invocations
2021-07-19 10:30:52 -07:00
Francesc Campoy
9b586162d0
Add FileSystem interface to LocalPackageReadWriter and hook to LocalPackageReader
2021-07-16 14:48:22 -07:00
Francesc Campoy
803885049b
Avoid aliasing in fsnode by forcing copies for file contents and add a test
2021-07-16 13:56:08 -07:00
Francesc Campoy
be4fe7540e
Simplified tests with helper func
2021-07-16 11:06:32 -07:00
Francesc Campoy
927568eea2
Replace os.Stat call with FileSystem.Exists
2021-07-16 09:27:20 -07:00
Francesc Campoy
436d5e717c
All LocalPackageReader tests adapted, one fails
2021-07-16 09:12:42 -07:00
Francesc Campoy
d37fa66ebc
Adapt more LocalPackageReader tests
2021-07-15 18:21:42 -07:00
Francesc Campoy
e8a4bf6edc
Add FileSystem field to LocalPackageReader and one of its tests
2021-07-15 18:06:30 -07:00