Jeffrey Regan
e191ff53dd
Switch to vgo
2019-04-11 22:25:37 -07:00
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
Jingfang Liu
7493732176
add generator plugins
2019-04-05 13:51:56 -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
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