wyike
1b993ffcc9
fix bugs of specified addonName ( #5404 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-02-01 16:41:50 +08:00
Basuotian
27177bbc38
Fix: use the namespace specified in the resource if -n is not s… ( #5379 )
...
* fix #5368 , use the namespace specified in the resource if -n is not specified
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
* add default namespace for the case missing namespace in resourceRef
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
* add test case
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
---------
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
2023-01-31 20:02:05 +08:00
Jianbo Sun
66dd2a70b7
Fix: aligin config create to be managed by apps with Dispatch function ( #5384 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-01-31 16:55:37 +08:00
Somefive
9efbb72850
Feat: support sharding in controller ( #5360 )
...
* Feat: bootstrap sharding
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor end-e2e-core-shards script
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-31 13:03:29 +08:00
Tianxin Dong
250824bf05
Feat: add workflow step scope in doc gen ( #5351 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-17 16:08:38 +08:00
Somefive
b342ab0f86
Feat: vela cluster export config ( #5336 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-16 18:03:38 +08:00
gökhan
4ec9214c79
Feat: reuse same logic for cluster labels ( #5346 )
...
Issue: https://github.com/kubevela/kubevela/issues/5171
Signed-off-by: Gokhan Karadas <gokhan.karadas@trendyol.com >
Signed-off-by: Gokhan Karadas <gokhan.karadas@trendyol.com >
Co-authored-by: Gokhan Karadas <gokhan.karadas@trendyol.com >
2023-01-16 15:46:42 +08:00
ZhaoweiWang
5289bd9817
fix: fix --cluster when addon enable ( #5332 )
...
Signed-off-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
Signed-off-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
Co-authored-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
2023-01-13 17:04:33 +08:00
Girish
5136269c6f
Fix typo in the long cli description of vela system command ( #5321 )
2023-01-12 10:08:20 +08:00
wyike
c4f3026065
small optimzie for addon ( #5316 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
name the compoennt
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 16:10:46 +08:00
Xunzhuo
51b8d0c8ce
fix: errorMsg when uninstall vela ( #5304 )
...
Signed-off-by: bitliu <bitliu@tencent.com >
Signed-off-by: bitliu <bitliu@tencent.com >
2023-01-11 14:47:57 +08:00
cezhang
1ce5c6d8ea
Feat: vela dry-run render results should be affected by override policy and deploy workflowstep ( #4815 )
...
* [Feature] vela dry-run render results should be affected by override policy and deploy workflowstep
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* multiple input files support; policy,workflow support; new flag: merge orphan policy or workflow
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add more tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix comment issues
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix e2e
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
2023-01-11 13:52:49 +08:00
wyike
ff802ad2c5
Fix: more explicit error when addon package hasn't a metadata.yaml ( #5298 )
...
* more explicit error when addon package hasn't a metadata.yaml
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix checkdiff
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commets
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 11:45:41 +08:00
Somefive
332b48e39b
Chore: vela delete doc ( #5301 )
2023-01-11 10:59:40 +08:00
Tianxin Dong
b71a8a353a
Fix: fix vela debug cli to find id for step ( #5294 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-10 16:46:21 +08:00
Somefive
5a845104fb
Feat: support interactive mode to manually skip encountered errors ( #5266 )
2023-01-06 15:03:47 +08:00
Tianxin Dong
af8a7eb695
Fix: check the legacy definitions in vela install ( #5268 )
...
* Fix: check the legacy definitions in vela install
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* take over views
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-05 19:13:19 +08:00
barnettZQG
97ce8ba500
Feat: add the API that rollbacks the application ( #5273 )
...
* Feat: add the API that rollbacks the application
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: use the klog/v2 package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-05 17:45:42 +08:00
suwliang3
5b636e451a
Feat: Detect the correctness of the custom addon repository when adding add… ( #5221 )
...
* Detect the correctness of the custom addon repository when adding addon registry
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* wrap error
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* don't check if the registry is not helm
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* modify unit-test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Modify unit-test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-01-03 20:02:59 +08:00
Siege Lion
0f6c244d81
Fix: remove cluster field from pod view in vela top and optimize some ui ( #5237 )
2022-12-29 19:58:43 +08:00
my-git9
2fb0633354
cleanup ioutil for newer go version ( #5238 )
...
Signed-off-by: xin.li <xin.li@daocloud.io >
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-29 19:34:45 +08:00
Tianxin Dong
38aa522016
Chore: update workflow version to add restart from step and fix bugs ( #5233 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-29 18:34:59 +08:00
Somefive
88f4c33d72
Feat: upgrade dependency ( #5217 )
2022-12-27 16:28:13 +08:00
qiaozp
cadaa996da
Fix: remove useless field when loading pod in top ( #5228 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-26 11:57:42 +08:00
Somefive
8ef512d9f6
Feat: gc orphan resources ( #4847 )
...
* Feat: support orphan resource when deleting application
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Test: add test for vela delete --orphan
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-20 16:14:23 +08:00
Somefive
c98d0d5bd1
Feat: vela adopt command ( #5197 )
...
* Feat: vela adopt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support adopt native resources
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Test: add test for vela adopt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-20 16:12:34 +08:00
Siege Lion
4e611fe736
Feat: vela top supports custom theme features ( #5180 )
...
* Feat: add the diy theme feature
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update go mod to fix vela top can't show on some terminal
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: embed theme file
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: add theme selector and add test cases
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix type bug
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix some file bugs
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-12-20 14:13:26 +08:00
zhaohuiweixiao
1ebb64d4d4
Fix: addon ls comman does not show the componentless application ( #5201 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-19 12:42:31 +08:00
Jianbo Sun
dcb5378ff9
Feat: support NOTES.cue in addon for additional info printer ( #5195 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-16 18:07:27 +08:00
zhaohuiweixiao
66fbd104e9
Fix: The error of cannot fetch addon package breaks the loop to continue looking for addon package in the remaining registries ( #5187 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-14 13:35:12 +08:00
Jianbo Sun
ac9cf58afa
Feat: support fallback to kubeconfig namespace when env not set ( #5182 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-13 14:53:54 +08:00
wyike
e63aa444e5
Fix: check if enabling operation will uninstall controller from some clusters ( #5179 )
...
* check clusters parameter of addon will uninstall from clusters
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* revert go mod
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* skip verify version check
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix for error notice
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-12-12 13:40:48 +08:00
qiaozp
54285e6c64
Feat: add multicluster test for vela logs ( #5168 )
...
* Feat: add multicluster test for vela logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reviewable
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-09 10:43:54 +08:00
Jianbo Sun
b9e7c710d8
Feat: add options for addon parameter ( #5166 )
...
* Feat: add options for addon parameter
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: wrongly report disbaled when addon is not existed
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-07 17:22:38 +08:00
Siege Lion
49335fdcdb
Feat: Introduce timeout mechanism into cache and update network request mechanism in vela top ( #5153 )
...
* Fix: update cache to lru cache with expire time
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add auto refresh to topology view and fix the refresh bug in resource view
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-12-03 12:43:33 +08:00
qiaozp
b8c08c3574
Feat: support huawei cloud terraform generation ( #5144 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-03 12:42:52 +08:00
zhaohuiweixiao
32354d7fb1
Fix: addon upgrade command does not recognize the --clusters flag ( #5143 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-03 12:42:24 +08:00
Jianbo Sun
ec07e641ee
Chore: refine logs and align using klog/v2 ( #5145 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-02 14:50:06 +08:00
qiaozp
bc041cf940
Fix: vela status --endpoint show no IP when only one master node ( #5129 )
...
Add fallback if no worker node
check app exist
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-30 10:41:11 +08:00
Charlie Chiang
fdc4622208
Feat: add support for compressing apprev using gzip and zstd ( #5090 )
...
* Feat: add support for compressing apprev using gzip and zstd
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use move compressible fields into a separate struct
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use compression util from kubevela/pkg
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix core-api-test
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add compression ratio in `revision list`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-11-24 10:27:13 +08:00
wyike
277d94f447
Fix: bug when addon dependent an addon in other registry ( #5083 )
...
* fix several bugs of addon
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix error and add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments and fix apiserver test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix typo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add parameter in apiserver and test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-24 09:42:28 +08:00
qiaozp
655697f2fd
Fix: end test environments ( #5106 )
...
* Fix: end test environments
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-22 19:06:51 +08:00
Jianbo Sun
c89f268af1
Feat: support dry-run with cue format definition ( #5078 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-16 18:09:59 +08:00
Jianbo Sun
3bd38584d7
Feat: support vela up --wait and --timeout ( #5073 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-15 20:59:15 +08:00
Tianxin Dong
2bbf957c29
Fix: fix fill array with array in inputs ( #5066 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-15 14:13:34 +08:00
Tianxin Dong
986a3a1f2a
Fix: add debug for workflowrun and support debug sub steps ( #5037 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-10 10:53:10 +08:00
Siege Lion
522efff188
Fix: fix the stuck problem and use LRU cache to promote the speed of loading topology ( #5002 )
...
* Fix: fix the stuck problem and use lru cache to promote the speed of loading topology
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: reuse existing lru golang library
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-11-09 16:08:57 +08:00
nuclearwu
a944f47313
Feat: support field selector filter for 'vela ls' ( #5016 )
...
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-09 11:27:25 +08:00
qiaozp
755005bb56
Fix: higher version contraint in install command ( #5021 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-09 11:24:57 +08:00
wyike
5ad47a1947
Fix: remove the reference of v1beta1 ingress ( #5026 )
2022-11-08 22:59:31 +08:00