github-actions[bot]
8f5eaefd89
Fix: kubectl check err ( #3779 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 3bbcbe0e6f )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-04-28 16:33:28 +08:00
github-actions[bot]
7c3a35ae87
[Backport release-1.3] Fix: addon cli parse any type ( #3777 )
...
* fix addon parse any type
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit fdda3a70e5 )
* test int
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit ca47004529 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-28 16:08:48 +08:00
github-actions[bot]
ea0003f7cb
Fix: fix revision in webservice ( #3766 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 1ab13437b4 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-27 14:19:43 +08:00
Zheng Xi Zhou
3728857c82
Fix: use Terraform provider name as application in CLI ( #3742 ) ( #3756 )
...
* Fix: use Terraform provider name as application in CLI
In CLI, use Terraform provider name as application name when
create a Provider. Also display there providers in VelaUX.
1). manually created a Terraform Provider object, like https://github.com/oam-dev/terraform-controller/blob/master/getting-started.md#aws
2). by enabling a Terraform provider addon in version older than v1.3.0
3). by create a Terraform provider via `vela provider add`
4). by VelaUX
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-26 22:17:17 +08:00
github-actions[bot]
8e6c49cb37
[Backport release-1.3] Fix: fix the bug of vela cli enable addon by localDir on windows os ( #3762 )
...
* fix windows bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix several issue
fix bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix unit-test
(cherry picked from commit 956dff3261 )
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 497a6ebcae )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-26 20:53:34 +08:00
github-actions[bot]
4b31274bda
[Backport release-1.3] Fix: velaux addon hint after enable ( #3760 )
...
* Fix: velaux addon hint after enable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
(cherry picked from commit 5adfd6210f )
* check if upgrade
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
(cherry picked from commit 5a7467a494 )
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2022-04-26 16:47:36 +08:00
github-actions[bot]
429e62d11b
[Backport release-1.3] Feat: check whether a project matched a config's project ( #3757 )
...
* Feat: check whether a project matched a config's project
If the config project is not nil, it's matched whether the project
matched the target project.
If the config project is nil, the target project matched the config.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit dca9646693 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-26 14:59:41 +08:00
github-actions[bot]
841a18189a
Fix: public image registry config could not be created ( #3748 )
...
Fix #3663
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 4fc599b8c9 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-25 13:59:00 +08:00
github-actions[bot]
59bd066c05
use unical project filter func to list secret ( #3746 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix pointer
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit b441878545 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-25 10:06:37 +08:00
github-actions[bot]
efa9dedb85
Fix: vela-cli does not print cluster name, if application installed in default cluster ( #3740 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
(cherry picked from commit 3819981dd4 )
Co-authored-by: StevenLeiZhang <zhangleiic@163.com >
2022-04-24 09:17:39 +08:00
Xiangbo Ma
fdffde4dfd
Fix: cherry-pick #3724 to delete apprev annotation. Signed-off-by: Xiangbo Ma <maxiangboo@cmbchina.com> ( #3739 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-04-24 09:17:15 +08:00
wyike
d08aa7d12c
fix several issues ( #3729 ) ( #3735 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
v1.3.2
2022-04-22 17:29:01 +08:00
wyike
f9755a405f
Fix: change systemInfo some fields (cp #3715 ) ( #3723 )
...
* Fix: change systemInfo some fields (#3715 )
* add some field an calculate workflow step
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix the calculate job cannot start issue
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add suit test framework
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* modify the go mod file
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix worry file name
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-22 16:42:54 +08:00
github-actions[bot]
d751d95bac
Feat: change the webservice and config-image-registry definitions ( #3733 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 300f0c5ace )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-22 16:34:28 +08:00
github-actions[bot]
e86eec07e0
specify staticcheck version ( #3728 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix the workflow
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
try to fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix make file
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix makefile
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 7b62664332 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-22 14:26:37 +08:00
github-actions[bot]
4abb5c6ced
[Backport release-1.3] Fix: embed.FS filepath that follow the unix style file path when running on windows ( #3720 )
...
* fix: "builtin-apply-component.cue: file does not exist"
Signed-off-by: lei.chu <1062186165@qq.com >
(cherry picked from commit fba60a1af1 )
* fix: "builtin-apply-component.cue: file does not exist"
Signed-off-by: lei.chu <1062186165@qq.com >
(cherry picked from commit 9e74023951 )
Co-authored-by: lei.chu <1062186165@qq.com >
2022-04-21 14:32:30 +08:00
github-actions[bot]
32d9a9ec94
Fix: vela-core does not report error, when component depends on invalid component ( #3712 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
(cherry picked from commit 01781bdc02 )
Co-authored-by: StevenLeiZhang <zhangleiic@163.com >
2022-04-20 13:39:53 +08:00
github-actions[bot]
f6f9ef4ded
Feat: support disable legacy gc upgrade operation ( #3697 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 31ab3d859c )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-04-19 09:53:10 +08:00
github-actions[bot]
166c93d548
Fix: set provider name as the config name ( #3695 )
...
- For VelaUX, hidden a provider name (users don't need to manual set it). Used
the application/component name (config name) to be the provider name.
- Store description of a config to the annotation of the config application
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit e3feeeec24 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-18 16:48:37 +08:00
github-actions[bot]
8f767068bf
Fix: rt resource key compare mismatch local cluster ( #3685 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit fa12bc1950 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-04-15 16:37:00 +08:00
github-actions[bot]
8d9e2a71e7
[Backport release-1.3] Fix: can not query the instance list for the app with apply once policy ( #3684 )
...
* Fix: can not query the instance list for the app with apply once policy
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit fbcba8da98 )
* Fix: change the test case about ListResourcesInApp
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 91c45132b0 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-15 15:04:04 +08:00
wyike
58b3bca537
cherrypick 3665 and 3605 to release 1.3 ( #3668 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-15 12:11:05 +08:00
github-actions[bot]
825f1aaa22
[Backport release-1.3] Fix: fix token invalid after the server restarted ( #3662 )
...
* Fix: fix token invalid after the server restarted
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 13c6f0c5a3 )
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 96896d4956 )
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 33160fd199 )
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit c858b81d86 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
v1.3.1
2022-04-14 22:26:57 +08:00
github-actions[bot]
82075427e6
Fix: vela status tree show cluster alias & raw format ( #3661 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 4ff0f53c04 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-04-14 19:40:14 +08:00
github-actions[bot]
f89cf673c0
Fix: add label from inner system in CR can prevent sync ( #3660 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
(cherry picked from commit dceb642ad6 )
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-14 19:33:35 +08:00
github-actions[bot]
ce53f6922f
[Backport release-1.3] Fix: duplicately list pods in velaQL ( #3656 )
...
* Fix: duplicately list pods in velaQL
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 5917141b12 )
* Fix: the create time of synced app is empty
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit d404c4b507 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-14 17:46:08 +08:00
github-actions[bot]
b6f70d9a3c
Fix: failed to deploy application when no there is no avaiable ( #3654 )
...
When there are configs, but not in the project where the appliation
is about to deploy, the sync application will hit an issue. It will
lead to block the deploy of an application.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 6cac625d53 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-14 17:26:31 +08:00
Somefive
64d063ccfe
[Backport release-1.3] vela status tree & controller flags fix ( #3649 )
...
* Feat: vela status --tree (#3609 )
* Feat: vela status --tree
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support show not-deployed clusters
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add multicluster e2e coverage
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: minor fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: cli default switch on feature flags (#3625 )
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support alias in cluster (#3630 )
* Feat: support alias in cluster
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test for cluster alias
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: rework vela up to support specified revision (#3634 )
* Feat: rework vela up to support specified revision
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add legacy compatibility
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: fix test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: enhance vela status tree print (#3639 )
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-14 16:36:35 +08:00
github-actions[bot]
a98278fb7a
[Backport release-1.3] Fix: refine the config sync logic ( #3647 )
...
* Fix: refine config management
- Refine the config sync logics
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 97cc021d7a )
* address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 3e0f9c07a8 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-14 13:05:01 +08:00
wyike
0553d603e6
Chore: cherry-pick 3641 to release 1.3 ( #3646 )
...
* Fix: try to fix CVE (#3641 )
* use santize
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-14 11:25:02 +08:00
github-actions[bot]
a36e99308f
[Backport release-1.3] Fix: clear info when addon version cannot meet require ( #3645 )
...
* first
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
version miss match erro for addon
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add log
(cherry picked from commit 14fda35867 )
* add test for this
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
small fix
(cherry picked from commit 1e218b5732 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-14 10:03:42 +08:00
github-actions[bot]
947bac2d35
Fix: verify password valid ( #3643 )
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
(cherry picked from commit b623976f1e )
Co-authored-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
2022-04-13 19:40:05 +08:00
github-actions[bot]
7644cc59cb
Feat: refine config creation and provide config list ( #3640 )
...
- Make the api of creation a config to be async
- In listing config page, show the status of a config
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 5314e5bf9e )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-13 13:48:20 +08:00
github-actions[bot]
89a441b8ce
[Backport release-1.3] Fix: fix dex login with existed email ( #3633 )
...
* Fix: fix dex login with existed email
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 15400df15e )
* add dex connector check
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit a7062e08e1 )
* unset users' alias
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 1a818f4b8b )
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 1b3768ca73 )
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit e54fc776b0 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-12 16:30:10 +08:00
github-actions[bot]
780572c68f
Fix: flags for controller ( #3632 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit e5a5916973 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-04-12 16:13:50 +08:00
github-actions[bot]
a13cab65b2
[Backport release-1.3] Feat: support basic auth private helm repo ( #3631 )
...
* support auth
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 54c05afb1a )
* add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix check diff
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
fix
add comments
fix test
(cherry picked from commit a8961ec8cc )
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 4f45a6af8e )
* add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit dee791aa51 )
* extract set auth info as a global func
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit f8fb0137e3 )
* return bcode
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 057a67d8b9 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-12 16:10:48 +08:00
Min Kim
e26104adcc
bump cluster-gateway to 1.3.2 ( #3620 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-11 19:49:20 +08:00
github-actions[bot]
26ac584655
[Backport release-1.3] Feat: add api of listing configs for project when creating a target ( #3626 )
...
* Feat: add api of listing configs for project
In a project, list configs by its type
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 87aae26f3f )
* address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 830cc79dcf )
* fix ci
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit bf10455f6b )
* add query parameter definition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 73ff31382b )
* Update pkg/apiserver/rest/webservice/project.go
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit f0b346a1cb )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-11 19:06:31 +08:00
github-actions[bot]
482976990d
Fix: reuse chart values in vela install ( #3617 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
(cherry picked from commit 5bf0dd045f )
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-11 09:52:03 +08:00
github-actions[bot]
bc4812a12e
[Backport release-1.3] Fix: vela logs without specified resource name ( #3608 )
...
* Fix: vela logs without specified resource name
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
(cherry picked from commit 43df60cb87 )
* add unittest
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
(cherry picked from commit daacb88601 )
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
(cherry picked from commit 195585b69f )
Co-authored-by: qiaozp <chivalry.pp@gmail.com >
2022-04-08 17:57:15 +08:00
github-actions[bot]
58c2208e2a
add sorting for properties, outputs, writeSecretRefParameters in vela def doc-gen ( #3604 )
...
Signed-off-by: Nicola115 <2225992901@qq.com >
(cherry picked from commit f1f5fa563d )
Co-authored-by: Nicola115 <2225992901@qq.com >
2022-04-08 15:32:09 +08:00
github-actions[bot]
f83d88cfb0
[Backport release-1.3] Fix: add terraform aws provider without AWS_SESSION_TOKEN ( #3594 )
...
* Fix: add terraform aws provider without AWS_SESSION_TOKEN
Fix #3589 and refine prompts for cli
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 904a72857b )
2022-04-07 17:03:35 +08:00
Somefive
8af3dec0df
Fix: add feature-gates to command-line args ( #3591 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-06 17:00:44 +08:00
Tianxin Dong
edebcc6c59
Fix: fix refresh code expired bcode ( #3582 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-06 14:36:05 +08:00
Jianbo Sun
32382ba6be
Chore: add new code flow for kubevela milestone ( #3586 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-06 13:34:30 +08:00
Zheng Xi Zhou
46ef6f9df4
Fix: add response struct to config deletion api ( #3579 )
...
Added an empty struct in the API of config deletion
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-06 13:32:49 +08:00
Jianbo Sun
aea98ff5bf
Chore: try fix lint ( #3571 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-06 10:19:53 +08:00
wyike
c093676575
aglin config secret label ( #3576 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix not update label
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix addon cannot update label bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
revert
2022-04-01 16:59:15 +08:00
wyike
ed05b4b035
aglin config secret label ( #3574 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-01 16:13:12 +08:00
Zheng Xi Zhou
3aa4412a0f
Fix: remove config image registry ( #3572 )
...
Temporarily removed image registry config
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
v1.3.0
2022-04-01 01:07:43 +08:00