Jeffrey Regan
ff6cd3ca55
Report unused variables.
2019-02-26 21:04:36 -08:00
Yujun Zhang
901455eb0b
Add Pod initContainer to var reference
2019-02-24 11:36:09 +08:00
Nestor
0e459ebac8
prevent panic on image transformer
...
Signed-off-by: Nestor <nesterran@gmail.com >
2019-02-22 08:55:38 +01:00
jregan
d4d993a53c
Add more resid test coverage.
2019-02-16 14:26:43 -08:00
Nestor
8c93f7ba74
add support for varref in maps values
2019-02-14 08:02:32 +01:00
Kubernetes Prow Robot
f66024b1c1
Merge pull request #781 from saromanov/loop-refactoring
...
transformers/image: loop refactoring
2019-02-11 10:15:11 -08:00
Nestor
9837b5b429
add volumeMounts/mountPath to varreference
...
Signed-off-by: Nestor <nesterran@gmail.com >
2019-02-11 07:52:45 +01:00
Sergey
cebcd8a44d
transformers/image: loop refactoring
2019-02-08 18:42:47 +05:00
Jingfang Liu
d8585334cc
minor fix: incorrect apiVersion and add NoOpTransformer for vars ( #757 )
2019-02-04 09:44:33 -08:00
Kubernetes Prow Robot
6444981796
Merge pull request #751 from laverya/fix-invalid-type-encountered-nil
...
Accept a wider variety of kubernetes yaml values
2019-02-01 14:09:22 -08:00
Michael Goodness
bf18cf2d9e
Add Service nameReference to APIService
...
Signed-off-by: Michael Goodness <mgoodness@gmail.com >
2019-01-31 09:20:49 -06:00
Andrew Lavery
1d263d24dd
replaceVars returns nil on nil input, not error
...
includes an integration test for 'null' args inputs
2019-01-30 15:40:53 -08:00
jregan
35daae1715
Delete some dead code and fix nits.
2019-01-29 14:13:46 -08:00
Kubernetes Prow Robot
95fd0c5530
Merge pull request #717 from asauber/remove-namespace-prefix-message
...
Remove warning for using prefix/suffix in conjunction with a Namespace
2019-01-28 11:48:54 -08:00
Andrew Sauber
79d357b460
remove warning for using prefix/suffix in conjunction with a Namespace
2019-01-28 14:42:04 -05:00
Christopher Schmidt
feb0502cb4
added DaemonSet
2019-01-28 12:39:44 +01:00
Kubernetes Prow Robot
2c1be17fe7
Merge pull request #704 from narg95/feature/add-image-transformer
...
Add image transformer
2019-01-18 09:17:06 -08:00
Nestor
6d56c1750f
fix issues from code review
2019-01-17 15:50:34 +01:00
Nestor
6dd599a983
Add image transformer
2019-01-16 16:32:53 +01:00
Jingfang Liu
38f0ca9f03
Allow namespaced object to refer cluster level object
2019-01-14 15:54:09 -08:00
Jeffrey Regan
60dc3aa09d
Don't force all config to be explicit.
2019-01-11 11:34:12 -08:00
jregan
032fffe111
Drain more code from kusttarget.
2019-01-06 14:44:46 -08:00
jregan
93ad371400
Fix some comments and format nits.
2018-12-30 07:40:30 -08:00
jregan
8c994725cb
Check for config merge conflicts and duplication.
2018-12-29 08:31:59 -08:00
jregan
54d6cf7087
Simplify refvar transformer.
2018-12-16 09:27:58 -08:00
jregan
11a19906b9
Improve name transformer docs.
2018-12-16 09:21:54 -08:00
Maximilian Gaß
8cecccbc88
Add spec/jobTemplate/metadata/labels to common labels transformer
2018-12-14 14:52:25 +01:00
Jeffrey Regan
e9b19281b2
Add some resId tests to support refactor.
2018-12-13 14:19:04 -08:00
Richard Marshall
506c4a330d
Add projected secret path to transformer config
...
Projected volumes can include values sourced from secrets that might be
managed by kustomize. To support this use case this patch updates the
name reference transformer configuration to include a field spec for
projected secrets.
2018-12-10 12:41:58 -08:00
Steffen Kreutz
252cf3723c
Add support for variable subsitution in Ingress hosts
2018-12-07 10:02:08 +01:00
Jingfang Liu
931f43f8d7
resolve namereference in an array
2018-12-04 15:42:26 -08:00
Jeffrey Regan
6b93973bad
Fix #560 (kinda/sorta)
2018-11-28 16:46:10 -08:00
Jeffrey Regan
8ba2ea9ca7
Add test for mutatefield
2018-11-28 11:01:50 -08:00
jregan
4f9d00c021
Enforce relocatabile kustomizations.
2018-11-22 09:07:05 -08:00
zoncoen
d481dbad62
combine transformers
2018-11-15 18:49:36 +09:00
zoncoen
93094c78eb
add transformer for appending suffix
2018-11-14 12:46:58 +09: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
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
Jeffrey Regan
d05bb6b199
Add/fix some documentation and vars names.
2018-11-07 12:36:25 -08:00
Jingfang Liu
4cf916e6f4
fix incorrect path in default namereference configs
2018-11-07 10:04:49 -08: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
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
jregan
885c1952a4
Improve test coverage.
2018-10-28 13:52:25 -07:00
Jingfang Liu
1020167e22
Revert "Skip adding nameprefix to namespace"
2018-10-26 14:42:27 -07:00
Jingfang Liu
f8a18ce662
Revert "create namespace resource if not found"
2018-10-26 14:01:53 -07:00
Benjamin Elder
76ba38cec5
make k8sdeps.NewFactory() importable
2018-10-25 17:21:58 -07:00