wlezzar
e6d1de0d72
fix commonLabels spec for volumeClaimTemplates
2019-05-28 22:27:28 +02:00
Jian Qiu
68f6b0be6e
Add Webhookconfiguration in default name references
2019-05-28 14:02:32 +08:00
jregan
47c965481f
Reduce k8ds deps
2019-05-27 15:37:03 -07:00
Jian Qiu
8f413f523c
Add name reference of storageClass
2019-05-22 14:43:15 +08:00
Jeffrey Regan
79906d73d0
Add builtin namespace transformer plugin
2019-05-21 13:56:36 -07:00
Jian Qiu
5e33ac4a09
Allow nil label and annotaion
...
This fix is to allow value of lable or annoation to be nil
2019-05-21 13:55:19 +08:00
Jeffrey Regan
9a4cb6c991
Delete unused code.
2019-05-13 12:15:30 -07:00
Jingfang Liu
61d46c26b8
fix the boilerplate copyright header ( #1064 )
2019-05-10 10:20:20 -07:00
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
Kubernetes Prow Robot
ed146f656e
Merge pull request #988 from mengqiy/nscluster
...
fix namespace transformer for cluster-scoped resources
2019-04-18 11:16:04 -07:00
Mengqi Yu
bcb697eb0b
fix namespace transformer for cluster-scoped resources
2019-04-18 11:03:19 -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
Jingfang Liu
826affb8dd
generate configmap for pruning
2019-04-08 14:10:49 -07:00
jregan
b32e041bfe
Remove some duped code.
2019-04-06 16:14:12 -07:00
Jingfang Liu
4f1a2350ce
add transformer plugins
2019-04-05 10:16:10 -07:00
jregan
440d036176
some transformer plugins
2019-04-04 13:23:41 -07:00
Yujun Zhang
2490e605c3
Updates in image transformer ( #911 )
...
- Decouple `mutateImage` from `updateContainers` to be reused as `mutateFunc`
- Ignore default image transform error for CRD which may contain non-array type `containers` field
Related to #890 , #904 , fixes #890
2019-03-29 13:11:07 -07:00
Michael Heyvaert
4848987a1f
fix configmap/secret name references for cronjobs with projected volumes
2019-03-29 09:00:00 +01:00
Jeffrey Regan
267eec5509
Fix 918
2019-03-26 10:47:31 -07:00
Jingfang Liu
bfc3655bad
skip adding namespace when the object is empty
2019-03-19 15:34:29 -07: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
Kubernetes Prow Robot
f09bbff35c
Merge pull request #884 from vreon/fix-varrefs
...
Fix incorrect and missing varReferences
2019-03-17 06:12:56 -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
abf538d80d
Keep backward compatibility for image transformer
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
Yujun Zhang
d0cf047381
Convert image transformer test to a more readable format
2019-03-17 16:41:42 +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
Jeff Regan
31ee38b1a1
Merge pull request #833 from Liujingfang1/crd_errmsg
...
improve error message for loading files listed under crds
2019-03-04 17:36:43 -08:00
Jingfang Liu
28cefb3bd1
improve error message for loading files listed under crds
2019-03-04 16:32:01 -08:00
Narayanan Singaram
eb75203926
Fix for #831 - Ignore domain when finding the image tag
2019-03-01 23:23:32 -08:00
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