Jeff Regan
7dd02c1766
Merge pull request #1111 from keleustes/master
...
Improvment var and varRefs handling
2019-06-18 14:17:27 -07:00
Ian Howell
ed03818e20
This commit enhances the UnstructAdapter
...
* Added support for arbitrary data types rather than just strings
* Added support for integer index-able arrays
* Improve code coverage for kunstruct
- kunstruct around 90%
- helper at 100%
* Update expansion.Expand method to preserve the original type of the variable
* Ensure the int field such .spec.replicas can be used
as a source in a first Deployment or as destination of a variable (in the
second Deployment variable).
2019-06-18 13:43:01 -05:00
Jeffrey Regan
cc531af665
Deprecate 'bases:' field.
2019-06-18 10:36:58 -07:00
Damien Robichaud
8d4b6452d4
Make the replica transformer kind aware.
...
The previous implementation had a bug and poorly handled
types that should not have a `spec: replica:` field.
Documentation is updated to reflect the change in behavior,
and better highlights the cases where a patch should be
used instead of this shorthand.
2019-06-17 11:33:31 -07:00
Jeffrey Regan
798b61c8ef
Add copy method to VarSet
2019-06-07 13:22:07 -07:00
Jeffrey Regan
d9b0c4c84c
Add copy method to VarSet
2019-06-07 13:01:34 -07:00
Jeffrey Regan
81c98c855f
Convert inventory transformer to plugin, reduce k8sdeps.
2019-06-02 10:49:01 -07:00
Damien Robichaud
d4842ebd90
Cleanup the replica plugin implementation.
2019-05-31 13:28:51 -07:00
Damien Robichaud
5000a2e503
Implement replica transformer as patch alternative
2019-05-31 13:10:34 -07:00
jregan
47c965481f
Reduce k8ds deps
2019-05-27 15:37:03 -07:00
Jeffrey Regan
6a10654618
Delete the KV plugin code.
2019-05-24 16:49:16 -07:00
Jeffrey Regan
b28aaae66b
Break a bad dep.
2019-05-22 07:39:36 -07:00
jregan
a352ff3923
True and false are mysterious.
2019-05-21 10:58:43 -07:00
Jingfang Liu
61d46c26b8
fix the boilerplate copyright header ( #1064 )
2019-05-10 10:20:20 -07:00
Jeffrey Regan
529db0493b
Introduce envs field.
2019-05-06 14:35:48 -07:00
Jingfang Liu
b4fc1e4357
change field name: prune -> inventory
2019-04-22 11:25:14 -07:00
Jingfang Liu
f6e01cfda7
add support for exec plugins
2019-04-16 09:26:38 -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
16fe7ced6a
Cleanup plugin builds.
2019-04-06 13:16:46 -07:00
Jingfang Liu
deaf0779a1
add generators/transformers fields in kusotmization.yaml
2019-04-03 14:05:25 -07:00
Jeffrey Regan
3a7c8a03f4
Make builtin the default pluginType
2019-03-18 10:21:24 -07:00
jregan
103c1b3a4f
Put goplugins behind flag.
2019-03-17 13:39:48 -07:00
Seth Pollack
18f6328284
add secret and configmap generator plugins
2019-03-15 14:28:18 -04:00
CodeLingo Bot
9a4692e6ee
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io >
2019-03-11 00:45:21 +00:00
Jeffrey Regan
48717f3f30
Switch to black box testing of KustTarget and Resource
2019-02-11 16:40:09 -08:00
Jingfang Liu
e905704b0c
allow apiVersion and Kind to be empty or specific values
2019-02-04 13:08:09 -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
Jingfang Liu
199763dec8
add group name to kustomize.config.k8s.io
2019-01-30 09:48:12 -08:00
Jingfang Liu
c461f1f766
remove patches and imageTags from kustomization.yaml
2019-01-25 14:26:17 -08:00
Jeff Regan
a9dff35a24
Merge pull request #707 from narg95/feature/add-set-image-command
...
add set image command
2019-01-23 09:29:57 -08:00
jregan
d141b2421c
DataSources is now common to Secrets and ConfigMaps.
2019-01-22 18:57:11 -08:00
Nestor
b22e43a4a7
add set image command
2019-01-21 11:01:15 +01: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
6616b25d66
fix comment
2019-01-17 16:02:14 +01:00
Nestor
6d56c1750f
fix issues from code review
2019-01-17 15:50:34 +01: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
50a8b27854
Introduce ResAccumulator.
2019-01-04 15:26:07 -08:00
Jingfang Liu
1cd99ab68e
change current version from v1 to v1beta1
2018-12-20 15:32:06 -08:00
Jingfang Liu
d0e4db74b7
fix the missing fields in all edit commands
2018-12-14 13:11:04 -08:00
Jingfang Liu
986c85e728
Add subcommand: edit fix
2018-12-13 14:09:55 -08:00
Jingfang Liu
0759136d3f
Add enforcement message for apiVersion and kind
2018-12-12 15:25:59 -08:00
Jeffrey Regan
cbcc976828
Extract common generator args to common type.
2018-12-07 13:27:19 -08:00
luktom
6ad5d9f55b
Add namespace for config map and secret generators
2018-12-05 11:36:23 +01:00
zoncoen
59df8a0dda
update docs, examples, comments
2018-11-29 22:29:52 +09:00
k8s-ci-robot
621ed52bab
Merge pull request #556 from zoncoen/name-suffix-2
...
Add nameSuffix field to kustomization.yaml
2018-11-20 08:50:22 -08:00
zoncoen
04a030bcf0
enable nameSuffix field of kustomization.yaml
2018-11-19 12:09:47 +09:00
Jingfang Liu
25415c5501
Remove -t flag in build and add configurations field in kustomization.yaml
2018-11-16 13:44:18 -08:00