Zheng Xi Zhou
7bfcd6acc5
Fix: don't override user definied region ( #3503 )
...
* Fix: don't override user definied `region`
Fix #https://github.com/oam-dev/kubevela/issues/3384
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix check-diff
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix UT
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* revert some changes
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-09 15:10:31 +08:00
Tianxin Dong
d593b7ad9c
Feat: support multi keys in patchKey ( #3826 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-05-08 10:39:01 +08:00
StevenLeiZhang
88fb854a26
Feat: Support basic-auth or reuse chartmuseum as addon registry ( #3787 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-05-07 23:39:34 +08:00
Somefive
d2cb1bfd4a
Feat: add support for apprt ( #3824 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-07 20:31:41 +08:00
Jianbo Sun
eefccfb565
Chore: seprate test into linux env which can't be execute in darwin ( #3823 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-05-07 18:14:12 +08:00
cezhang
877ab3909d
Fix: update latest version Fix: 1.2 upgrade 1.3 workflowstep XXX not found ( #3804 )
...
* Fix: 1.2 upgrade 1.3 workflowstep XXX not found
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
handle publishversion case
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add test
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
add test
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
lint code
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
2022-05-07 12:07:26 +08:00
Zhiyu Wang
7f23165ee5
Feat: deploy user info ( #3744 )
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
2022-05-05 17:22:40 +08:00
Somefive
3cde2337c6
Feat: upgrade dependencies ( #3776 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-05 14:37:50 +08:00
JarHMJ
c8ae44c7e1
Test: add some unittest to addon cache ( #3801 )
...
Signed-off-by: huangminjie <minjie.huang@daocloud.io >
2022-05-04 10:31:44 +08:00
Jianbo Sun
755ccad654
Chore: update some docs to the new org url ( #3792 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-29 15:59:29 +08:00
StevenLeiZhang
0e4a480a4e
Fix: useless \n is printed in log message ( #3791 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-04-29 15:44:10 +08:00
StevenLeiZhang
57dcab5f18
Fix: log message wraps wrong arguments ( #3781 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-04-29 13:26:58 +08:00
Somefive
1bd9a0eca3
Fix: kubectl check err ( #3759 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-28 16:32:38 +08:00
Somefive
512664b9b3
Feat: support dependsOn in deploy workflowstep ( #3750 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-28 16:29:34 +08:00
Xiangbo Ma
9238fc3edf
Feat: Support trait with custom resource be dispatched to hubcluster. ( #3774 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-04-28 13:44:52 +08:00
barnettZQG
7b2f4af610
Feat: add some APIs to manage the definitions ( #3749 )
...
* Feat: add a api for update the ui schema
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add an API to change the definition status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change cache key
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the error words
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-27 14:23:05 +08:00
Tianxin Dong
a1ada2609e
Feat: add default user in dex ( #3753 )
...
* Feat: add default user in dex
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix e2e test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* remain log
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-27 10:21:10 +08:00
wyike
8f127ce715
Fix: fix the bug of vela cli enable addon by localDir on windows os ( #3761 )
...
* 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
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-26 20:52:19 +08:00
Zheng Xi Zhou
b4894cc284
Fix: use Terraform provider name as application in CLI ( #3742 )
...
* 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 >
* fix
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add UTs
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-26 12:53:14 +08:00
wyike
fa75c1f4a5
use unical project filter func to list secret ( #3741 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix pointer
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-25 10:05:31 +08:00
Zhiyu Wang
cdc1550e17
Feat: apiserver definition alias ( #3721 )
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
2022-04-24 18:03:55 +08:00
Somefive
2d28fb35eb
Feat: multi-cluster authentication ( #3713 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-24 14:48:26 +08:00
Zheng Xi Zhou
58edb344f6
Feat: check whether a project matched a config's project ( #3725 )
...
* 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 >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* change imports order
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* change imported libraries order again
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-22 17:53:41 +08:00
Xiangbo Ma
520e67f63b
Feat: Delete the annotation "kubernetes.io/last-applied-configuration" in applicationRevision. Signed-off-by: Xiangbo Ma <maxiangboo@cmbchina.com> ( #3724 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-04-22 17:04:24 +08:00
Tianxin Dong
7eb0002692
Feat: add sequential in gc policy ( #3701 )
...
* Feat: add sequential in gc policy
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* tidy the code
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add suite test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add example docs and update the field
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change the name to dependency
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-22 16:34:07 +08:00
fengkang01
54e333148f
Feat(lang): The policy controller generate the OpenAPI schema ( #3703 )
...
* Fix: The policy controller generate the OpenAPI schema (#3683 )
Signed-off-by: DESKTOP-FV8IFEC\10690 <1069029381@qq.com >
* Feat(lang): The policy controller generate the OpenAPI schema (#3683 )
The policy controller does not generate the OpenAPI schema #3683
add CapabilityPolicyDefinition struct comment
add StoreOpenAPISchema of CapabilityPolicyDefinition comment
Signed-off-by: fengkang <fengkangb@digitalchina.com >
* Feat(lang): The policy controller generate the OpenAPI schema (#3683 )
The policy controller does not generate the OpenAPI schema #3683
fix unit-test
Signed-off-by: fengkang <fengkangb@digitalchina.com >
* Feat(lang): The policy controller generate the OpenAPI schema (#3683 )
fix unit-test about policydefinition_controller_test.go
The policy controller does not generate the OpenAPI schema #3683
fix unit-test
Signed-off-by: fengkang <fengkangb@digitalchina.com >
* Feat(lang): The policy controller generate the OpenAPI schema (#3683 )
fix unit-test about policydefinition_controller_test.go
Signed-off-by: fengkang <fengkangb@digitalchina.com >
* Feat(lang): The policy controller generate the OpenAPI schema (#3683 ) gen crd
Signed-off-by: fengkang <fengkangb@digitalchina.com >
* Feat(lang): The policy controller generate the OpenAPI schema (#3683 ) make reviewable
Signed-off-by: fengkang01 <fengkangb@digitalchina.com >
Co-authored-by: DESKTOP-FV8IFEC\10690 <1069029381@qq.com >
2022-04-22 15:53:20 +08:00
wyike
c126a5b272
fix several issues ( #3729 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-22 15:47:08 +08:00
Tianxin Dong
426b22d2e5
Feat: add log provider ( #3711 )
...
* Feat: add log provider
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lift
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix vet
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix rebase vet
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-22 13:14:51 +08:00
Arena.Su
007f13d2ee
Feat(delay suspend): delayDuration in suspend step properties ( #3644 )
...
* Feat(delay suspend): add delayDuration in suspend step properties to support delay by certain time.Duration
Signed-off-by: suxiang <suxiang@asiainfo.com >
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(delay suspend): add delayDuration parameter to suspend cue
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): optimize wait suspend
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): change e2e test to local cluster env
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): fix WaitSuspend status modify bug
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): suspend cue parameter type error
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): set waitDuration optional param in suspend workflow step
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): add lost suspend.yaml
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): change solution to add suspendState
Signed-off-by: ArenaSu <704427617@qq.com >
* Feat(wait suspend): change durationWaiting to duration and add isPatch to gcResourceTrackers
Signed-off-by: ArenaSu <704427617@qq.com >
2022-04-22 11:40:13 +08:00
wyike
81d479aedf
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 >
2022-04-22 10:18:28 +08:00
Lei Chu
25e33cdd6d
Fix: embed.FS filepath that follow the unix style file path when running on windows ( #3718 )
...
* fix: "builtin-apply-component.cue: file does not exist"
Signed-off-by: lei.chu <1062186165@qq.com >
* fix: "builtin-apply-component.cue: file does not exist"
Signed-off-by: lei.chu <1062186165@qq.com >
2022-04-21 14:31:53 +08:00
qiaozp
900653a2da
Feat: vela def gen-api command ( #3699 )
...
* Feat: vela def go-gen command
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Add unittest
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* lint
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* header
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Add test case
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* more test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add optional prefix, add omitempty in json tag
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* lint
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* lint
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-04-20 18:08:24 +08:00
StevenLeiZhang
e3612ac352
Fix: vela-core does not report error, when component depends on invalid component ( #3636 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-04-20 13:37:34 +08:00
Somefive
571e154af3
Fix: bind env to system namespace ( #3706 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-19 20:55:59 +08:00
wyike
2ac4ddad03
Feat: calculate systemInfo everyday periodically and store them in datastore ( #3689 )
...
* add framework
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add
finish the framework
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
finish test manually
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add update time
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
adding test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
finish test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
abs
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* move start func to leader election call back funcs
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* resolve the recycle import problecm
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix issue
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
2022-04-19 10:24:54 +08:00
Somefive
c5e1855a55
Feat: support disable legacy gc upgrade operation ( #3694 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-18 17:05:47 +08:00
Zheng Xi Zhou
cb4a9ea1a8
Fix: set provider name as the config name ( #3687 )
...
- 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 >
2022-04-18 16:47:51 +08:00
Tianxin Dong
21216055fb
Feat: add vela debug command ( #3580 )
...
* Feat: add debug configmap if debug policy is specified
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add vela debug command
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make code reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix sonartype lift
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix cue string
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: display better for debug
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* tidy the go mod
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add debug test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change uitable vendor
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* pass resource keeper from handler
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix rebase
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-18 11:06:14 +08:00
Somefive
8998537dc8
Fix: rt resource key compare mismatch local cluster ( #3681 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-15 16:13:07 +08:00
barnettZQG
4ddfe32fc4
Fix: can not query the instance list for the app with apply once policy ( #3670 )
...
* Fix: can not query the instance list for the app with apply once policy
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case about ListResourcesInApp
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-15 14:38:01 +08:00
Tianxin Dong
62ecc70ade
Fix: fix token invalid after the server restarted ( #3658 )
...
* Fix: fix token invalid after the server restarted
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-14 22:25:43 +08:00
Somefive
5857aa8790
Fix: vela status tree show cluster alias & raw format ( #3659 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-14 19:35:47 +08:00
ZhongsJie
49646ddc8e
Feat: enhance storage trait to support multi-mountToEnv config Signed-off-by: Shijie Zhong <zhongsjie@cmbchina.com> ( #3657 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-04-14 19:34:12 +08:00
Jianbo Sun
707905d877
Fix: add label from inner system in CR can prevent sync ( #3655 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-14 19:32:53 +08:00
barnettZQG
7d3ef0595a
Fix: duplicately list pods in velaQL ( #3650 )
...
* Fix: duplicately list pods in velaQL
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the create time of synced app is empty
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-14 17:43:54 +08:00
Zheng Xi Zhou
af6dc4bda3
Fix: failed to deploy application when no there is no avaiable ( #3652 )
...
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 >
2022-04-14 17:25:34 +08:00
Zheng Xi Zhou
f44bd7c6dd
Fix: refine the config sync logic ( #3602 )
...
* Fix: refine config management
- Refine the config sync logics
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-04-14 13:03:59 +08:00
wyike
eaec8348d9
Fix: try to fix CVE ( #3641 )
...
* try to fix cve
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add parse input func
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* use santize
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-14 10:03:15 +08:00
wyike
2849dfc1fb
Fix: clear info when addon version cannot meet require ( #3642 )
...
* 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
* add test for this
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
small fix
2022-04-14 10:02:47 +08:00
Somefive
d657ea4daf
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 >
2022-04-13 22:20:07 +08:00