Commit Graph

63 Commits

Author SHA1 Message Date
wanjunlei
08b8069647 support route notifications to specified users (#5206)
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>

Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
2022-10-11 17:36:27 +08:00
junot
3810db2879 support scoped nodes and workloads for global rules (#5279)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-10-11 17:26:27 +08:00
Xinzhao Xu
71b5daaed0 utils: remove the controller-runtime dependency (#5256) 2022-09-29 16:35:26 +08:00
Xinzhao Xu
ac3ecb5a96 Implement the helm executor package (#5245)
* Implement the helm executor package

* add createNamespace option and delete service account related logic
2022-09-29 14:25:24 +08:00
Xinzhao Xu
9e4f207c46 Add the helm executor common package (#5240) 2022-09-22 23:41:18 +08:00
junot
789a0ab1e4 fix rule status set (#5219)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-09-16 18:43:48 +08:00
junot
b97a49b925 enhance globalrulegroups (#5134)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-08-12 20:30:33 +08:00
junot
74e127e1a6 add alerting v2beta1 apis (#5115)
* generate alerting resource client

Signed-off-by: junot <junotxiang@kubesphere.io>

* add alerting v2beta1 apis

Signed-off-by: junot <junotxiang@kubesphere.io>

* tweak some varibles and descs

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-08-04 13:38:41 +08:00
wanjunlei
a2059725dd support clean up the notification configure when delete cluster (#5077) 2022-07-20 19:27:51 +08:00
junot
23cec5886c add admission webhook for rulegroups (#5071)
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-07-18 18:51:49 +08:00
hongming
521cb40c21 Upgrade go version to 1.18 (#5045)
* Upgrade go version to 1.18

* fix go 1.18 compatibility

* update gofmt

* ignore golangci-lint staticcheck

* update gofmt
2022-07-18 10:42:48 +08:00
junot
e529703c49 add rulegroup definitions for different scopes (#5064)
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-07-18 09:45:12 +08:00
wanjunlei
5cead172cd update notification manager to v2.0 (#5030)
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
2022-07-05 16:04:33 +08:00
andrew_li
f289795312 Add golangci-lint workflow (#4999)
* fix lint workflow

* add golang lint

* close http response body
2022-06-29 11:58:36 +08:00
hongming
382be8b16b fix: cluster list granted to users is incorrect 2022-05-23 17:06:19 +08:00
hongming
211fb293e0 refactor: remove the useless CRD 2022-05-19 15:43:37 +08:00
Xinzhao Xu
4a0e4ba73c update openapi 2022-05-16 16:16:36 +08:00
hongzhouzi
dd836fc652 fix:modify the default resource reservation of gateway system, gateway.go typo 2022-05-11 10:50:33 +08:00
Pilipalaca
1e5c4c7749 make deepcopy
Signed-off-by: Pilipalaca <85749695@qq.com>
2022-04-27 15:50:46 +08:00
Pilipalaca
e90efe1c34 fix: fix the gateway variable name.
Signed-off-by: Pilipalaca <85749695@qq.com>
2022-04-21 17:13:05 +08:00
hongming
4457f61a22 Fix cannot change user status to disabled 2022-03-01 14:08:04 +08:00
Xinzhao Xu
7deb9c2746 update codegen 2022-02-16 11:13:59 +08:00
Xinzhao Xu
d3ed81059f Use the kube-system UID to identify if the member cluster already exists 2022-02-16 11:09:52 +08:00
Xinzhao Xu
57f51b7ca1 Update automatically generated files 2022-02-14 16:30:58 +08:00
Xinzhao Xu
7bbefdd30c Sync the expiration time of kubeconfig cert file of the cluster 2022-01-06 12:33:05 +08:00
lxm
53c48995a7 feat: add ExternalKubeAPIEnabled to cluster
Signed-off-by: lxm <lxm.xupt@gmail.com>
2021-12-10 15:50:46 +08:00
live77
393a3e3be0 add comment for password pattern explaination. 2021-11-27 13:22:33 +08:00
live77
7d68cbd18e fix: enable user password pattern checking via CRD validation. 2021-11-27 13:22:33 +08:00
hongming
20163dd795 Fix no kind FederatedGroupBinding is registered 2021-10-21 11:49:47 +08:00
LiHui
745ca088a7 add built-in repo to dynamiclly load app into app-store
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +08:00
LiHui
b8d85fb75c add sync period to helm repo
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +08:00
KubeSphere CI Bot
83df7d1ffd Merge pull request #4228 from wansir/fix-4167
Fix inconsistent user status in member cluster
2021-09-17 16:09:52 +08:00
root
c455afeccf Add notification setting validation API
Signed-off-by: root <dehaocheng@yunify.com>
2021-09-16 14:21:06 +08:00
hongming
559a378ca4 Fix inconsistent user status in member cluster
Signed-off-by: hongming <hongming@kubesphere.io>
2021-09-16 10:20:42 +08:00
Roland.Ma
9360dfd1b2 add config property to save the additional configuration
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-09-06 03:16:23 +00:00
Roland.Ma
9cab2b8339 add gateway api
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-31 08:44:54 +00:00
Roland.Ma
8796ba46e8 update sync rule
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-25 03:51:42 +00:00
KubeSphere CI Bot
9dfb736a03 Merge pull request #4166 from RolandMa1986/fix-kubesphereapi
fix: kubesphere/api package UT failed
2021-08-25 10:19:11 +08:00
KubeSphere CI Bot
c740fef5b4 Merge pull request #4164 from wenhuwang/upgrade_ingress_apigroup
Upgrade ingress api version to networking.k8s.io/v1
2021-08-23 12:59:51 +08:00
Roland.Ma
0b4c22a72c fix client-go go mod
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-20 09:53:19 +00:00
Roland.Ma
373f78f2ed fix: kubesphere/api package UT failed
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-20 08:46:26 +00:00
wenhuwang
adfd3d7aaf Upgrade ingress api version to networking.k8s.io/v1
Signed-off-by: wenhuwang <976400757@qq.com>
2021-08-19 15:36:04 +08:00
yuswift
91fa1b352e fix api go mod tidy error
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-08-19 11:15:25 +08:00
Roland.Ma
c23c1adcd1 fix openapi build
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-16 06:59:20 +00:00
Roland.Ma
3bfae73318 fix ks-apiserver missing interfaces
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-16 06:58:12 +00:00
Roland.Ma
810bfb618a fix client.Object type
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-16 06:58:12 +00:00
yuswift
e9695cba4c fix spelling typo
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-07-15 11:06:07 +08:00
KubeSphere CI Bot
2baa0faa75 Merge pull request #3936 from wansir/remove-useless-crd
Remove useless federated resources(users, roles, rolebindings) CRD files from config/crds
2021-06-25 09:38:22 +08:00
Roland.Ma
e6736a4e0e moving jwt-go from github.com/dgrijalva/jwt-go v3.2.0 to github.com/form3tech-oss/jwt-go v3.2.2
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-06-08 10:11:56 +00:00
hongming
3f1830397f Remove useless CRD
Signed-off-by: hongming <talonwan@yunify.com>
2021-06-03 18:50:03 +08:00