Jianbo Sun and GitHub
4bd4e9014f
Feat: support read from URL for --file command globally ( #4346 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-11 16:59:54 +08:00
Somefive and GitHub
2cfedf7439
Fix: escape resource name for label selector ( #4348 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 15:26:14 +08:00
Charlie Chiang and GitHub
3a6d947f07
Feat: create VelaQL views using vela ql apply ( #4324 )
...
* Feat: create VelaQL views using `vela ql create`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: merge reusable function
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format import
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for `status` or `export` fields
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: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: rename variables
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-07 13:59:16 +08:00
wyike and GitHub
5de790413f
Feat: support self-signed helm repo ( #4322 )
...
* support self-signed helmrepo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix golint
fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add certkey and certfile
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-07 12:21:59 +08:00
Jianbo Sun and GitHub
37605a1a8d
Fix: filter last applied config for CRD, fixes #3679 ( #4331 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-06 17:42:54 +08:00
Jianbo Sun
eea8570e10
Feat: add the CloudShell feature ( #4280 )
...
* Feat: add the CloudShell feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: handle the error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: change the auth package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the CSR name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the generate function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-01 23:31:15 +08:00
Charlie Chiang and GitHub
370940070b
Feat: filter definitions by which addon installed them ( #4156 )
...
* Feat: filter by source addon in `vela def list`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: change header year to 2022
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use generic filters for extensibility
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: change variable addonFilter to addonName
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: update tests according to code changes
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: unify SearchDefinition params using filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: simplify tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: remove redundant code
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests with multiple filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: show SOURCE-ADDON column in `def list`, if any
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add addon filter to apiserver definition-lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: fix lint issues
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Chore: update swagger doc accordingly
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for filter Applying
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add a helper function to apply filters to lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add OwnerAddon to DefinitionBase
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for OwnerAddon field
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add addon util tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-06-29 10:55:50 +08:00
Jianbo Sun and GitHub
8b441b6579
Fix: provider can't be added since 1.4 as context abused && Feat: add cache for remote terraform module in vela show ( #4256 )
...
* Fix: provider can't be added since 1.4 as context abused
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: add cache for remote terraform module in vela show
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: add message for terraform resource in error state
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-06-27 11:31:06 +08:00
Somefive and GitHub
92fa67cd69
Feat: support url in ref-objects ( #4240 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 19:34:51 +08:00
c4e1f39d28
Feat: Support kruise rollout ( #4243 )
...
* Feat: support kruise rollout
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
resolve roll back
fix
add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
small fix
* fix rollback
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
topology filter by owner reference
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix imports
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix lint
* rollback related tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
rename the operator
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix bugs
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
* clean args before start
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
* remove replace go mod
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix operation tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 18:03:04 +08:00
Charlie Chiang and GitHub
f8833e34bc
Feat: implement addon init command ( #4162 )
...
* Feat: implement addon create command
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make global vars local
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: fix typos
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: create test for file utils
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: use -p flag to manually specify paths
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: create empty scaffold if Chart-related paramaters are not provided
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: fix golangci-lint warnings
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add cli tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: show URL in errors if an invalid URL is detected
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-06-24 14:25:36 +08:00
Somefive and GitHub
9c7d3f408d
Feat: support shared resource ( #4213 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 10:56:27 +08:00
barnettZQG and GitHub
2ec18bd52e
Feat: add the API for querying the image info ( #4209 )
...
* Feat: add the API for querying the image info
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-06-21 15:03:55 +08:00
barnettZQG and GitHub
c82bcf146a
Fix: the new default values do not take effect when upgrading the vela core ( #4092 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-06-02 10:22:10 +08:00
StevenLeiZhang and GitHub
f8f0730ed8
Fix: Can not delete terraform provider ( #4070 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-05-31 15:01:00 +08:00
Xiangbo Ma and GitHub
3538007fc4
Fix: error message of vela init env is not clear ( #4016 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-05-27 17:34:02 +08:00
barnettZQG and GitHub
09ce919b2b
Feat: Refactoring the API Server module for better layering ( #3945 )
...
* Feat: Refactoring the API Server module for better layering
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix the lint errors
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-23 12:17:28 +08:00
Somefive and GitHub
c5b28cb4b3
Feat: vela auth grant-privileges ( #3943 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-23 10:47:13 +08:00
Noorain Panjwani and GitHub
564cbaf5d4
Feat(cli): added the offline flag to the dry-run command ( #3875 )
...
* Feat(cli): Added an offline flag to the 'dry-run' command
Signed-off-by: Noorain Panjwani <noorain.panjwani@gmail.com >
* Using a fake client now for offline mode
Signed-off-by: Noorain Panjwani <noorain.panjwani@gmail.com >
2022-05-21 23:00:45 +08:00
Jianbo Sun and GitHub
6bef810dc3
Fix: remove last-applied-config annotation for configmap and secret ( #3939 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-05-20 17:08:36 +08:00
Zheng Xi Zhou and GitHub
8ab311f2ff
Feat: API of retrieving image registry secrets by image and its tag ( #3719 )
...
* Feat: check existence of an image
Checked existence of an image in
- public docker hub
- private image registry
Add an API to retrieve image registry secrets by an image and or
its tag. In veluaUX, it will help auto-fill uesrs' imagePullSecrets
fields
Fix https://github.com/kubevela/velaux/issues/436
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* replace the implementation with libary google/go-containerregistry
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add more testcases
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix UT
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-20 15:23:58 +08:00
Somefive and GitHub
0cd1ae155c
Feat: vela kube apply --cluster ( #3931 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-20 12:11:58 +08:00
Somefive and GitHub
12ec62dd65
Feat: vela auth list-privileges ( #3923 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-18 20:57:39 +08:00
Somefive and GitHub
9d6706d48e
Feat: vela auth gen-kubeconfig ( #3911 )
...
* Feat: vela create kubeconfig
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-18 16:14:00 +08:00
Somefive and GitHub
4d73715422
Feat: controller auto-impersonation ( #3906 )
...
* Feat: add featrue flags for controller auto impersonation
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add auto-detect for kubeconfig identity
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-16 18:05:56 +08:00
barnettZQG and GitHub
3fdf39c8e1
Feat: change the default workflow step with deploy type ( #3878 )
...
* Feat: change the default workflow step with deploy type
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: format the cue script of the deploy step
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: error words
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-13 14:24:14 +08:00
Somefive and GitHub
967bc7786d
Fix: use vela prism for accessing clusters as alternative ( #3849 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-12 10:47:35 +08:00
Zheng Xi Zhou and GitHub
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
StevenLeiZhang and GitHub
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
Jianbo Sun and GitHub
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
Zheng Xi Zhou and GitHub
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
Somefive and GitHub
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 and GitHub
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
Somefive and GitHub
571e154af3
Fix: bind env to system namespace ( #3706 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-19 20:55:59 +08:00
Somefive and GitHub
0e97aa2291
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 >
2022-04-12 17:58:45 +08:00
wyike and GitHub
2e57be1022
Feat: support basic auth private helm repo ( #3595 )
...
* support auth
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* 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
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add more test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* extract set auth info as a global func
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* return bcode
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-04-12 14:33:44 +08:00
Jianbo Sun and GitHub
85c673a574
Fix: reuse chart values in vela install ( #3616 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-11 09:50:18 +08:00
qiaozp and GitHub
7e6d9ccc73
Fix: vela logs without specified resource name ( #3605 )
...
* Fix: vela logs without specified resource name
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add unittest
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-04-08 17:22:05 +08:00
83fe4a160e
Feat(lang): add addons gitlab support ( #3543 )
...
* add addons gitlab support
Signed-off-by: Namo <lgj112113@163.com >
* add addons gitlab support
Signed-off-by: Namo <lgj112113@163.com >
* test file edit
Signed-off-by: Namo <lgj112113@163.com >
* typo edit
Signed-off-by: Namo <lgj112113@163.com >
* notes edit
Signed-off-by: Namo <lgj112113@163.com >
* move third party imports block
Signed-off-by: Namo <lgj112113@163.com >
* code format edit
Signed-off-by: Namo <lgj112113@163.com >
* notes edit
Signed-off-by: Namo <lgj112113@163.com >
* create addon registry bug fix
Signed-off-by: Namo <lgj112113@163.com >
* add gitlab addon registry bug fix
Signed-off-by: Namo <lgj112113@163.com >
* add addon gitlab support test file
Signed-off-by: Namo <lgj112113@163.com >
* add addon gitlab support test note edit
Signed-off-by: Namo <lgj112113@163.com >
* add addon gitlab branch support and fix bug
Signed-off-by: Namo <lgj112113@163.com >
* addon gitlab registry repo name invalid
Signed-off-by: Namo <lgj112113@163.com >
Co-authored-by: Namo <lgj112113@163.com >
2022-04-07 11:05:14 +08:00
qiaozp and GitHub
de84421487
Feat: add name param in vela logs ( #3556 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-03-30 17:56:59 +08:00
wyike and GitHub
161d2646cb
Feat: helm repo as addon registry to support addon's multi-version ( #3523 )
...
* versioned registry impl
add more test
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 >
fix ui
fix
fix
fix
modify addon registry
2022-03-28 21:25:38 +08:00
barnettZQG and GitHub
044c4bf73c
Feat: add RBAC support ( #3493 )
...
* Feat: add the rbac data model
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add some api about the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add CRUD about the project and the project user
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add CRUD about the role and perm check filter function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: update swagger config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add default roles and perm policies
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add perm check filter for all webservice
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: change the method that find project name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: query applications and envs by user perm
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support get login user info
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change default permissions
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: change PermPolicy to Permission
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add some unit test and fix the e2e test error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change some comment word
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e api path error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-03-28 16:03:11 +08:00
Somefive and GitHub
795231ceb5
Feat: add revision command ( #3506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-28 14:47:47 +08:00
wyike and GitHub
13c420dada
Fix: optimize helm repository logic put cache lower layer and return bcode when error ( #3466 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-18 18:36:19 +08:00
Jianbo Sun and GitHub
6354912bba
Feat: sync application from CR to data store ( #3428 )
...
* Feat: sync application from CR to data store
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feature: address comments
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: add migrate database feature to avoid max 63 charactor in kubeapi storage
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* update the sync data
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-03-18 09:55:15 +08:00
wyike and GitHub
c91a7ac273
Feat(apiserver): helm apiserver webservice (list chart, list version, extract helm values) ( #3398 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-16 11:42:08 +08:00
Sunghoon Kang and GitHub
1300a980f0
Feat: reconcile app with scoped permissions ( #3434 )
...
* Refactor: refactor multi cluster round trippers
Before adding more RoundTrippers, it would be better to expose common
logic in the utility package.
This commit exports `tryCancelRequest` at `utils` package, and make
`secretMultiClusterRoundTripper` implement `RoundTripperWrapper`
interface to allow chaining multiple round trippers.
Refs #3432
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Feat: reconcile app with scoped permissions
Currently, all Application resources are reconciled by the Roles bound
to the controller service account. This behavior gives us the power to
manage resources across multiple namespaces. However, this behavior can
be problematic in the soft-multitenancy environment.
This commit adds `serviceAccountName` to ApplicationSepc to reconcile
Application with the given service account for reconciling Application
with scoped permissions.
Refs #3432
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Refactor: extract context setter as method
https://github.com/oam-dev/kubevela/pull/3434#discussion_r825561603
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Feat: use annotation instead of spec
https://github.com/oam-dev/kubevela/issues/3432#issuecomment-1066460269
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Refactor: unify service account setter caller
https://github.com/oam-dev/kubevela/pull/3434#discussion_r825853612
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Refactor: rename GetServiceAccountName
https://github.com/oam-dev/kubevela/pull/3434#discussion_r826514565
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
2022-03-15 11:55:50 +08:00
Somefive and GitHub
d5e8b68ad2
Fix: rework parallel execution for ApplyComponents and ResourceKeeper Dispatch ( #3407 )
...
* Fix: applyComponents lock and rework parallel execution
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: rename
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-10 16:43:22 +08:00
52f3636a2d
Feat: support gitee repository in addon registry ( #3393 )
...
* Feat: support gitee repository in addon registry
Signed-off-by: fourierr <maxiangboo@163.com >
* Feat: support gitee repository in addon registry
Signed-off-by: maxiangbo <maxiangboo@cmbchina.com >
Signed-off-by: fourierr <maxiangboo@yeah.net >
* Feat: support gitee repository in addon registry Signed-off-by: maxiangbo <maxiangboo@cmbchina.com >
* Feat: support gitee repository in addon registry Signed-off-by: maxiangbo <maxiangboo@cmbchina.com >
Signed-off-by: fourierr <maxiangboo@qq.com >
Co-authored-by: fourierr <maxiangboo@yeah.net >
2022-03-10 10:11:45 +08:00
Kunshuai Zhu and GitHub
0b0ed60b42
Feat: init multi-cluster metrics management ( #3365 )
...
* Feat: init multi-cluster metrics management
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Refactor and add metrics collection for metrics-server
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Modify comment
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Fix staticcheck
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Fix some error
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Fix
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
2022-03-08 14:20:36 +08:00