Jeffrey Regan
cbcc976828
Extract common generator args to common type.
2018-12-07 13:27:19 -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
621ed52bab
Merge pull request #556 from zoncoen/name-suffix-2
...
Add nameSuffix field to kustomization.yaml
2018-11-20 08:50:22 -08:00
zoncoen
b8c2ed20d1
fix the command usage
2018-11-20 17:09:40 +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
zoncoen
3488b542ac
add edit command option for editing name suffix
2018-11-19 12:09:54 +09: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
Jeffrey Regan
a8fbe35ecf
Rename disableHash to disableNameSuffixHash
2018-10-30 11:36:00 -07:00
k8s-ci-robot
40e0bbeec2
Merge pull request #502 from Liujingfang1/yml
...
add support .yml extension for kusotmization file
2018-10-29 12:33:16 -07:00
Jingfang Liu
ecbf3c5f51
add support .yml extension for kusotmization file
2018-10-29 12:21:00 -07: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
9ef96e9bb2
enable preserving order with generatorOptions
2018-10-22 16:01:46 -07:00
Jeffrey Regan
6b302443e6
Test field output ordering.
2018-10-19 16:20:23 -07:00
Jingfang Liu
0cb02f1448
allow add labels/annotations to generated resources
2018-10-19 15:40:06 -07:00
Jeffrey Regan
3e0f5ea327
Delete penultimate use of Patches field.
2018-10-19 11:26:05 -07:00
Jeffrey Regan
2b0e2725f9
Delete some unnecessary parameter passing.
2018-10-18 10:59:59 -07:00
Jeffrey Regan
d9f9a51e55
Fix names/doc in transformation config code.
2018-10-12 13:36:22 -07: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
Jingfang Liu
f783486057
hide core/v1 behind interface
2018-10-09 15:50:52 -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
k8s-ci-robot
73e28ca556
Merge pull request #411 from Liujingfang1/hash
...
decouple configmapandsecret and hash packages
2018-10-05 09:39:18 -07:00
Jeffrey Regan
a3dce9409b
Fix some go nits.
2018-10-05 07:33:54 -07:00
Jingfang Liu
a9cf1975ca
decouple configmapandsecret and hash packages
2018-10-04 16:17:23 -07:00
Jeffrey Regan
bb9fafa6cc
Improve command package isolation.
2018-10-03 16:29:04 -07:00
Jeffrey Regan
e32e5c21d7
Isolate k8sdeps to top level internal.
2018-10-03 10:21:43 -07:00
Jingfang Liu
fa89a0ab4d
Add validator interface
2018-10-02 15:09:19 -07:00
jregan
8f150d84ae
Introduce k8sdeps package to isolate k8s deps.
2018-10-02 11:36:53 -07:00
k8s-ci-robot
8b5c4aa591
Merge pull request #391 from Liujingfang1/string
...
change sets.NewString() to []string
2018-10-01 11:13:52 -07:00
Jingfang Liu
8a8f35863c
change sets.NewString() to []string
2018-10-01 10:53:39 -07:00
k8s-ci-robot
9a5d759230
Merge pull request #389 from Liujingfang1/pathconfig
...
add command to save the default transformer configurations to local files
2018-10-01 10:24:45 -07:00
Jingfang Liu
94c3b1212e
add command to save the default transformer configurations to local files
2018-10-01 09:48:38 -07:00
jregan
6d935b6a4a
Fix some Go nits.
2018-09-28 18:08:36 -07:00
jregan
78139957d2
Rename Application to KustTarget
2018-09-28 14:07:01 -07:00