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
Jeffrey Regan
9a12b55139
Move accumulator code to its own package.
2019-03-26 09:53:52 -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
Yujun Zhang
e6c1b14108
Add test for transformers/image custom config
2019-03-17 16:59:41 +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
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
Yujun Zhang
45ba785641
Add configmaps test for json string
2019-03-03 10:21:03 +08:00
Jeffrey Regan
ff6cd3ca55
Report unused variables.
2019-02-26 21:04:36 -08:00
jregan
6bfd7cff72
Improve error handling during var resolution.
2019-02-26 14:05:38 -08:00
Jeffrey Regan
0488f570cb
More generator tests.
2019-02-22 06:52:41 -08: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
Jeffrey Regan
48717f3f30
Switch to black box testing of KustTarget and Resource
2019-02-11 16:40:09 -08:00
Jeff Regan
74d3e92b55
Merge pull request #783 from monopole/testKustFileMissingMessage
...
Test missing kust file message
2019-02-11 10:18:54 -08:00
Nestor
d968c0b4b1
add varref mountpath test case
2019-02-11 07:52:45 +01:00
jregan
1a03dcabde
Test missing file report
2019-02-10 15:37:11 -08:00
Alexander Brand
242b9209d8
Improve error msg returned when no kustomization file is found
...
Signed-off-by: Alexander Brand <alexbrand09@gmail.com >
2019-02-07 17:09:57 -05:00
Jingfang Liu
e905704b0c
allow apiVersion and Kind to be empty or specific values
2019-02-04 13:08:09 -08: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
Kubernetes Prow Robot
713c06354f
Merge pull request #748 from Liujingfang1/version
...
add group name as kustomize.config.k8s.io
2019-02-01 13:54:36 -08:00
Jingfang Liu
84057436d6
Combine generatorArgs and generatorOptions into options of Resource
2019-01-31 15:32:32 -08: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
Jingfang Liu
199763dec8
add group name to kustomize.config.k8s.io
2019-01-30 09:48:12 -08:00
Kubernetes Prow Robot
0bd2a1e232
Merge pull request #722 from Liujingfang1/removeDeprecates
...
remove patches and imageTags from kustomization.yaml
2019-01-25 14:41:06 -08:00
Jingfang Liu
c461f1f766
remove patches and imageTags from kustomization.yaml
2019-01-25 14:26:17 -08:00
Jingfang Liu
f7a59178a8
support different filenames for kustomization file
2019-01-24 15:08:28 -08: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
Jingfang Liu
f7c34ccb52
Remove filesystem from ConfigMapGenerator and SecretGenerator
2019-01-16 13:33:06 -08:00
Jingfang Liu
2fa4a34589
replace commands/envcommand by DataSource in SecretGenerator
2019-01-16 11:17:34 -08:00
Nestor
6dd599a983
Add image transformer
2019-01-16 16:32:53 +01:00
jregan
032fffe111
Drain more code from kusttarget.
2019-01-06 14:44:46 -08:00
jregan
50a8b27854
Introduce ResAccumulator.
2019-01-04 15:26:07 -08:00
jregan
93ad371400
Fix some comments and format nits.
2018-12-30 07:40:30 -08:00
jregan
b16a7364fd
Convert namespaced generators to in-memory.
2018-12-29 15:03:26 -08:00
jregan
b7e1f8da72
Convert configmap tests to in-memory.
2018-12-29 14:51:59 -08:00
jregan
a838b85426
Convert CRD tests to in-memory.
2018-12-29 14:26:28 -08:00
jregan
8c994725cb
Check for config merge conflicts and duplication.
2018-12-29 08:31:59 -08:00