f49f11dd72
Fix: suppress klog logs output for vela top ( #5452 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 55662b645a )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
v1.7.3
2023-02-08 16:26:44 +08:00
191d9038f1
[Backport release-1.7] Fix: use get before create or update ( #5450 )
...
* Fix: use get before create or update
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 93c1881663 )
* Fix: ignore resource not found error when manage privileges for target
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit dd4864c6d1 )
---------
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-02-08 14:50:38 +08:00
e10e43b6c8
[Backport release-1.7] Fix: simplify notification parameters ( #5446 )
...
* Fix: simplify notification parameters
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
(cherry picked from commit a9a8a18529 )
* remove close
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
(cherry picked from commit 123c3f51b2 )
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
(cherry picked from commit e2eee58a4b )
---------
Co-authored-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-08 14:05:13 +08:00
b9cc523267
[Backport release-1.7] Fix: Add confirmation prompt for vela adopt --apply with existing app name ( #5419 )
...
* Add confirmation prompt for vela adopt --apply with existing app name
Signed-off-by: Karanjot Singh <drquark@duck.com >
(cherry picked from commit 5278e1b350 )
* Added changes according to the review
Signed-off-by: Karanjot Singh <drquark@duck.com >
(cherry picked from commit 0a437e336f )
* Fixed Userinput and used loadremoteApplication
Signed-off-by: Karanjot Singh <drquark@duck.com >
minor fixes
Signed-off-by: Karanjot Singh <drquark@duck.com >
used loadRemoteApplication
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
(cherry picked from commit 4e92eaf73e )
* Used f.Client().Get method
Signed-off-by: Karanjot Singh <drquark@duck.com >
minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
(cherry picked from commit 96a2ae8fb7 )
* Changed bool to False
Signed-off-by: Karanjot Singh <drquark@duck.com >
(cherry picked from commit 17a1131b90 )
---------
Co-authored-by: Karanjot Singh <drquark@duck.com >
2023-02-03 18:03:42 +08:00
7f1743ef58
[Backport release-1.7] Fix: sync project from app crd to velaux ( #5410 )
...
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 3c613d7358 )
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 2492e3725c )
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit db3c7ea0a5 )
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 1a364e0737 )
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 363f56ac2a )
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 279517c142 )
---------
Co-authored-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-02-02 15:31:25 +08:00
dd39c38cf1
fix bugs of specified addonName ( #5407 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 3a9df79b3a )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-02-01 16:44:30 +08:00
0851454c6f
Fix: ignore validation webhook for ref-objects typed component ( #5406 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 0fb1ab497b )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-02-01 16:10:16 +08:00
cd3577db53
Fix: skip last-applied-configuration error for threewaymergepatch ( #5405 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 6bf79461d4 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-02-01 16:00:44 +08:00
d578adfe6e
Fix: longer releaser timeout ( #5400 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
(cherry picked from commit 4ca1acdc22 )
Co-authored-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-01 14:01:07 +08:00
4b88cd201e
[Backport release-1.7] Fix: replace homemade release script with goreleaser ( #5398 )
...
* Replace homemade release script with goreleaser
refactor release.yml
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
(cherry picked from commit 00ee1513a1 )
* wrap files in a directory
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
(cherry picked from commit ba4ed6ad0f )
---------
Co-authored-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
v1.7.2
2023-01-31 20:55:06 +08:00
492e7d7f0d
[Backport release-1.7] Fix: use the namespace specified in the resource if -n is not s… ( #5396 )
...
* fix #5368 , use the namespace specified in the resource if -n is not specified
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
(cherry picked from commit 47c9b4457b )
* add default namespace for the case missing namespace in resourceRef
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
(cherry picked from commit 3ae0657796 )
* add test case
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
(cherry picked from commit 4ba5eb88eb )
---------
Co-authored-by: Basuotian <basuoluomiu@gmail.com >
v1.7.1
2023-01-31 20:16:18 +08:00
Jianbo Sun and GitHub
0742ca9ee5
Fix: aligin config create to be managed by apps with Dispatch function ( #5384 ) ( #5394 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-01-31 18:04:36 +08:00
1cf4ae3fc3
[Backport release-1.7] Feat: add the updating the application trigger API ( #5395 )
...
* Feat: add the updating the application trigger API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 05bc42bc50 )
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit d6f3e0e90b )
* Fix: imported more than once
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 37f7af0beb )
---------
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-31 17:14:03 +08:00
qiaozp and GitHub
444d315143
Fix: rework on apisrever e2e test covergae ( #5390 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-01-31 15:04:24 +08:00
2e3a89f6b1
Chore: update workflow version to fix panic ( #5386 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 4ae1fe044e )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-31 10:57:40 +08:00
d94293ac59
Fix: failed to create the record when rollbacking the application ( #5381 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 57d85ecb7c )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-30 20:51:04 +08:00
cc604cfadb
Feat: upgrade cluster gateway to 1.7.0 ( #5356 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 3245ea148c )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-01-19 11:21:38 +08:00
8ef2513b2e
fix: fix --cluster when addon enable ( #5343 )
...
Signed-off-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
(cherry picked from commit 021ca69cfd )
Co-authored-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
v1.7.0
2023-01-13 17:09:26 +08:00
657e3b1bde
Fix: optimize skip reconcile and expose error if the traits patch an invalid workload like terraform ( #5342 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 3730291eff )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-13 17:08:52 +08:00
004e2a814d
Feat: upgrade the workflow version to v0.4.0 ( #5337 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit e0b8c9e4c9 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-13 16:57:03 +08:00
6dcba5ef11
[Backport release-1.7] Fix: conflict while using gc policy and shared-resource policy concurrently ( #5333 )
...
* Fix: conflict while using gc policy and shared-resource policy concurrently
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit f8239be21e )
* Fix: github ci
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 72e54e5f90 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-01-13 15:55:05 +08:00
fd39804dc9
Fix: maintain compatibility with old project data ( #5331 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit fef55b9b1b )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-13 13:59:35 +08:00
ce57fbb752
Feat: need one Trait to set Rollout strategy of Workload ( #5327 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
(cherry picked from commit 5d00b2ac73 )
Co-authored-by: StevenLeiZhang <zhangleiic@163.com >
2023-01-12 17:19:17 +08:00
80b2b2c2d3
velaql support indexing into exported array field ( #5323 )
...
Signed-off-by: hnd4r7 <307365651@qq.com >
(cherry picked from commit 441d8f0a66 )
Co-authored-by: hnd4r7 <307365651@qq.com >
2023-01-12 10:13:57 +08:00
49d97e5c2b
Fix typo in the long cli description of vela system command ( #5322 )
...
Signed-off-by: Girish Ramnani <girishramnani95@gmail.com >
(cherry picked from commit 273b91c41f )
Co-authored-by: Girish <girishramnani95@gmail.com >
2023-01-12 10:10:15 +08:00
1ee5915546
Fix: the developer user can't load the definition ( #5319 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 78c9a1a370 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
v1.7.0-beta.2
2023-01-11 18:28:36 +08:00
3f6b38cc7f
small optimzie for addon ( #5318 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
name the compoennt
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 3a020041d9 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 16:33:16 +08:00
c2c7ab91f9
Feat: vela dry-run render results should be affected by override policy and deploy workflowstep ( #4815 ) ( #5314 )
...
* [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 >
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
Co-authored-by: cezhang <c1zhang.dev@gmail.com >
2023-01-11 15:39:45 +08:00
866ffb9689
Chore: vela delete doc ( #5315 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit ce79ab1691 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-01-11 15:08:08 +08:00
61afb366ee
Fix: fix vela debug cli to find id for step ( #5313 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 2f77353cbe )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-11 14:57:02 +08:00
a2a8d73a58
Fix: don't return err if subresource type is not found when listing application resources ( #5312 )
...
Signed-off-by: hnd4r7 <307365651@qq.com >
(cherry picked from commit 58a150d1d4 )
Co-authored-by: hnd4r7 <307365651@qq.com >
2023-01-11 14:56:22 +08:00
fc3b428788
fix: errorMsg when uninstall vela ( #5310 )
...
Signed-off-by: bitliu <bitliu@tencent.com >
(cherry picked from commit 771e0b5429 )
Co-authored-by: bitliu <bitliu@tencent.com >
2023-01-11 14:49:14 +08:00
500dc52b34
[Backport release-1.7] Fix: create a config with the same name reported an incorrect error ( #5307 )
...
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 3c1759896b )
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
(cherry picked from commit 0aa456642b )
Co-authored-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-01-11 14:25:13 +08:00
789aa38476
[Backport release-1.7] Feat: enhance the application synchronizer ( #5305 )
...
* Feat: enhance the application synchronizer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit e5d112b04a )
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 940ffb30f5 )
* Fix: the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit c3e896fbc1 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-11 14:24:25 +08:00
17adf35717
Fix: Index structure map[string]string,Mongo resulting in inconsistent results obtained by filtering non-string type by index. ( #5303 )
...
Signed-off-by: old.prince <di7zhang@gmail.com >
(cherry picked from commit a763d3da54 )
Co-authored-by: old.prince <di7zhang@gmail.com >
2023-01-11 13:06:15 +08:00
586f266798
[Backport release-1.7] Fix: more explicit error when addon package hasn't a metadata.yaml ( #5302 )
...
* 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 >
(cherry picked from commit 6953fe872d )
* fix commets
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 7cacb50976 )
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 4d35cd58f9 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 11:53:00 +08:00
b8dcbe4964
Fix: Delete appplication fails if status.workflow.endTime not specified. ( #5297 )
...
Error Details:
E0106 08:12:02.807341 1 controller.go:317] controller/application "msg"="Reconciler error" "error"="Application.core.oam.dev \"test\" is invalid: status.workflow.endTime: Invalid value: \"null\": status.workflow.endTime in body must be of type string: \"null\"" "name"="test" "namespace"="test" "reconciler group"="core.oam.dev" "reconciler kind"="Application"
If the workflow is not completed, the endtime should be null, and the deletion of the application will fail
Signed-off-by: old.prince <di7zhang@gmail.com >
(cherry picked from commit 16b6a02018 )
Co-authored-by: old.prince <di7zhang@gmail.com >
2023-01-10 15:16:26 +08:00
778579c79b
Test: let addon helper tests use local helm server ( #5290 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
(cherry picked from commit 44eaa1d004 )
Co-authored-by: Charlie Chiang <charlie_c_0129@outlook.com >
2023-01-09 13:30:04 +08:00
Somefive and GitHub
69293f4094
Feat: upgrade cluster-gateway to support client-identity-exchange config ( #5284 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
v1.7.0-beta.1
2023-01-06 16:37:57 +08:00
barnettZQG and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
5a845104fb
Feat: support interactive mode to manually skip encountered errors ( #5266 )
2023-01-06 15:03:47 +08:00
Somefive and GitHub
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 and GitHub
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
Tianxin Dong and GitHub
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 and GitHub
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 and GitHub
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
Tianxin Dong and GitHub
360c9e24b2
Feat: support hostpath in storage and vela cli ( #5265 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-05 10:08:54 +08:00
barnettZQG and GitHub
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