github-actions[bot]
82075427e6
Fix: vela status tree show cluster alias & raw format ( #3661 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 4ff0f53c04 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-04-14 19:40:14 +08:00
Somefive
64d063ccfe
[Backport release-1.3] vela status tree & controller flags fix ( #3649 )
...
* 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 >
* Fix: cli default switch on feature flags (#3625 )
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* 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 >
* 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 >
* Fix: enhance vela status tree print (#3639 )
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-14 16:36:35 +08:00
github-actions[bot]
a13cab65b2
[Backport release-1.3] Feat: support basic auth private helm repo ( #3631 )
...
* support auth
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 54c05afb1a )
* 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
(cherry picked from commit a8961ec8cc )
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 4f45a6af8e )
* add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit dee791aa51 )
* extract set auth info as a global func
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit f8fb0137e3 )
* return bcode
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 057a67d8b9 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-12 16:10:48 +08:00
github-actions[bot]
58c2208e2a
add sorting for properties, outputs, writeSecretRefParameters in vela def doc-gen ( #3604 )
...
Signed-off-by: Nicola115 <2225992901@qq.com >
(cherry picked from commit f1f5fa563d )
Co-authored-by: Nicola115 <2225992901@qq.com >
2022-04-08 15:32:09 +08:00
github-actions[bot]
f83d88cfb0
[Backport release-1.3] Fix: add terraform aws provider without AWS_SESSION_TOKEN ( #3594 )
...
* 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 >
(cherry picked from commit 904a72857b )
2022-04-07 17:03:35 +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
Jianbo Sun
723a5d83ca
Fix: vela status --endpoint format ( #3502 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-03-24 09:47:15 +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
Shukun Zhang
3af893950e
add vela status --endpoint into the tips for vela up ( #3433 )
...
Co-authored-by: zhangshukun <zhangshukun.7@bytedance.com >
2022-03-14 09:39:11 +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
Tianxin Dong
d6cf2cdd2f
Fix: add process context in workflow ( #3318 )
...
* Fix: add process context in workflow
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add context data in process context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* delete usesless func
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* use multi cluster ctx in process ctx
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* remove debug log
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-28 10:30:55 +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
wyike
015f3cf72b
Feat: vela can set default namespace and user can enable fluxcd addon by default ( #3280 )
...
* vela default namespace and enable addon by default
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix cli error
fix comments
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-18 17:23:50 +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
朱晓兵
debd9f2b40
Feat: add api for app compare、reset、dryrun ( #3136 )
...
* Feat: add api for app compare or reset
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: fix lint
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: fix lint
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: fix imports
Signed-off-by: zxbyoyoyo <596908030@qq.com >
2022-02-17 13:58:48 +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
Zheng Xi Zhou
46fce3262e
Fix: properties table of cloud resource doc is broken ( #3256 )
...
If one column of a table contianers multiple line of a json
struct, it will break the table.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-16 11:03:11 +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
7895560675
Fix: retrieve Terraform variables from variables.tf ( #3149 )
...
* Fix: retrieve Terraform variables from variables.tf
If Terraform modules/resources are stored in remote git repos, get
variables from file `varialbes.tf`, or from `main.tf`.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-24 11:52:07 +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