Somefive and GitHub
795231ceb5
Feat: add revision command ( #3506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-28 14:47:47 +08:00
Tianxin Dong and GitHub
aaa1db8760
Fix: fix workflow cli must have workflow in spec ( #3469 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-03-23 17:16:39 +08:00
Jianbo Sun and GitHub
c5baa1cae9
Feat: support specify cluster in addon installation ( #3497 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-03-23 14:33:15 +08:00
Jianbo Sun and GitHub
e5fd150cd5
Fix: add client validation and severside dry run for vela dry-run ( #3485 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-03-22 16:39:36 +08:00
wyike and GitHub
a6460d67b6
Feat: check if an addon is been used while disabling. ( #3457 )
...
* first commit
add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fetch only definitions from registry for lagacy addon app
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
* fix error test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-21 10:38:56 +08:00
wyike and GitHub
13c420dada
Fix: optimize helm repository logic put cache lower layer and return bcode when error ( #3466 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-18 18:36:19 +08:00
Avery and GitHub
3634ad6f18
Fix: enable provider elastic ( #3453 )
...
* enable provider ec
Signed-off-by: Nicola115 <2225992901@qq.com >
* rename provider ec as elastic
Signed-off-by: Nicola115 <2225992901@qq.com >
2022-03-16 15:07:25 +08:00
barnettZQG and GitHub
20583e089a
Feat: support query applied resources by velaQL ( #3423 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-03-11 21:22:58 +08:00
wyike and GitHub
b13132ceba
Feat: helm chart keep fluxcd addon while delete ( #3404 )
...
* keep fluxcd addon will delete
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-11 14:46:28 +08:00
Somefive and GitHub
70408e4712
Feat: support vela cluster labels add/del to manage cluster labels ( #3413 )
...
* Feat: add vela cluster label command
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add vela cluster label command to help manage cluster labels
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add e2e test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: use vela cluster labels
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-11 14:13:17 +08:00
Somefive and GitHub
a8dfc99ec9
Fix: pend registry test ( #3420 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-11 11:35:40 +08:00
Somefive and GitHub
d8f95c9cf8
Feat: support multicluster service in application status ( #3387 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-10 10:21:56 +08:00
Avery and GitHub
7bc34b8dd9
Feat: support def doc-gen <LocalFile.yaml> and corresponding functions ( #3368 )
...
* add doc-gen --local <LocalFile> and corresponding functions
Signed-off-by: Nicola115 <2225992901@qq.com >
* go format
Signed-off-by: Nicola115 <2225992901@qq.com >
* refactor the usage of vela def doc-gen from local file; refactor the function GenerateReferenceDoc
Signed-off-by: Nicola115 <2225992901@qq.com >
* gofmt and goimports
Signed-off-by: Nicola115 <2225992901@qq.com >
* update prompts info
Signed-off-by: Nicola115 <2225992901@qq.com >
* remove parseLocalDefinition struct, using ComponentDefinition instead
Signed-off-by: Nicola115 <2225992901@qq.com >
* standardize the function ParseLocalFile
Signed-off-by: Nicola115 <2225992901@qq.com >
* add unit test for ParseLocalFile
Signed-off-by: Nicola115 <2225992901@qq.com >
* remove redundant functions
Signed-off-by: Nicola115 <2225992901@qq.com >
* remove redundant lines and do goimports formatting
Signed-off-by: Nicola115 <2225992901@qq.com >
2022-03-08 16:58:39 +08:00
StevenLeiZhang and GitHub
b54ddf4c1c
Fix: The order of status displayed by vela ls is not correct ( #3302 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-02-23 14:50:04 +08:00
wyike and GitHub
16414a0d9f
Feat: addon support version check ( #3304 )
...
* addon support version check
add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add kubernetes tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* reorgnize the check logic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix addon error bug in apiserver
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix comments
fix test
* add err addon bcode
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-23 12:17:31 +08:00
Somefive and GitHub
7059c8df79
Feat: rework cluster to align velaux and cli ( #3299 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-02-22 15:48:22 +08:00
1e022999a8
Refactor: refactor Helm chart with unnecessary 'systemDefinitionNames` value ( #3267 )
...
* refactor: refactor Helm chart with unnecessary 'systemDefinitionNamespace' value
* Revert "refactor: refactor Helm chart with unnecessary 'systemDefinitionNamespace' value"
This reverts commit 2ae764737f .
* Fix: Helm chart's 'Values.systemDefinitionNamespace' have default value of '.Release.Namespace' if unspecified.
* fix: fixed vela cli referenced '{{.Values.systemDefinitionNamespace}}'
Co-authored-by: yungcheng.tyc <yungcheng.tyc@alibaba-inc.com >
2022-02-18 14:05:38 +08:00
Kunshuai Zhu and GitHub
4bae08c2e2
Fix: Optimize error msg of addon enable/upgrade local path ( #3222 )
...
* Optimize error msg of addon enable/upgrade local path
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Fix and add unit test
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Run make reviewable to include all changes
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* remove test case for windows
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* fix unit test.
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
2022-02-16 14:20:37 +08:00
barnettZQG and GitHub
4a29776e8e
Fix: registry don't have enough info to build a reader ( #3237 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 18:04:34 +08:00
Avery and GitHub
d145487b96
Add cli support for provider gcp and baidu. ( #3242 )
...
Signed-off-by: Nicola115 <2225992901@qq.com >
2022-02-14 16:40:18 +08:00
wyike and GitHub
7523576905
Feat: support complicated addon parameter ( #3232 )
...
* support complicated addon parameter
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix: go mod tidy
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-14 14:02:16 +08:00
barnettZQG and GitHub
5ab9f0986e
Feat: remove the duplicate command ( #3228 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 10:35:31 +08:00
barnettZQG and GitHub
9fe9f98e30
Fix: apply crd error that the annotations too lang ( #3231 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 10:33:50 +08:00
barnettZQG and GitHub
fee4a3f2b8
Fix: the definition namespace is empty ( #3227 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-11 19:56:29 +08:00
barnettZQG and GitHub
fa1409f974
Fix: fix flag conflict ( #3211 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 15:17:04 +08:00
barnettZQG and GitHub
f6eea78ec8
Feat: support install and uninstall vela core ( #3181 )
...
* Feat: support install and uninstall vela core
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support upgrade crd
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support set reuse args
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: apply CRD before install or upgrade
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 11:48:38 +08:00
Tianxin Dong and GitHub
614472b95a
Feat: support vela show for workflow step definition ( #3140 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-25 15:03:38 +08:00
wyike and GitHub
8d13c3c7bc
fix: vela addnon enable cannot support = ( #3156 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-01-25 13:22:45 +08:00
Zheng Xi Zhou and GitHub
75dc45ced6
Fix: add providerRef in generated ComponentDefinition ( #3142 )
...
If the provider is not provider, append the providerRef section in
the generated ComponentDefinition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-24 10:27:37 +08:00
Sunghoon Kang and GitHub
4ad8913bbd
Fix: prioritize namespace flag for vela up ( #3135 )
...
* Fix: prioritize namespace flag for `vela up`
Currently, CLI applies application to `default` namespace when there is
no explicit namespace in application spec, even if the namespace flag
is set.
This commit fixes issue by overriding the namespace if the namespace
flag is set.
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Test: add test cases for overriding namespaces
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
2022-01-21 10:22:25 +08:00
Zheng Xi Zhou and GitHub
947455adb9
Fix: support generate Terraform ComponentDefinition from local HCL file ( #3132 )
...
Besides generating a Terraform ComponentDefinition from a remote git repo,
support generate one from local HCL file
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-20 14:15:22 +08:00
qiaozp and GitHub
bd2e574007
Fix: trait/comp command output without a new line ( #3112 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-01-18 12:46:59 +08:00
Zheng Xi Zhou and GitHub
4e881b44af
Fix: support generate cloud resource docs in Chinese ( #3079 )
...
* Fix: support generate cloud resource docs in Chinese
`vela def doc-gen` will also generate Chinese cloud resource docs
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Continue the development
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut and fix linting issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Fix `Should not use dot imports. (ST1001) ` issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add copyright
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-17 16:18:59 +08:00
Jianbo Sun and GitHub
c298c98f25
Fix: vela logs for namespace get from CLI and add container name args ( #3084 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-12 21:22:42 +08:00
Jianbo Sun and GitHub
7f7a9dcac0
Feat: vela up support read from stdin && refine CLI output && fix vela addon command ( #3080 )
...
* Feat: vela up support read from stdin
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: addon name missed in output and fix test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: refine CLI output
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add retry-on conflict on CLI
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-12 17:43:08 +08:00
barnettZQG and GitHub
b4732ed275
Feat: add cluster name in service endpoint ( #3076 )
...
* Feat: add cluster name in service endpoint
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add cli unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-12 14:44:22 +08:00
f41e0a3bb5
Fix: change vela def gen-doc to vela def doc-gen ( #3078 )
...
* Fix: change `vela def gen-doc` to `vela def doc-gen`
Address the comments to change the command line name
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2022-01-12 11:35:41 +08:00
Jianbo Sun and GitHub
19a542ff11
Feat: support vela up from remote url file ( #3075 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-11 17:28:45 +08:00
wyike and GitHub
d64c78db47
Feat: addon enable support local dir for install offline ( #3066 )
...
* local reader
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix lint
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix comments and add test
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-11 11:29:10 +08:00
Zheng Xi Zhou and GitHub
b354d2faa9
Fix: generate Terraform ComponentDefinition by vela cli ( #3067 )
...
* Fix: generate Terraform ComponentDefinition by vela cli
Support generate Terraform typed ComponentDefinition by `vela def init`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-10 19:12:32 +08:00
Jianbo Sun and GitHub
3af323365b
Chore: refine CLI help message and docs ( #3068 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-10 17:45:20 +08:00
Zheng Xi Zhou and GitHub
1a50dd76b5
Fix: generate docs for Terraform ComponentDefinition ( #3051 )
...
* Fix: generate docs for Terraform ComponentDefinition
Generated kubevela.io docs for Terraform typed ComponentDefinition
with `vela def gen-doc xxx` cli.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Refactor code
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* refine cloud resource title
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-10 14:08:48 +08:00
barnettZQG and GitHub
d4762e09cd
Feat: support query endpoints in status command and speed up CLI response ( #3052 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-07 15:49:27 +08:00
Jianbo Sun and GitHub
8495465087
Refactor: refine cli commands && align kubectl-vela with vela && use getnamespaceAndEnv for all ( #3048 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-06 13:29:02 +08:00
wyike and GitHub
1bceea29be
Fix: helm addon demo issues ( #3033 )
...
* helm-port-forward
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix several issues
Signed-off-by: wangyike <wangyike_wyk@163.com >
* Fix comments
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-04 15:57:57 +08:00
Jianbo Sun and GitHub
15be6bc388
Fix: check error when client not created ( #3038 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-04 14:52:35 +08:00
barnettZQG and GitHub
f468814371
Feat: add uischema manage command ( #3021 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-30 14:38:00 +08:00
Tianxin Dong and GitHub
8a5759949a
Fix: fix notfication properties for schema ( #3006 )
2021-12-27 20:00:26 +08:00
wyike and GitHub
5210800cac
Fix: add registryName into addon list ( #2993 )
...
* Fix: add registryName into addon list
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix congig map
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix several comments
Signed-off-by: wangyike <wangyike_wyk@163.com >
* small fix
Signed-off-by: wangyike <wangyike_wyk@163.com >
2021-12-25 12:37:23 +08:00
wyike and GitHub
66881c13d3
Fix: more app info in addon status ( #3000 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
2021-12-25 11:01:59 +08:00