rohitsardesai83
b67d713bc0
Remove dependency on ghodss/yaml
2019-04-25 23:47:01 +05:30
Jeffrey Regan
8991bcb399
Collect existing internal pkgs under one roof.
2019-04-23 11:53:50 -07:00
Alastair Firth
5be42092af
Vars should expand in ingress/spec/tls/secretName
...
https://github.com/kubernetes-sigs/kustomize/issues/799
2019-04-16 23:36:05 +02:00
Michael Heyvaert
4848987a1f
fix configmap/secret name references for cronjobs with projected volumes
2019-03-29 09:00:00 +01:00
Kubernetes Prow Robot
2c0c0c9497
Merge pull request #841 from yujunz/transformers/image
...
Support custom configuration for image transformer
2019-03-19 14:08:22 -07:00
Yujun Zhang
7130e3ff1d
Leave defautconfig empty for images
...
`containers` and `initContainers` of *ANY* kind in *ANY*
path are builtin supported in code
2019-03-17 16:43:31 +08:00
Yujun Zhang
f311ba8d4f
Support custom config for image transformer
2019-03-17 16:43:31 +08:00
Yujun Zhang
3e85c4589b
Load default config for image transformer
2019-03-17 16:43:31 +08:00
Jesse Dubay
31091a8df2
Fix missing varrefs for CronJob, Job, ReplicaSet
2019-03-16 19:15:56 -07:00
Jesse Dubay
e207ae4c01
Fix incorrect default varrefs for CronJob volumeMounts
2019-03-16 19:12:58 -07:00
Jesse Dubay
3011f18047
Sort default varReference config by kind, path
2019-03-16 19:11:42 -07:00
Yordi Pauptit
62d3200e4f
fix typo in namereference where serviceaccount name would not resolve
2019-03-14 09:36:21 +01:00
Yordi Pauptit
f7cd44be42
add job initcontainer to varreference config
2019-03-11 15:13:58 +01:00
mnatsu31
559efd6477
Fix typo in namereference path for cronjobs initContainers.
2019-03-08 13:20:34 +09:00
Jingfang Liu
28cefb3bd1
improve error message for loading files listed under crds
2019-03-04 16:32:01 -08:00
Yujun Zhang
901455eb0b
Add Pod initContainer to var reference
2019-02-24 11:36:09 +08:00
Nestor
8c93f7ba74
add support for varref in maps values
2019-02-14 08:02:32 +01:00
Nestor
9837b5b429
add volumeMounts/mountPath to varreference
...
Signed-off-by: Nestor <nesterran@gmail.com >
2019-02-11 07:52:45 +01: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
jregan
35daae1715
Delete some dead code and fix nits.
2019-01-29 14:13:46 -08:00
Christopher Schmidt
feb0502cb4
added DaemonSet
2019-01-28 12:39:44 +01: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
Maximilian Gaß
8cecccbc88
Add spec/jobTemplate/metadata/labels to common labels transformer
2018-12-14 14:52:25 +01: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
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
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
Jingfang Liu
e0ec8028eb
Update TransformerConfig.Merge function to handle nil
2018-11-07 14:05:40 -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
d5aed20f0a
add commonLabel fieldpath for volumeClaimTemplates
2018-10-18 10:25:19 -07:00
Jeffrey Regan
b198b65d52
Objectify nbrSlice code.
2018-10-12 16:27:50 -07:00
Jeffrey Regan
d9f9a51e55
Fix names/doc in transformation config code.
2018-10-12 13:36:22 -07:00
Jingfang Liu
c33a97fcf2
move transformerconfig package to transformers/config
2018-10-10 15:12:32 -07:00