zoncoen
59df8a0dda
update docs, examples, comments
2018-11-29 22:29:52 +09: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
k8s-ci-robot
41cc210fa0
Merge pull request #546 from Liujingfang1/var
...
update docs for vars
2018-11-19 10:29:59 -08:00
zoncoen
3488b542ac
add edit command option for editing name suffix
2018-11-19 12:09:54 +09:00
zoncoen
04a030bcf0
enable nameSuffix field of kustomization.yaml
2018-11-19 12:09:47 +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
Jingfang Liu
a094be45d9
update vendor_kustomize.sh with run-in-gopath.sh ( #545 )
2018-11-16 13:27:20 -08:00
k8s-ci-robot
fdb8a7d74a
Merge pull request #550 from zoncoen/name-suffix-1
...
Enable namePrefixTransformer to append name suffix
2018-11-16 09:07:44 -08:00
zoncoen
d481dbad62
combine transformers
2018-11-15 18:49:36 +09: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
zoncoen
93094c78eb
add transformer for appending suffix
2018-11-14 12:46:58 +09:00
zoncoen
a14609f730
add suffix field to ResId
2018-11-14 12:44:33 +09:00
zoncoen
a8984578e4
refactor test code for readability
2018-11-14 12:36:28 +09:00
k8s-ci-robot
38b7f42f9e
Merge pull request #543 from giannello/patch-1
...
Add StorageClass to the list of ordered objects
2018-11-13 11:38:12 -08:00
Jingfang Liu
e574948577
update docs for vars
2018-11-13 11:32:10 -08:00
Giuseppe Iannello
ebf1efe07e
Add StorageClass to the list of ordered objects
...
StorageClasses can be configured as `default`, so that PVCs can use them without an explicit reference.
This change adds StorageClasses close to the beginning of the compiled output.
2018-11-13 14:51:48 +01:00
Jingfang Liu
83bc67c8ad
remove glog dependency from kustomize code ( #542 )
2018-11-12 11:35:00 -08:00
k8s-ci-robot
1648eceb47
Merge pull request #541 from mooncak/fix_typos
...
Fix typos: expectd->expected, cluser->cluster
2018-11-12 08:23:30 -08:00
mooncake
538aaaf217
Fix typos: expectd->expected, cluser->cluster
...
Signed-off-by: mooncake <xcoder@tenxcloud.com >
2018-11-11 00:14:25 +08:00
k8s-ci-robot
5b35443533
Merge pull request #537 from Liujingfang1/vendor
...
update vendor_kustomize.sh
2018-11-07 19:21:03 -08:00
k8s-ci-robot
e089a56e05
Merge pull request #536 from Liujingfang1/mergenil
...
Update TransformerConfig.Merge function to handle nil
2018-11-07 19:19:33 -08:00
k8s-ci-robot
5c4a778e6a
Merge pull request #535 from monopole/deleteSomeDeps
...
Simplify some code and add a de-looping TODO.
2018-11-07 14:28:11 -08:00
Jingfang Liu
e0ec8028eb
Update TransformerConfig.Merge function to handle nil
2018-11-07 14:05:40 -08:00
Jeff Regan
578ff2e45c
Merge pull request #533 from Liujingfang1/config
...
fix incorrect path in default namereference configs
2018-11-07 14:02:10 -08:00
Jeffrey Regan
d04877a9e7
Simplify some code and add TODOs.
2018-11-07 13:58:14 -08:00
Jingfang Liu
727b5ebd7f
update vendor_kustomize.sh
2018-11-07 13:45:38 -08:00
Jeff Regan
af1e1e6942
Merge pull request #534 from monopole/typoRepair
...
Add/fix some documentation and vars names.
2018-11-07 12:42:59 -08:00
Jeffrey Regan
d05bb6b199
Add/fix some documentation and vars names.
2018-11-07 12:36:25 -08:00
Jeff Regan
ba953484bf
Merge pull request #522 from Liujingfang1/name
...
make sure the objects loaded have name and kind
2018-11-07 12:18:50 -08:00
Jeff Regan
fdf78b1d7d
Merge pull request #501 from Liujingfang1/generatoroptions
...
Add example for generatorOptions
2018-11-07 10:55:30 -08:00
Jeff Regan
95fed47c1c
Update generatorOptions.md
2018-11-07 10:53:46 -08:00
Jingfang Liu
4cf916e6f4
fix incorrect path in default namereference configs
2018-11-07 10:04:49 -08:00
k8s-ci-robot
23bf326d93
Merge pull request #530 from twz123/patch-1
...
Update default var reference link
2018-11-05 11:12:04 -08:00
k8s-ci-robot
bcd4d185a7
Merge pull request #529 from pst/patch-1
...
Fix typo in namereference path for cronjobs
2018-11-05 11:10:38 -08:00
Tom Wieczorek
57a5fa593c
Update default var reference link
...
It has moved recently.
2018-11-05 18:15:04 +01:00
Philipp Strube
421ca3fb3c
Fix typo in namereference path for cronjobs
...
Fix namereference for CronJob `path: spec/jobTemplate/spec/template/spec/containers/env/valueFrom/configMapKeyRef/name`
2018-11-05 14:07:32 +01:00
k8s-ci-robot
29945c2c7a
Merge pull request #528 from laverya/fallback-to-string-sort-in-gvk-comparison-if-indices-equal
...
add fallback for GVK comparison
2018-11-02 13:07:56 -07:00
Andrew Lavery
9d82d54c5b
add fallback for GVK comparison
...
only return comparison of 'Kind' indices if they do not match
otherwise fall back to GVK string comparison
this reduces output instability
2018-11-01 12:22:21 -07:00
Jingfang Liu
4827d9984f
Add example for generatorOptions
2018-10-30 13:53:26 -07:00
Jeff Regan
d718fe3ee1
Merge pull request #525 from monopole/renameDisableHash
...
Rename disableHash to disableNameSuffixHash
2018-10-30 11:42:57 -07:00
Jeffrey Regan
a8fbe35ecf
Rename disableHash to disableNameSuffixHash
2018-10-30 11:36:00 -07:00
Jingfang Liu
5947f696ff
make sure the objects loaded have name and kind
2018-10-29 14:59:56 -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
k8s-ci-robot
dfa952f0d5
Merge pull request #520 from monopole/loadingWithHistory
...
Consult history in fileloader.
2018-10-29 11:27:11 -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
Jeff Regan
1224dc0c87
Merge pull request #517 from monopole/testCleanup
...
Improve test coverage.
2018-10-28 14:17:44 -07:00