Commit Graph

306 Commits

Author SHA1 Message Date
KubeSphere CI Bot
0556934ecc [kse-2112] add extension version controller (#6399)
Signed-off-by: ks-ci-bot <ks-ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@kubesphere.io>
2025-03-11 10:13:47 +08:00
liujian
d0483aa39a feature: reduce telemetry dependence. (#6276)
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-11-26 11:31:35 +08:00
KubeSphere CI Bot
447a51f08b feat: kubesphere 4.0 (#6115)
* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

---------

Signed-off-by: ci-bot <ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@example.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-06 11:05:52 +08:00
yonghongshi
b0812d183d update storageclass-accessor webhook (#5927)
Signed-off-by: stoneshi-yunify <stoneshi@kubesphere.io>
2023-10-07 10:45:53 +08:00
hongming
fafe98b4f0 refactor: remove usless options (#5671)
refactor: remove useless options
2023-05-10 14:01:46 +08:00
Xinzhao Xu
708de806f8 Use the generic Set to replace deprecated methods (#5623) 2023-04-07 11:15:35 +08:00
Fritzmomoto
f63c371eaf call validate when config update coz apiserver restart (#5564)
Co-authored-by: jinshanwu <jinshanwu@deeproute.ai>
2023-03-03 15:30:39 +08:00
Wenhao Zhou
23df7b051b ResourceGetter v1beta1 (#5416)
* add resource getter & reader

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

* add resource v1beta1 handler

* delete gvrToGvk map instead of using the dynamicRESTMapper for getting gvk, and rename the ResourceLister to ResourceGetter

* add unregisteredMiddleware filter

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

* add secret contains benchmark & add fieldSelector to resourcev1beta1

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

* delete crds models

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

* delete parameterExtractor and instead of requestInfo

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

* add benchmark test

* move fieldSelector to DefaultObjectMetaFilter

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

* move fieldSelector to DefaultObjectMetaFilter

* change registeredGv type to set

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

* update filter chains

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

* fix fieldSelector cannot work

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

* fix: list known type do not need served label

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>

---------

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-08 15:00:15 +08:00
hongming
1c49fcd57e Bump sigs.k8s.io/controller-runtime to v0.14.4 (#5507)
* Bump sigs.k8s.io/controller-runtime to v0.14.4

* Update gofmt
2023-02-08 14:06:15 +08:00
hongzhouzi
30d10cac53 fix: concurrent map read and map write caused by reloading in ks-apiserver (#5457)
fix: concurrent map read and map write caused by reloading in ks-apiserver.

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-01-12 17:44:55 +08:00
hongzhouzi
efcd4c5512 fix: Resolved some data out of sync after live-reload. (#5422)
refactor: Data not synchronized due to using singleton mode after live-reload.

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-12-21 10:49:53 +08:00
hongming
75e05c59da Fix the registered controller name (#5407) 2022-12-09 15:40:35 +08:00
dkeven
991e479932 Remove the VolumeSnapshot controller that creates a snapshot class automatically (#5380)
Signed-off-by: dkeven <dkvvven@gmail.com>

Signed-off-by: dkeven <dkvvven@gmail.com>
2022-11-24 17:47:48 +08:00
hongzhouzi
44167aa47a Upgrade k8s package verison (#5358)
* upgrade k8s package version

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

* Script upgrade and code formatting.

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-11-15 14:56:38 +08:00
yuyu
41ac27ad31 Check the cluster ID (kube-system UID) when updating the cluster (#5299)
* Add an admission webhook to check cluster ID (kube-system UID) before updating

* Add an admission webhook to check cluster ID (kube-system UID) before updating
2022-10-20 10:37:40 +08:00
hongming
db867fa2ed invalid config file should not be ignored (#5228)
fix the invalid config file should not be ignored
2022-09-20 10:06:15 +08:00
Wenhao Zhou
6af86c2cf1 add dynamic options for cache (#4894)
* add dynamic options for cache

* fixed bugs based on unit-test

* add doc for cache

* make cache implements be private

* Change simpleCache name to InMemoryCache

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

* Remove fake cache and replacing to in memory cache with default parameter

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
2022-09-19 16:46:15 +08:00
ruijzhan
d87d7d2428 avoid re-allocating ServerRunOptions (#5108) 2022-08-01 12:04:56 +08:00
junot
9bd15b7efc reconcile rulegroups to prometheusrules (#5081)
reconcile rulegroups

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-07-22 10:21:57 +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
wanjunlei
5cead172cd update notification manager to v2.0 (#5030)
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
2022-07-05 16:04:33 +08:00
KubeSphere CI Bot
f0cc7f6430 Merge pull request #4928 from xyz-li/gops
Add agent to report additional information.
2022-06-07 10:51:38 +08:00
LiHui
47563af08c add gops agent to ks-apiserver&&controller-manager 2022-06-07 09:45:09 +08:00
LiHui
17b97d7ada complete the help doc 2022-05-31 10:41:25 +08:00
hongming
382be8b16b fix: cluster list granted to users is incorrect 2022-05-23 17:06:19 +08:00
LiHui
35027a346b add openpitrix Client to apiserver 2022-05-20 17:37:52 +08:00
LiHui
32b85cd625 cluster clusters 2022-05-20 11:53:51 +08:00
hongming
825a38f948 Reduce unnecessary status updates 2022-05-16 10:43:27 +08:00
f10atin9
f92026c606 add accessor
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-04-06 16:44:32 +08:00
mango
f018a23023 chore: add licenses check tools (#4706)
* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* remove verify-licenses because verify-all exist.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* update modules.txt

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.mod

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* update vendor directory.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.sum

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.sum

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* ignore `pkg/controller/application/status.go`

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* add license header.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>
2022-03-09 10:25:13 +08:00
KubeSphere CI Bot
19048d52dc Merge pull request #4679 from iawia002/cluster-name
Set the name of the current cluster into the kubesphere-config configmap
2022-03-07 13:22:11 +08:00
Xinzhao Xu
7ae117cbbd Update the clusterName field when the kubesphere-config configmap is updated 2022-03-01 16:22:02 +08:00
f10atin9
dda5432e14 Rename workload-restarter to pvc-workload-restarter
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-02-28 14:01:07 +08:00
f10atin9
a810256f30 fix prometheusURL
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-02-24 16:19:52 +08:00
f10atin9
fdf5d73cb1 add some constants, fixed prometheusURL hard code
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-02-24 16:16:23 +08:00
f10atin9
7f5a90bf52 add pvc-autoresizer controller and workload restarter controller.
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-02-24 16:16:23 +08:00
x893675
f5bcbda0c9 optimize config package
Signed-off-by: x893675 <x893675@icloud.com>
2022-02-22 11:21:03 +08:00
x893675
2a521bb157 add feature for live-reload when configuration changed
Signed-off-by: x893675 <x893675@icloud.com>
2022-02-08 16:28:01 +08:00
Roland.Ma
3ed9cfe6ad delete gateway when namespace is deleted
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2022-01-18 02:55:28 +00:00
live77
522d2db3a5 run gofmt to fix format. 2021-12-11 09:03:39 +08:00
live77
79bfab0ca9 rename ControllerSelectors to ControllerGates 2021-12-11 08:54:13 +08:00
live77
97c02652bc fix code format 2021-12-06 22:04:22 +08:00
live77
81db894741 add --controllers option in ks-controller-manager
imple controller enable/disable check logic
add unittest for selective controller enable/disable
move all controllers init code to a single place
2021-12-05 16:06:08 +08:00
Roland.Ma
4050e5d388 allow to override docker image in kubesphere config
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-11-03 09:36:40 +00:00
liuan
8657cd31b2 if error is not NULL,return error 2021-10-21 17:23:42 +08:00
hongming
4b5b1c64bc Refactor authenticator
Signed-off-by: hongming <hongming@kubesphere.io>
2021-09-17 16:39:20 +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
hongming
559a378ca4 Fix inconsistent user status in member cluster
Signed-off-by: hongming <hongming@kubesphere.io>
2021-09-16 10:20:42 +08:00
KubeSphere CI Bot
8586e36e52 Merge pull request #4224 from yuswift/validate-name
add validation for host cluster name
2021-09-15 10:48:51 +08:00
yuswift
afca5672d6 add validation for cluster name
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-09-09 15:20:56 +08:00