Somefive
50458bc455
Feat: memory optimization via enhance informer cache ( #5683 )
2023-03-20 10:19:21 +08:00
StevenLeiZhang
91bcedbf24
Fix: parameter type is conflict with Component webserice and Trait re… ( #5579 )
2023-03-15 20:36:00 +08:00
qiaozp
3ce7517b6b
Feat: set right default value for oneOf schema if set ( #5677 )
2023-03-15 14:08:53 +08:00
msun1996
ad23240e4e
Fix: The resource topology fails to display the pods under the cronjob ( #5640 ) ( #5642 )
...
Signed-off-by: hanzhaoyang <hanzhaoyang@jd.com>
Co-authored-by: hanzhaoyang <hanzhaoyang@jd.com>
2023-03-14 18:41:56 +08:00
Somefive
0ae82d8034
Fix: mc flaky e2e test ( #5661 )
...
* Fix: mc flaky e2e test
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: add time for workflow rollback
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: load-test flaky
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-13 16:53:00 +08:00
barnettZQG
50622ababc
Chore: move the API server to the VelaUX repository ( #5636 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-03-13 13:53:35 +08:00
wyike
a36eb4f2e2
Fix: loading definitions if lack in the revision when calculate dispatch stage of trait. ( #5644 )
...
* small fix for dispatch stage
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
revert useless commit
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* add test case
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
---------
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2023-03-13 11:22:44 +08:00
Somefive
4edb21782f
Feat: add feature gate to allow disbale cluster watch at the start of vela-core ( #5632 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-13 11:17:15 +08:00
qiaozp
07a05c419f
Feat: sync sdk automatically ( #5630 )
2023-03-09 10:18:08 +08:00
barnettZQG
79f1d5cb03
Chore: optimize the package dependencies ( #5596 )
...
* Chore: optimize the package dependces
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: remove the repetitive context
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the context key
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: Optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-03-07 16:19:37 +08:00
qiaozp
3f53c26bc8
Feat: enhance the SDK, fix generating bugs ( #5586 )
2023-03-07 15:12:54 +08:00
Tianxin Dong
388056fda0
Fix: stores workflow status in revison if it is restarted ( #5604 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2023-03-07 14:13:56 +08:00
Somefive
d60bb6224d
Feat: optimize empty patch request ( #5600 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-07 11:11:06 +08:00
zhaohuiweixiao
6fa0d98547
Fix: render addon application checkDeployClusters invalid ( #5555 )
...
* Fix: render addon application checkDeployClusters invalid
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
* Feat: add getClusters test logic
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com>
2023-03-06 19:36:59 +08:00
Somefive
91638eba65
Fix: make read-only object not found error more clear ( #5614 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-06 13:18:05 +08:00
Somefive
76a8d13a37
Feat: remove loop reduction & filter unnecessary apprev update ( #5598 )
...
* Feat: remove loop reduction
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Feat: filter unnecessary rev update
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: add retry for multicluster e2e test
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-03 20:05:10 +08:00
caiqi1111
2f7b8b5ba8
Fix: length of name should be less than 32 ( #5547 )
...
* Fix: length of name should be less than 32
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com>
* Fix: length of name should be less than 32
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com>
---------
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com>
2023-03-03 16:35:02 +08:00
Somefive
4596aac043
Feat: upgrade cluster-gateway to use v1.8.0-alpha.3 & fix time metrics bug ( #5593 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-02 14:49:48 +08:00
JohnJan
c640dd24c7
Fix: add test for InterfaceSlice ( #5590 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2023-03-01 15:34:26 +08:00
Somefive
65215c00e4
Feat: refactor prometheus metrics ( #5592 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-03-01 14:32:35 +08:00
Tianxin Dong
41844eb461
Feat: add op.#Suspend and suspending phase in step ( #5567 )
2023-03-01 10:59:31 +08:00
JohnJan
7f54ca96e7
Fix: the array type cannot be converted to interface type ( #5578 )
...
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2023-03-01 09:42:05 +08:00
Somefive
c0234888a6
Feat: optimize list op ( #5572 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-27 19:04:57 +08:00
msun1996
93a56c84c0
Fix: The resource topology fails to display the pods under the job ( #5566 ) ( #5568 )
...
Signed-off-by: hanzhaoyang <hanzhaoyang@jd.com>
Co-authored-by: hanzhaoyang <hanzhaoyang@jd.com>
2023-02-27 16:28:50 +08:00
caiqi1111
1e7edabdab
Fix: createTime and LoginTime wrong for login information ( #5535 )
2023-02-27 10:07:48 +08:00
zhanghw0354
4ad0c7a9c0
Docs: correct the doc of recycle application env api ( #5537 )
...
* correct the doc of recycle application env api
Signed-off-by: zhanghw0354 <zhanghaiwen_yewu@cmss.chinamobile.com>
* Feat: SDK generating framework (#5431 )
Signed-off-by: zhanghw0354 <zhanghaiwen_yewu@cmss.chinamobile.com>
---------
Signed-off-by: zhanghw0354 <zhanghaiwen_yewu@cmss.chinamobile.com>
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com>
2023-02-27 10:00:39 +08:00
Echo
f846e25517
Fix: swagger DateType ( #5563 )
...
Signed-off-by: yueyongyue <yueyongyue@sina.cn>
2023-02-27 09:48:18 +08:00
qiaozp
8ff77c4486
Feat: SDK generating framework ( #5431 )
2023-02-21 15:54:44 +08:00
Tianxin Dong
3a8746e07f
Feat: support resume a specific suspend step in workflow ( #5505 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2023-02-18 17:04:17 +08:00
suwliang3
e2ab8aad48
Fix: delete the secret of the cluster ( #5497 )
...
* Fix: delete the secret of the cluster
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* Fix: add test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* Fix: modify error
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* Fix: solve check-diff
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* Fix: modify test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
2023-02-16 14:03:47 +08:00
Afzal
39c24cfdb9
Fix: removes `default` parameter name for terraform provider ( #5468 )
...
Co-authored-by: afzalbin64 <afzal442@gmail.com>
Fixes https://github.com/kubevela/kubevela/issues/5427
2023-02-16 13:52:51 +08:00
Somefive
f008411f4a
Feat: add load testing script (batch apply applications) ( #5506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-16 13:34:25 +08:00
wyike
319b5c2de9
Feat: The vela-apiserver supports displaying chart values stored in the OCI registry ( #5458 )
...
* support helm chart values
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
rebase
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
no lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix lint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
add test and deprecated API
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix url bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix tests panic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix golint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* return values.yaml
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix return values
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* add multiple valeus yaml in
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* add old interface back
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* fix golint
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-02-15 13:59:25 +08:00
Somefive
e209b2835d
Feat: support parallelize-state-keep ( #5504 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-15 10:00:51 +08:00
Tianxin Dong
4a16b2f6fe
Feat: add category for workflow step definition ( #5471 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2023-02-10 14:23:04 +08:00
Somefive
bde4ebb32e
Fix: use get before create or update ( #5444 )
...
* Fix: use get before create or update
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: ignore resource not found error when manage privileges for target
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-08 14:49:58 +08:00
Somefive
e2f95e065a
Feat: update sharding using pkg ( #5430 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-07 11:12:40 +08:00
Somefive
b7e0cd86be
Feat: add deploy inline policy and support loading definitions when lack in the revision ( #5416 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-06 15:58:44 +08:00
Somefive
ce63df6b26
Feat: enhance health check to support bypass component check and add parameter to context ( #5412 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-03 15:49:13 +08:00
JohnJan
47b027f328
Fix: sync project from app crd to velaux ( #5403 )
...
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2023-02-02 15:30:18 +08:00
Somefive
cca8338832
Fix: ignore validation webhook for ref-objects typed component ( #5397 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-01 16:00:38 +08:00
Somefive
a38bbc72cf
Fix: skip last-applied-configuration error for threewaymergepatch ( #5402 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-02-01 15:58:57 +08:00
barnettZQG
df1fe1dedd
Feat: add the updating the application trigger API ( #5382 )
...
* Feat: add the updating the application trigger API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: imported more than once
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-31 17:11:21 +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
suwliang3
647fdf89f6
Feat: add the func of additionalInfo for workload ( #5325 )
...
* Fix: create default trait for webservice
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* Feat: add the func of additionalInfo for workload
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* modify podAdditionalInfo
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
2023-01-31 13:42:32 +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
barnettZQG
c52cd98713
Fix: failed to create the record when rollbacking the application ( #5377 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-30 18:56:50 +08:00
Somefive
9dc102021e
Feat: remove useless storage driver ( #5350 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-01-16 18:03:04 +08:00
Tianxin Dong
5158fcf6c1
Fix: optimize skip reconcile and expose error if the traits patch an invalid workload like terraform ( #5334 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2023-01-13 17:04:22 +08:00
Somefive
1e15e27c8c
Fix: conflict while using gc policy and shared-resource policy concurrently ( #5330 )
...
* Fix: conflict while using gc policy and shared-resource policy concurrently
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
* Fix: github ci
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-01-13 15:51:15 +08:00
barnettZQG
df3f134f12
Fix: maintain compatibility with old project data ( #5328 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-13 13:55:32 +08:00
hnd4r7
cd5ef33951
velaql support indexing into exported array field ( #5320 )
...
Signed-off-by: hnd4r7 <307365651@qq.com>
Signed-off-by: hnd4r7 <307365651@qq.com>
2023-01-12 10:12:38 +08:00
barnettZQG
fbaea02408
Fix: the developer user can't load the definition ( #5317 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-11 18:27:56 +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
JohnJan
59e8b88d0a
Fix: create a config with the same name reported an incorrect error ( #5270 )
...
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2023-01-11 14:23:41 +08:00
barnettZQG
f7d34cbe8a
Feat: enhance the application synchronizer ( #5299 )
...
* Feat: enhance the application synchronizer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-11 14:20:47 +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
old prince
bee732b107
Fix: Index structure map[string]string,Mongo resulting in inconsistent results obtained by filtering non-string type by index. ( #5274 )
...
Signed-off-by: old.prince <di7zhang@gmail.com>
Signed-off-by: old.prince <di7zhang@gmail.com>
2023-01-11 13:05:26 +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
hnd4r7
6ad7a72b6c
Fix: don't return err if subresource type is not found when listing application resources ( #5295 )
...
Signed-off-by: hnd4r7 <307365651@qq.com>
Signed-off-by: hnd4r7 <307365651@qq.com>
2023-01-10 22:10:00 +08:00
Charlie Chiang
3f5d558f22
Test: let addon helper tests use local helm server ( #5286 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
2023-01-09 12:09:27 +08:00
barnettZQG
3a917cb6af
Fix: the addon management APIs support the user impersonation ( #5282 )
...
* Fix: the addon management APIs support the user impersonation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-06 15:11:56 +08:00
barnettZQG
1c43c6d1c5
Fix: keep the workflow data structure in MongoDB ( #5276 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-06 15:11:42 +08:00
barnettZQG
9bbf7bf01b
Fix: make the synced workflow name normative ( #5278 )
...
* Fix: make the synced workflow name normative
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: query the latest workflow
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-06 15:11:29 +08:00
Somefive
5a845104fb
Feat: support interactive mode to manually skip encountered errors ( #5266 )
2023-01-06 15:03:47 +08:00
Somefive
693eb3cb1d
Feat: add pre-dispatch dryrun check ( #5277 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2023-01-06 10:46:50 +08:00
Jianbo Sun
78f5827fa6
Fix: move notes to the right to avoid package head to be invalid format ( #5280 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2023-01-06 10:29:34 +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
qiaozp
03d892bcf1
Fix: apiserver k8sclient have duplicated multicluster wrapper ( #5275 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2023-01-05 15:42:38 +08:00
barnettZQG
ba0a726cfc
Fix: make the impersonation feature work ( #5261 )
...
* Fix: make the impersonation feature work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: update the document of the chart
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-04 16:58:03 +08:00
Tianxin Dong
5f71d05db1
Fix: fix inputs conflict for workflow ( #5251 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2023-01-04 10:45:51 +08:00
barnettZQG
340059989b
Feat: enhance the workflow restful APIs ( #5252 )
...
* Feat: enhange the workflow restful APIs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the workflow record status is empty
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: add some logs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: enhance the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-04 09:56:36 +08:00
william302
6461625832
Docs: correct update project user api's doc description ( #5244 )
...
Signed-off-by: william302 <william902@qq.com>
Signed-off-by: william302 <william902@qq.com>
Co-authored-by: william302 <william902@qq.com>
2023-01-03 11:02:55 +08:00
old prince
7bc2f4e8d1
Fix:Dry-run from revision application,Problems caused by resource version lower than the current version ( #5246 )
...
Signed-off-by: old.prince <di7zhang@gmail.com>
Signed-off-by: old.prince <di7zhang@gmail.com>
2023-01-03 10:46:59 +08:00
barnettZQG
d588def0af
Feat: versioned the context backend values to the app revision ( #5231 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2023-01-02 21:23:12 +08:00
Somefive
18f778a871
Fix: gc failure cause workflow restart not working properly ( #5240 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-12-29 23:15:02 +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
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
qiaozp
4ad8a13b5e
Feat: support data-passing in deploy step ( #5161 )
...
* Feat: support component data-passing in deploy step
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* health check with input
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add union test for io and replication
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use pkg/slices.parMap
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* reduce the GET request
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* reviewable
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix break test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-12-23 14:50:28 +08:00
Somefive
8798371454
Feat: change health check resource fetch order ( #5190 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-12-20 17:09:47 +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
Tianxin Dong
863b36226d
Fix: add controller version for pipeline in velaux ( #5185 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-12-19 13:41:24 +08:00
suwliang3
e6fe7eb7d3
Feat: rollout support statefulsets ( #5202 )
...
* rollout support workload
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
* modify the error output
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com>
2022-12-19 12:08:42 +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
Jianbo Sun
b6f4328167
Feat: support outputs objects for policy ( #5183 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2022-12-13 14:52:16 +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
qiaozp
62b4d9144f
Fix: CollectLogsInPod won't work in multicluster ( #5160 )
...
* Fix: CollectLogsInPod won't work in multicluster
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* clean up
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-12-06 15:49:39 +08:00
qiaozp
6627dc33a9
Fix: can not logs from pod of subclusters ( #5157 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-12-03 21:07:11 +08:00
Tianxin Dong
11c6b2bc98
Fix: update the workflow vendor and delete mode in workflow spec ( #5149 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-12-02 19:04:12 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Somefive
89237d2681
Fix: app contains app override the child app with parent app label ( #4985 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-11-02 22:38:59 +08:00
barnettZQG
195d35dcc6
Fix: enhance the default permissions ( #4975 )
...
* Fix: enhance the default permissions
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: unit test error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-11-01 20:50:49 +08:00
qiaozp
4b9e071558
Fix: mongodb can not decode runtime.Object ( #4971 )
...
* Fix: mongodb can not decode runtime.Object
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* reuse struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix no output when filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
2022-11-01 17:20:30 +08:00
barnettZQG
fa44776702
Fix: grant the permission to read the ConfigMap in the vela-system namesapce ( #4961 )
...
* Fix: grant the permission to read the ConfigMap in the vela-system namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-11-01 09:58:18 +08:00
qiaozp
23cbc9c91f
Feat: implement pipeline APIs ( #4908 )
...
* add context when run pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Feat: implement pipeline API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Extract get log logic and implement getPipelineRunLog API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Init and delete pipeline contexts
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix panic
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Allow not specifying context
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* change pipeline to path parameter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add permission check filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* project -> projects in route
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix route conflict
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add project alias
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Feat: change the list pipeline API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Feat: filter the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the error of the run APi
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* fix log pipeline run API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix lint, fix the error of log api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix error returning
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the lable to annotation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* remove log config not found error
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix pipeline list api return no context info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: create the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* get pipeline lastrun info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* allow query single step output
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* organize code in api layer
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix project filter, add context value when get pp run, extend lastRun
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix get output and implement get input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the last run
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* if query sub-step outout, return it directly
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Fix: change the run stats
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the output
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* flatten the input/output api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more info for i/o vars
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix nested i/o struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add fromStep in input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add e2e test skeleton
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add more e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use db to store pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* keep the last 5k lines of log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* use stern param to keep last lines of logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* filter, nil labels, spec check
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* empty res, index, detail param
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* Add e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test and unit test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add context e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* goimports
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add more test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* review
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* remove optional tag in returned value, unify the imports name
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add stop test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* more coverage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* single case selct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* optimize log color
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add default permission and role
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix permission ut
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* change the log api implementation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* add color, add container order
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* fix filter nil will cut all log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
* longer timeout and lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Co-authored-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-31 23:59:04 +08:00
Tianxin Dong
8f4ce76543
Chore: stable the version of cue and workflow ( #4963 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-10-31 14:27:46 +08:00
barnettZQG
2dfe233ebe
Fix: do not change the workflow after the env changed ( #4954 )
...
* Fix: do not change the workflow after the env changed
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: check app when deleting the target from a env
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-31 11:15:48 +08:00
Tianxin Dong
73bed17869
Feat: add mode in workflow template ( #4926 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-10-31 10:57:05 +08:00
wyike
21bf141019
Fix: bocde error override origin error message ( #4951 )
...
* fix bcode error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-10-29 16:02:30 +08:00
nuclearwu
c990bcdf66
Fix: update namespace only if it doesn't have the env label ( #4947 )
...
* Fix: update namespace only if it doesn't have the env label
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
* Fix: update namespace only if it doesn't have the env label
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-10-29 10:35:21 +08:00
tangoliu
14ac74f76d
It is unnecessary to judge that the index function is not null ( #4944 )
...
Signed-off-by: liutiangang <liutiangang@cmbchina.com>
Signed-off-by: liutiangang <liutiangang@cmbchina.com>
2022-10-29 09:11:18 +08:00
Tianxin Dong
63c7285b8b
Feat: sync the model of api workflow with core ( #4936 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-10-28 17:43:00 +08:00
wyike
560dad3873
more error info for apiservice and add tests ( #4927 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
change the mock addon version
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
2022-10-28 17:35:46 +08:00
Somefive
b97c3af09f
Fix: apiserver & vela status use multi-cluster client ( #4916 )
2022-10-28 14:02:42 +08:00
Siege Lion
de9fa2f821
Fix: can't obtain pods generated by `Crontask` component (patch of PR 4925) ( #4942 )
...
* Fix: get label selector from cronJob
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: use scheme create obj
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: update method of generating selector
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: update cron-task
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com>
Signed-off-by: HanMengnan <1448189829@qq.com>
2022-10-28 10:57:48 +08:00
Siege Lion
bd5864f40a
Fix: can't get pods of CronTask component ( #4925 )
...
* Fix: get label selector from cronJob
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: update cron-task yaml
Signed-off-by: HanMengnan <1448189829@qq.com>
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com>
Signed-off-by: HanMengnan <1448189829@qq.com>
2022-10-27 10:47:47 +08:00
Tianxin Dong
b7a763c074
Feat: support operations for workflow run ( #4920 )
...
* Feat: support operations for workflow run
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-10-26 16:04:34 +08:00
朱晓兵
c4a0c1480d
Feat: enhance the apply-once capability ( #4874 )
...
* Feat: enhance the apply-once capability
Signed-off-by: 朱晓兵 <596908030@qq.com>
* Fix: add unit-test
Signed-off-by: 朱晓兵 <596908030@qq.com>
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com>
* Fix: add doc
Signed-off-by: 朱晓兵 <596908030@qq.com>
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com>
Signed-off-by: 朱晓兵 <596908030@qq.com>
2022-10-25 21:15:21 +08:00
Tianxin Dong
56f200fb59
Fix: deprecated resolve reference in gen open API ( #4913 )
...
* Fix: depracted resolve reference in gen open API
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-10-25 11:13:41 +08:00
Somefive
210db6de95
Feat: add timeout for reconcile ( #4912 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-10-24 21:36:42 +08:00
barnettZQG
2255b0a6c7
Feat: Refer to the generation when checking the application status ( #4901 )
...
* Feat: Refer to the generation when checking the application status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: add the test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: the starting status overrided the deleting status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-24 19:32:45 +08:00
Tianxin Dong
5c1bf0ad70
Fix: support sub steps in vela status ( #4911 )
...
* Fix: support sub steps in vela status
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
* add http do in stdlib
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2022-10-24 15:58:57 +08:00
barnettZQG
accc7f9a83
Fix: assign the value for the registry of the addon ( #4910 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-24 14:14:11 +08:00
barnettZQG
b41391a4fa
Chore: wrong endpoint for LoadBalancer type service(revert #4729 ) ( #4902 )
...
* Chore: wrong endpoint for LoadBalancer type service(revert #4729 )
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
* Fix: change the unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-22 12:38:08 +08:00