Jingfang Liu
e5d730e1fe
address comments
2019-04-09 15:42:08 -07:00
Jingfang Liu
ba43ecbcb7
add goplugin for exec generators and transformers
2019-04-09 13:13:21 -07:00
Kubernetes Prow Robot
ee68a9c450
Merge pull request #957 from monopole/justTheFactsMaam
...
Define a plugin compiler.
2019-04-08 18:33:04 -07:00
jregan
175c754f61
Define a plugin compiler.
2019-04-08 18:05:31 -07:00
Jingfang Liu
e9a3f9f5f6
address comments
2019-04-08 15:17:18 -07:00
Jingfang Liu
826affb8dd
generate configmap for pruning
2019-04-08 14:10:49 -07:00
jregan
ffc16d51e0
Add secret generator.
2019-04-06 18:38:22 -07:00
jregan
b32e041bfe
Remove some duped code.
2019-04-06 16:14:12 -07:00
Kubernetes Prow Robot
38029d1836
Merge pull request #951 from Liujingfang1/generatorplugins
...
add support for generator go-plugins
2019-04-06 13:40:26 -07:00
jregan
16fe7ced6a
Cleanup plugin builds.
2019-04-06 13:16:46 -07:00
Kubernetes Prow Robot
cb4af7a9d4
Merge pull request #950 from 2opremio/564-add-force-flag-to-annotations-and-labels
...
Add --force flag to modify annotations and labels
2019-04-05 14:05:52 -07:00
Jingfang Liu
7493732176
add generator plugins
2019-04-05 13:51:56 -07:00
Alfonso Acosta
2cf8371add
Add --force flag to modify annotations and labels
...
This change adds a new flag (`--force`) to commands `edit add annotation` and
`edit add label` so that annotations and labels are modified if they already
existed.
2019-04-05 22:49:28 +02: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
Jingfang Liu
deaf0779a1
add generators/transformers fields in kusotmization.yaml
2019-04-03 14:05:25 -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
Jingfang Liu
21a0cba43e
fix the regression of building remote url ( #935 )
2019-03-29 13:10:11 -07:00
Kubernetes Prow Robot
42d9287985
Merge pull request #931 from michaelheyvaert/fix-cronjob-projected-volume-namerefs
...
fix configmap/secret name references for cronjobs with projected volumes
2019-03-29 09:28:23 -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
99391157ec
Add goplugin KV generator example.
2019-03-28 09:55:44 -07:00
Jeffrey Regan
267eec5509
Fix 918
2019-03-26 10:47:31 -07:00
Jeffrey Regan
9a12b55139
Move accumulator code to its own package.
2019-03-26 09:53:52 -07:00
Kubernetes Prow Robot
f8cffef977
Merge pull request #889 from sethpollack/edit_add_plugins
...
update edit add secrets/configmaps to use plugins
2019-03-21 13:51:37 -07:00
Seth Pollack
822420e4ab
fix mergeFlags
2019-03-21 14:58:06 -04:00
Seth Pollack
b60fca05bd
update edit add secrets/configmaps to use plugins
2019-03-20 09:24:10 -04: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
Seth Pollack
9fc4d388ce
add builtin envfiles plugin
2019-03-18 13:58:38 -04:00
Jeffrey Regan
3a7c8a03f4
Make builtin the default pluginType
2019-03-18 10:21:24 -07:00
Seth Pollack
dd59eb38d0
add test case
2019-03-17 20:44:07 -04:00
Seth Pollack
a8465c95e1
add builtin files plugin
2019-03-17 17:22:52 -04:00
Seth Pollack
7764dee59d
Merge branch 'master' into builtins
2019-03-17 17:01:06 -04:00
jregan
103c1b3a4f
Put goplugins behind flag.
2019-03-17 13:39:48 -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
e6c1b14108
Add test for transformers/image custom config
2019-03-17 16:59:41 +08: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
Seth Pollack
388d5c2d7c
add builtin plugins
2019-03-16 21:21:15 -04:00
Seth Pollack
18f6328284
add secret and configmap generator plugins
2019-03-15 14:28:18 -04:00
jregan
c06b95077d
Secret/configmap factory cleanup.
2019-03-15 09:25:59 -07:00
Yordi Pauptit
62d3200e4f
fix typo in namereference where serviceaccount name would not resolve
2019-03-14 09:36:21 +01:00
Kubernetes Prow Robot
9a419824ae
Merge pull request #874 from CodeLingoBot/rewrite
...
Fix function comments based on best practices from Effective Go
2019-03-12 14:50:39 -07:00
Karen Bradshaw
fa552d7773
fix help msg for set image cmd
2019-03-11 17:23:30 -04:00