Somefive
5857aa8790
Fix: vela status tree show cluster alias & raw format ( #3659 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-14 19:35:47 +08:00
Somefive
d657ea4daf
Feat: rework vela up to support specified revision ( #3634 )
...
* Feat: rework vela up to support specified revision
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add legacy compatibility
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: fix test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-13 22:20:07 +08:00
Somefive
c33eaa0609
Fix: enhance vela status tree print ( #3639 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-13 17:46:55 +08:00
Somefive
7a0d2b552b
Feat: support alias in cluster ( #3630 )
...
* Feat: support alias in cluster
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test for cluster alias
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-13 13:58:35 +08:00
Somefive
0e97aa2291
Feat: vela status --tree ( #3609 )
...
* Feat: vela status --tree
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support show not-deployed clusters
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add multicluster e2e coverage
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: minor fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-12 17:58:45 +08:00
wyike
2e57be1022
Feat: support basic auth private helm repo ( #3595 )
...
* support auth
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix check diff
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
fix
add comments
fix test
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* extract set auth info as a global func
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* return bcode
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-12 14:33:44 +08:00
Zheng Xi Zhou
b1823084af
Fix: add terraform aws provider without AWS_SESSION_TOKEN ( #3590 )
...
* Fix: add terraform aws provider without AWS_SESSION_TOKEN
Fix #3589 and refine prompts for cli
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-07 13:41:29 +08:00
namo
83fe4a160e
Feat(lang): add addons gitlab support ( #3543 )
...
* add addons gitlab support
Signed-off-by: Namo <lgj112113@163.com >
* add addons gitlab support
Signed-off-by: Namo <lgj112113@163.com >
* test file edit
Signed-off-by: Namo <lgj112113@163.com >
* typo edit
Signed-off-by: Namo <lgj112113@163.com >
* notes edit
Signed-off-by: Namo <lgj112113@163.com >
* move third party imports block
Signed-off-by: Namo <lgj112113@163.com >
* code format edit
Signed-off-by: Namo <lgj112113@163.com >
* notes edit
Signed-off-by: Namo <lgj112113@163.com >
* create addon registry bug fix
Signed-off-by: Namo <lgj112113@163.com >
* add gitlab addon registry bug fix
Signed-off-by: Namo <lgj112113@163.com >
* add addon gitlab support test file
Signed-off-by: Namo <lgj112113@163.com >
* add addon gitlab support test note edit
Signed-off-by: Namo <lgj112113@163.com >
* add addon gitlab branch support and fix bug
Signed-off-by: Namo <lgj112113@163.com >
* addon gitlab registry repo name invalid
Signed-off-by: Namo <lgj112113@163.com >
Co-authored-by: Namo <lgj112113@163.com >
2022-04-07 11:05:14 +08:00
wyike
ef4b9816e1
fix bug ( #3569 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix bugs
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
fix
2022-04-01 01:04:29 +08:00
Jianbo Sun
3157efd421
Chore: refine chart readme and notes ( #3563 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-03-31 17:33:06 +08:00
qiaozp
c6b9abe4c4
Chore: bump k8s version contraint ( #3560 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-03-31 16:42:14 +08:00
wyike
0ada407fbe
optimize the ux of addon ( #3557 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
fix
2022-03-31 10:24:20 +08:00
qiaozp
de84421487
Feat: add name param in vela logs ( #3556 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-03-30 17:56:59 +08:00
wyike
47050c90b6
Fix: cli addon multicluster bug ( #3547 )
...
* fix addon multicluster bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
delete useless test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
asd
asd
* fix test race condition
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-29 23:03:57 +08:00
Zheng Xi Zhou
5d61cee3f6
Fix: support multiple-tenant cloud resources ( #3305 )
...
* Fix: support multiple-tenant cloud resources
Split terraform-xxx to two parts, the original addon will only install
definitions, and the provider object will be created by `vela provider`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* continue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* continue 0302
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* support `vela provider list`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* generate a configmap in an addon terraform-xxx
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix listing providers
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* support add a provider
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* support delete a provider
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* support legacy providers
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-03-28 21:55:33 +08:00
wyike
161d2646cb
Feat: helm repo as addon registry to support addon's multi-version ( #3523 )
...
* versioned registry impl
add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix ci
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ui
fix
fix
fix
modify addon registry
2022-03-28 21:25:38 +08:00
Avery
4f8e7506f9
Fix: fix bugs in vela def doc-gen from local file ( #3490 )
...
* fix bugs in using local filepath as markdown filename; fix bugs in parseLocalFile
Signed-off-by: Nicola115 <2225992901@qq.com >
* ignore control character mismatch between lc.TerraformConfiguration and raw text
Signed-off-by: Nicola115 <2225992901@qq.com >
* goimports
Signed-off-by: Nicola115 <2225992901@qq.com >
* store remote and local in MarkDownReference struct
Signed-off-by: Nicola115 <2225992901@qq.com >
* gofmt
Signed-off-by: Nicola115 <2225992901@qq.com >
* fix too many argument bugs in generate.go:45
Signed-off-by: Nicola115 <2225992901@qq.com >
* fix invalid comment
Signed-off-by: Nicola115 <2225992901@qq.com >
2022-03-28 20:57:24 +08:00
Somefive
795231ceb5
Feat: add revision command ( #3506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-28 14:47:47 +08:00
Tianxin Dong
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
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
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
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
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
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
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
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
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
a8dfc99ec9
Fix: pend registry test ( #3420 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-11 11:35:40 +08:00
Somefive
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
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
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
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
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
Nash Tsai
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
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
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
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
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
5ab9f0986e
Feat: remove the duplicate command ( #3228 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 10:35:31 +08:00
barnettZQG
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
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
fa1409f974
Fix: fix flag conflict ( #3211 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 15:17:04 +08:00
barnettZQG
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
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
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
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
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
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
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
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