Commit Graph

437 Commits

Author SHA1 Message Date
junot
24e7f11489 fix rulegroups to prometheusrules (#5561)
Signed-off-by: junot <junotxiang@kubesphere.io>
2023-03-01 20:22:37 +08:00
Yunkang Ren
a3a6a1cd98 gomod: change projectcalico/calico to kubesphere/calico (#5557)
* chore(calico): update calico to 3.25.0

* chore(calico): replace projectcalico/calico to kubesphere/calico

Signed-off-by: root <renyunkang@kubesphere.io>

---------

Signed-off-by: root <renyunkang@kubesphere.io>
2023-02-28 17:03:36 +08:00
Sekfung Lau
dbdf006fb5 fix: can not re-upgrade helm application in a failed state (#5543) 2023-02-21 14:42:28 +08:00
junot
2cd5f45d47 update prometheus dependencies (#5520)
Signed-off-by: junot <junotxiang@kubesphere.io>
2023-02-14 09:46:22 +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
hongming
129e6fbec3 chore: Generating CRDs supports multiple versions (#5497)
Generating CRDs supports multiple versions
2023-01-31 15:23:12 +08:00
Xinzhao Xu
aab3ad8b87 controller/cluster: ensure cluster is Ready when cleanup notifications (#5392) 2022-12-06 17:06:58 +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
junot
a765914158 fix empty rules in rulegroup of prometheusrules (#5298)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-10-18 18:02:38 +08:00
Eng Zer Jun
d1fec72a32 refactor: move from io/ioutil to io and os packages (#5266)
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-18 15:47:38 +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
d640c5324a alerting v2beta1 tunes (#5200)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-09-07 17:04:41 +08:00
Xinzhao Xu
b7c815c148 Remove scheme duplicate registration code (#5147) 2022-08-22 11:19:00 +08:00
Hanamichi
b47736c500 fix cluster ready condition always true (#5130)
Signed-off-by: x893675 <x893675@icloud.com>

Signed-off-by: x893675 <x893675@icloud.com>
2022-08-14 22:24:38 +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
9bd15b7efc reconcile rulegroups to prometheusrules (#5081)
reconcile rulegroups

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-07-22 10:21:57 +08:00
wanjunlei
a2059725dd support clean up the notification configure when delete cluster (#5077) 2022-07-20 19:27:51 +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
KubeSphere CI Bot
ac36ff5752 Merge pull request #4940 from xyz-li/sa_token
create default token for service account
2022-06-09 11:32:40 +08:00
LiHui
098b77fb4c add key to queue 2022-06-09 11:13:56 +08:00
LiHui
e97f27e580 create sa token 2022-06-09 10:28:55 +08:00
KubeSphere CI Bot
bc00b67a6e Merge pull request #4938 from qingwave/typo-fix
fix some typos
2022-06-08 10:25:00 +08:00
Xinzhao Xu
5e02f1b86b Promptly handle the cluster when it is deleted 2022-06-06 11:31:14 +08:00
qingwave
c78ab9039a fix some typos 2022-06-06 02:43:23 +00:00
hongming
52b7fb71b2 chore: update vendor 2022-05-27 16:42:26 +08:00
hongming
382be8b16b fix: cluster list granted to users is incorrect 2022-05-23 17:06:19 +08:00
KubeSphere CI Bot
3e381c9ad5 Merge pull request #4879 from xiaoping378/patch-1
fix unformatted log
2022-05-23 11:56:51 +08:00
hongming
c434971140 Sync cluster status periodically 2022-05-16 16:00:54 +08:00
hongming
825a38f948 Reduce unnecessary status updates 2022-05-16 10:43:27 +08:00
xiaoping
aa78e3215c fix unformatted log 2022-05-15 21:05:58 +08:00
KubeSphere CI Bot
1c96f99072 Merge pull request #4870 from wansir/fix-4857
Fix: restricted users cannot activate manually
2022-05-12 14:08:04 +08:00
hongming
a67451a51a Fix: restricted users cannot activate manually 2022-05-12 10:00:49 +08:00
fangyunyun
0b17228017 fix tcp match error 2022-05-09 15:43:34 +08:00
KubeSphere CI Bot
499e21193c Merge pull request #4605 from iawia002/clean
Cleanup cluster controller and remove unused code
2022-05-06 16:39:02 +08:00
f10atin9
f92026c606 add accessor
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-04-06 16:44:32 +08:00
Xinzhao Xu
1e760b0069 Cleanup cluster controller and remove unused code 2022-03-09 10:52:33 +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
d6424eee67 Merge pull request #4695 from wansir/fix-4442
Fix cannot change user status to disabled
2022-03-09 10:22:13 +08:00
Xinzhao Xu
7ae117cbbd Update the clusterName field when the kubesphere-config configmap is updated 2022-03-01 16:22:02 +08:00
hongming
4457f61a22 Fix cannot change user status to disabled 2022-03-01 14:08:04 +08:00
Xinzhao Xu
e966a1da6f Set the name of the current cluster into the kubesphere-config configmap 2022-02-24 11:51:23 +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
Ning Li
64c512faf0 fix typo in comment
Signed-off-by: Ning Li <lining2020x@163.com>
2022-02-11 11:28:28 +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
KubeSphere CI Bot
bce14cc874 Merge pull request #4602 from chaunceyjiang/fix_4601
fix helm_controller assignment to entry in nil map
2022-01-10 15:40:33 +08:00
chaunceyjiang
4e7d156095 fix helm_controller assignment to entry in nil map 2022-01-10 11:50:12 +08:00
Xinzhao Xu
7bbefdd30c Sync the expiration time of kubeconfig cert file of the cluster 2022-01-06 12:33:05 +08:00