jregan
6bfd7cff72
Improve error handling during var resolution.
2019-02-26 14:05:38 -08:00
Jeffrey Regan
48717f3f30
Switch to black box testing of KustTarget and Resource
2019-02-11 16:40:09 -08:00
jregan
35daae1715
Delete some dead code and fix nits.
2019-01-29 14:13:46 -08:00
Jingfang Liu
f7a59178a8
support different filenames for kustomization file
2019-01-24 15:08:28 -08:00
Jingfang Liu
b9ab948ef2
make BuildOptions exported
2019-01-07 13:52:52 -08:00
jregan
d98afdc229
Delete deprecated file-based build test code.
2018-12-29 15:12:09 -08:00
jregan
b16a7364fd
Convert namespaced generators to in-memory.
2018-12-29 15:03:26 -08:00
jregan
b7e1f8da72
Convert configmap tests to in-memory.
2018-12-29 14:51:59 -08:00
jregan
a838b85426
Convert CRD tests to in-memory.
2018-12-29 14:26:28 -08:00
jregan
9dcbee1d48
Convert generator merge and replace tests to in-memory.
2018-12-28 09:09:26 -08:00
jregan
8b76799dd9
Convert variable tests to in-memory.
2018-12-28 08:24:29 -08:00
jregan
95203c58c4
Convert multi-patch test to in-memory.
2018-12-28 07:39:21 -08:00
Jingfang Liu
1cd99ab68e
change current version from v1 to v1beta1
2018-12-20 15:32:06 -08:00
Jeffrey Regan
47a04f2648
More fully in-memory integration tests.
2018-12-18 10:26:19 -08:00
jregan
243cbae411
Convert file system based test to in-memory.
2018-12-17 12:45:50 -08:00
Jingfang Liu
b6b2fb9c62
add apiVersiond and kind in tests to reduce test noise
2018-12-14 14:58:13 -08:00
Jeffrey Regan
d40f52e953
Reduce size of missing field markers.
2018-12-13 11:12:51 -08:00
Jeff Regan
1ce1b82f6f
Merge pull request #599 from tomaszkiewicz/generators-namespace
...
Add namespace for config map and secret generators
2018-12-07 12:48:11 -08:00
Steffen Kreutz
252cf3723c
Add support for variable subsitution in Ingress hosts
2018-12-07 10:02:08 +01:00
luktom
6ad5d9f55b
Add namespace for config map and secret generators
2018-12-05 11:36:23 +01:00
zoncoen
7dc8ef1028
update build command testdata
2018-11-26 14:00:26 +09:00
k8s-ci-robot
19ad9c2d46
Merge pull request #544 from Liujingfang1/config
...
Remove -t flag in build and add configurations field in kustomization file
2018-11-19 16:04:44 -08:00
Jingfang Liu
25415c5501
Remove -t flag in build and add configurations field in kustomization.yaml
2018-11-16 13:44:18 -08:00
zoncoen
c1e7f1b957
fix the order of YAMLs
...
If suffix is empty string, ResId.String() retuns name with "noSuffix".
2018-11-15 18:29:11 +09:00
Jeffrey Regan
d04877a9e7
Simplify some code and add TODOs.
2018-11-07 13:58:14 -08:00
jregan
793577d044
Consult history in fileloader.
...
Fixes #366
To reproduce #366 , add
```
bases:
- .
```
to `examples/helloWorld/kustomization.yaml`, attempt to build it, and enjoy the stack overflow.
This PR fixes this by adding history to file loaders,
allowing one to avoid cycles in overlay->base
relationships. To make entry points clearer, this PR
exposes only two public ways to make a fresh
(no-history) loader
* rooted at `/`
* rooted at the process's current working directory.
When making a new loader from an existing loader,
retaining history along an overlay trace, the only
allowed use is to go deeper into a file hierarchy, or
go up and over to a never before visited sibling. This
fix can probably be defeated by devious symbolic links.
2018-10-29 11:10:21 -07:00
k8s-ci-robot
6a917c5f36
Merge pull request #508 from ryane/fix-507
...
kustomize build loads transformer configs when path argument omitted
2018-10-26 11:10:14 -07:00
Benjamin Elder
76ba38cec5
make k8sdeps.NewFactory() importable
2018-10-25 17:21:58 -07:00
ryane
9f73341271
kustomize build loads transformer configs when path argument omitted
2018-10-25 09:56:46 -04:00
Jingfang Liu
40b2bf76ae
Add KustFactory as a wrapper of all factories
2018-10-11 13:51:27 -07:00
Jingfang Liu
d33d154e14
split k8sdeps package into sub packages
2018-10-11 11:30:46 -07:00
Jingfang Liu
c33a97fcf2
move transformerconfig package to transformers/config
2018-10-10 15:12:32 -07:00
Jingfang Liu
2953dad221
add MakeHashTransformer in TransformerFactory; remove hash interface
2018-10-10 14:05:13 -07:00
Jeffrey Regan
2283c06971
Consolidate transformer config creation to factory.
2018-10-10 12:33:19 -07:00
Jingfang Liu
96091dfcf5
remove decoder interface since it is only used inside k8sdeps
2018-10-10 11:08:23 -07:00
Jeff Regan
30814302af
Fix some minor naming mistakes. ( #434 )
...
* Fix some minor naming mistakes.
* Fix some minor naming mistakes.
2018-10-08 15:58:44 -07:00
Jingfang Liu
78de5374ed
hide patch transformer behind interface
2018-10-08 15:15:03 -07:00
jregan
4eb2757847
Further isolate unstructured with factories.
2018-10-08 11:52:38 -07:00
jregan
0f5a39f328
Hide unstructured.Unstructured behind interface.
2018-10-08 11:12:06 -07:00
Jingfang Liu
5036a12a65
Add hash interface
2018-10-05 13:29:06 -07:00
Jeffrey Regan
a3dce9409b
Fix some go nits.
2018-10-05 07:33:54 -07:00
Jeffrey Regan
bb9fafa6cc
Improve command package isolation.
2018-10-03 16:29:04 -07:00