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
JohnJan
9aa2ec3ccd
Refactor: Use github.com/spf13/cobra to execute cmd for vela-core ( #5126 )
...
* Refactor: Use github.com/spf13/cobra to execute cmd for vela-core
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Refactor: Use github.com/spf13/cobra to execute cmd for vela-core
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Refactor: Use github.com/spf13/cobra to execute cmd for vela-core
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-11-28 17:56:38 +08:00
Somefive
1dd08f35ef
Fix: container image cue ( #5127 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-28 11:35:20 +08:00
Somefive
a205fff1a7
Fix: add fogdong to codeowners of packages ( #5134 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-28 11:33:39 +08:00
wyike
191dbcc58d
Fix: bug of filter registry func will modify origin data ( #5118 )
...
* fix filter registry func flaky
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-11-24 15:05:38 +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
Jianbo Sun
e5d8fcf2f8
Fix: apiserver image build and add CI check for it ( #5116 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-11-24 12:11:16 +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
Somefive
e05f34392d
Fix: multicluster cluster scope ref ( #5111 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-23 19:41:29 +08:00
basefas
8516ede345
fix: update actions ( #5108 )
...
Signed-off-by: basefas <basefas@hotmail.com>
Signed-off-by: basefas <basefas@hotmail.com>
2022-11-23 10:05:25 +08:00
basefas
6363967895
Fix: update actions to solve 「 deprecated 」warnings ( #5094 )
...
* Fix: update actions to solve 「 deprecated 」warnings
Signed-off-by: basefas <basefas@hotmail.com>
* fix: update action & delete unused parameter
Signed-off-by: basefas <basefas@hotmail.com>
Signed-off-by: basefas <basefas@hotmail.com>
2022-11-22 23:22:25 +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
Somefive
8252b1eada
Fix: patchOutputs bug for multiple outputs ( #5101 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-22 10:52:49 +08:00
Jianbo Sun
139009546c
Chore: merge goverance doc to community repo ( #5103 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-11-22 10:19:30 +08:00
JohnJan
1530f6c24f
Refactor: Use github.com/spf13/cobra to execute cmd for apiserver ( #5085 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-11-22 10:08:31 +08:00
Somefive
eddd131dcd
Docs: add KEPs introduction to the main repo ( #5099 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-21 15:19:31 +08:00
Tianxin Dong
78f4e00dac
Fix: fix acr webhook for enterprise registry ( #5097 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-11-21 14:16:04 +08:00
jguionnet
66bffabc1b
Feat: add topologySpreadConstraints traits ( #5081 )
...
* Feat: add topologySpreadConstraints traits
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com>
* make reviewable formatting and file gen
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com>
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com>
2022-11-21 11:02:05 +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
Tianxin Dong
ee28112015
Feat: add print message example ( #5077 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-11-16 16:32:08 +08:00
Tianxin Dong
a5c7804185
Feat: add apply component definition for docs ( #5070 )
...
* Feat: add apply component definition for docs
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* Feat: add apply component definition for docs
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-11-16 14:02:50 +08:00
qiaozp
85d5eec8b4
Fix: code vulnerability ( #5054 )
...
* Fix: code vulnerability
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* lint
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* imports
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use space
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* reuse sanitize function
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-11-16 13:47:03 +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
Jianbo Sun
2c7f294279
Chore: update test case and remove unnecessary info ( #5069 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-11-15 20:02:30 +08:00
nuclearwu
380d0ff9a1
Fix: remove unnecessary case in field selector ( #5064 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-11-15 15:00:30 +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
Jianbo Sun
467e7c992b
Chore: Cleanup useless examples ( #5067 )
...
* Chore: remove appdeployment examples as it's already deprecated
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: remove approllout docs as it's already deprecated
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: remove kubecon 2020 demo as it's not worked due to deprecation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
* Chore: remove unused Observability Implementation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-11-15 14:02:13 +08:00
wyike
e706b5d4a3
add tests ( #5058 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-11-15 13:16:11 +08:00
qiaozp
84feb2beb4
Fix: update action script ( #4959 )
2022-11-14 19:42:57 +08:00
tigerK
46c8f104c3
[docs]cpuscaler traits documentation example ( #5062 )
...
Signed-off-by: yanru.lv <yanru.lv@daocloud.io>
Signed-off-by: yanru.lv <yanru.lv@daocloud.io>
2022-11-14 16:55:12 +08:00
Tianxin Dong
23c959fb71
Fix: unify stdlib for workflow and kubevela ( #5053 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-11-14 13:24:24 +08:00
qiaozp
a74fb181b3
Chore: remove legacy o11y logic ( #5046 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-11-14 11:43:23 +08:00
nuclearwu
b8535d2c5e
Fix: Failed to get detail policy for application ( #5043 )
...
* Fix: Failed to get detail policy for application
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: Failed to get detail policy for application
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-11-10 19:23:48 +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
Somefive
afd363b896
Feat: support webservice containing duplicate port with different protocol ( #5034 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-09 13:14:27 +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
Tianxin Dong
7c0918375e
Fix: temporary fix comments in comprehesions for env trait ( #5020 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-11-08 15:26:27 +08:00
Tianxin Dong
d6466368c1
Feat: add scope label in workflow step defs ( #4980 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-11-08 15:05:27 +08:00
wyike
5d0b64773e
use vi as ingress's target apiVersion ( #5019 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
revert test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-11-08 12:03:09 +08:00
qiaozp
e79e12fbe6
Fix: vela status will always get external ip first ( #5014 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-11-07 17:54:54 +08:00
nuclearwu
853df82f4a
Fix: vela cluster join reports 'resource name may not be empty' error ( #4998 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-11-07 16:13:39 +08:00
Siege Lion
0e849d142c
Fix: fix problem of loading pods of cronjob ( #5007 )
...
Signed-off-by: HanMengnan <1448189829@qq.com>
Signed-off-by: HanMengnan <1448189829@qq.com>
2022-11-07 11:06:14 +08:00
qiaozp
7e012f5ca0
Fix: remove duplicate mock server in CI ( #5011 )
...
* Fix: not killing mock server process every time
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* remove redundent mock server
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-11-07 10:13:12 +08:00
nuclearwu
ef897db10b
Feat: support label selector filter for 'vela ls' ( #4966 )
2022-11-06 11:43:10 +08:00
wyike
85489c63b4
Fix: forbid 302 request to avoid SSRF ( #5000 )
...
* fix helm chart list endpoint SSRF CVE
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* revert error log
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* change with const value
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>
2022-11-04 20:15:20 +08:00