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
StevenLeiZhang
5ec3bd5ef7
Feat: need one Trait to set Rollout strategy of Workload ( #5257 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
2023-01-12 17:18:15 +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
StevenLeiZhang
8a5239575a
Feat: need one new Trait to support HorizontalPodAutoscaler of CPU/MEM/PodCustomMetrcs ( #5225 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
2023-01-03 11:17:31 +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
Somefive
f0902e91d1
Feat: add prestart-hook for vela-core and add crd guard check ( #5232 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-12-27 10:18:01 +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
Joshua Agboola
a9bc43a9dd
Feat: Support SSH for retrieving terraform modules in private git repo ( #5059 )
...
* Feat: Support SSH for retrieving terraform modules in private git repo
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com>
* fix lint errors
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com>
* fix gofmt lint error
Signed-off-by: motilayo <joshuaagboola@live.ca>
* update gitCredentialsReference to gitCredentialsSecretReference, validate secret, improve known_hosts logic
Signed-off-by: motilayo <joshuaagboola@live.ca>
* SImplify logic to get publickey
Signed-off-by: motilayo <joshuaagboola@live.ca>
* Set known_hosts and export SSH_KNOWN_HOSTS
Signed-off-by: motilayo <joshuaagboola@live.ca>
* Call GetGitSSHPublicKey for cli
Signed-off-by: motilayo <joshuaagboola@live.ca>
* fix parser.go - nil check for ref.Client
Signed-off-by: motilayo <joshuaagboola@live.ca>
* Unit test for GetGitSSHPublicKey
Signed-off-by: motilayo <joshuaagboola@live.ca>
* improve test coverage
Signed-off-by: motilayo <joshuaagboola@live.ca>
* make reviewable
Signed-off-by: motilayo <joshuaagboola@live.ca>
* minor improvements & cleanup
Signed-off-by: motilayo <joshuaagboola@live.ca>
* update secret name in test
Signed-off-by: motilayo <joshuaagboola@live.ca>
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com>
Signed-off-by: motilayo <joshuaagboola@live.ca>
2022-12-23 16:27:27 +08:00
Tianxin Dong
a5a1a2ed15
Fix: optimize build push image step ( #5215 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-12-20 17:28:01 +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
Tianxin Dong
1f7b9cebcc
Feat: add unify step definitions from catalog ( #5199 )
...
* Feat: add unify step definitions from catalog
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* add kaniko executor example
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-12-19 17:06:51 +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
suwliang3
2b3da03da8
Feat: return notFound error when deleting app ( #5189 )
...
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
2022-12-14 18:47:57 +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
Jianbo Sun
c8b24ab363
Fix: vela show docs can't generate composition type ( #5163 )
...
* Fix: vela show can not display or result
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: vela show docs can't generate composition type
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-12-06 16:12:45 +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
jguionnet
3b8cd84f82
Feat: Add startup probe trait ( #5093 )
...
* Feat: Add startup probe trait
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com>
* Feat: Implemented review comments in startup probe trait
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com>
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com>
2022-12-02 11:49:00 +08:00
Ziqi Zhao
88545e5aa8
fix format error ( #5146 )
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2022-12-01 16:00:32 +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
Jianbo Sun
cd565f362f
Chore: add definition example doc CI check ( #5117 )
...
* Chore: add definition example doc CI check
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Fix: add example doc for trait
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-11-24 14:47:41 +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
Somefive
734025f03f
Feat: takeover & readonly policy ( #5102 )
...
* Feat: takeover & readonly
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Feat: add tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Feat: add cue def for read-only and take-over
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Docs: add example doc
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-24 09:48:27 +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