Jeff Regan
86c93b9fb7
Merge pull request #2829 from msk-/master
...
Bug: name prefix or suffix in base results in incorrect references
2020-08-15 18:02:59 -07:00
Donny Xia
6f782ac8c3
fix linter issue
2020-08-12 12:25:49 -07:00
Donny Xia
e5bc644653
change the test for blanks in string
2020-08-12 12:17:56 -07:00
msk-
99d7ad6dc9
Made test pass- whoops
2020-08-12 11:53:47 +01:00
msk-
345dbc83e3
Implemented PR feedback
2020-08-12 11:49:24 +01:00
Donny Xia
1366e0344a
Add test for long line break
2020-08-11 13:43:18 -07:00
msk-
b71b36a213
Added test for name suffix in base not generating expected reference name
2020-08-11 10:02:25 +01:00
Jeff Regan
686e97f2fe
Merge pull request #2810 from Shell32-Natsu/fieldspec-empty
...
fix panic when fieldspec refers an empty value
2020-08-07 11:50:14 -07:00
Donny Xia
868a226e4e
fix typo
2020-08-07 11:11:08 -07:00
Donny Xia
a2693d0249
fix panic when fieldspec refers an empty value
2020-08-07 10:47:25 -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
Jeff Regan
dcab3cbb5f
Merge pull request #2739 from Shell32-Natsu/rolebinding
...
Role binding for serviceaccount across namesapce.
2020-07-22 11:45:05 -07:00
jregan
ef924a5c9c
Convert image transformer to kyaml.
2020-07-22 11:10:52 -07:00
Donny Xia
15bc399d5a
Support RoleBinding for ServiceAccount across namespace
2020-07-22 11:01:23 -07:00
Jeff Regan
6717bbd36b
Merge pull request #2750 from Shell32-Natsu/rolebinding-test
...
Add test for role binding across namespace.
2020-07-22 10:54:17 -07:00
Donny Xia
92e1d452b7
Add test for role binding across namespace.
2020-07-22 10:00:34 -07:00
ageekymonk
c660fd33ae
Avoiding Prefix Transformer for Namespace resource
2020-07-21 18:33:42 +10:00
Jeff Regan
27b2c7f294
Update formatting of component_test.go
2020-07-17 18:31:54 -07:00
jregan
c878957d0b
Add a test and temporarily disable some plugin tests.
2020-07-17 08:23:11 -07:00
Donny Xia
67cdd2e27e
Add test for keeping empty array
2020-07-13 11:50:01 -07:00
jregan
d3a7335bbc
Switch namespace and patch transformers to kyaml.
2020-07-04 16:21:01 -07:00
jregan
436dada184
Upgrade to gopkg.in/yaml.v2 v2.3.0
2020-06-30 17:45:43 -07:00
Donny Xia
98a92a6443
Remove comment from fnexectest.sh
2020-06-29 16:57:49 -07:00
Donny Xia
8bb612889c
Improve function invocation
2020-06-29 16:51:56 -07:00
Jeff Regan
441581b745
Merge pull request #2597 from aodinokov/fnplugins
...
PoC to use kpt functions as kustomize plugins
2020-06-29 10:38:32 -07:00
jregan
a323d78bbc
Convert all deployments to v1 to use openapi schema.
2020-06-26 10:30:02 -07:00
Alexey Odinokov
178f4e21f0
Added test for exec-based function generator
2020-06-26 04:22:33 +00:00
Alexey Odinokov
d732a6faab
Gave up to install docker in pod. Just skipping tests that require docker if there is no binary
2020-06-26 04:22:33 +00:00
Alexey Odinokov
afc14afe45
Trying to install rootless docker to run fn tests
2020-06-26 04:22:31 +00:00
Alexey Odinokov
6e91e0667d
Disabled tests because we don't have docker installed
2020-06-26 04:22:31 +00:00
Alexey Odinokov
1aca8b8b9e
Corrected literal to make lint happy
2020-06-26 04:22:31 +00:00
Alexey Odinokov
448c060084
Added tests for fn-based generators and transformers
2020-06-26 04:22:31 +00:00
jregan
c754927112
Add more SMP tests.
2020-06-25 12:09:53 -07:00
Jingfang Liu
1644fdd076
Add kustomize build flag --enable_managedby_label
2020-06-09 11:10:19 -07:00
Jingfang Liu
4b117c4736
support option for adding managed-by label
2020-06-08 13:08:10 -07:00
Kubernetes Prow Robot
cedcf3ac04
Merge pull request #2168 from pgpx/feature-kustomizationpatch
...
Implement "kind: Component" to support composition
2020-06-03 10:32:11 -07:00
Paul Martin
98cb7fc8cd
Additional tests around reusing the same bases and components
2020-05-28 23:02:32 +01:00
Paul Martin
ca8e00fc15
Replace 'patch' with 'comp' in test data.
2020-05-28 23:02:32 +01:00
Paul Martin
93b0b1b0b1
Refactored Compontent tests to be table-driven
2020-05-28 23:02:32 +01:00
Paul Martin
34a442bbef
Additional tests around reusing the same bases and components
2020-05-28 23:02:31 +01:00
Donny Xia
e05404f89c
Improve error message for merge error
2020-05-26 10:12:33 -07:00
Paul Martin
ab9d4c7e7b
Added test to ensure that individusal files cannot be added to the components list.
2020-05-19 19:26:18 +01:00
Paul Martin
c5c53011da
PoC to add Components to a separate components list (instead of resources)
...
If this idea is preferred, the code could really do with a refactor (probably using closures to control the behaviour of accumulate directory)
2020-05-18 19:25:29 +01:00
Paul Martin
fdfb58cc3e
Require version kustomize.config.k8s.io/v1alpha1 for Component
2020-05-18 19:25:29 +01:00
Paul Martin
1079d8604c
Renamed KustomizationPatch to Component
2020-05-18 19:25:29 +01:00
Paul Martin
4454edc14c
Implement "kind: KustomizationPatch" to support composition of Kustomize files
2020-05-18 19:25:29 +01:00
Dan Wendorf
214b5bcfb9
Test coverage for numeric-looking commonLabels strings
...
There is a regression in 72c7db39f2 where
commonLabels that are numeric-looking strings lose their quotation,
changing the value type from string to integer. This will cause the
resource to fail validation.
2020-05-15 12:26:10 -07:00
jregan
d0425791ca
Add more labelling tests.
2020-05-14 17:54:13 -07:00
Phani Teja Marupaka
7d600c1c5a
Do not modify CM and Secrets Generator
2020-05-06 09:38:33 -07:00