79 Commits

Author SHA1 Message Date
hongming
0d852e8276 chore: update copyright headers (#6496)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-04-30 15:53:51 +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
LQBing
6e0a48c555 Use autoscaling/v2 instead of autoscaling/v2beta2 (#5833) 2023-07-13 11:02:58 +08:00
hongming
673fdde52c Bump github.com/emicklei/go-restful-openapi to v2.9.2-0.20230507070325-d6acc08e570c (#5669) 2023-05-09 10:13:45 +08:00
hongming
f7d0addf9e Use batch/v1 instead of batch/v1beta1 (#5562) 2023-03-03 10:37:38 +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
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
junot
2b37422645 add label_matcher param to filter alerts (#5353)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-11-08 11:15:26 +08:00
junot
b5cb6fef4e fix rulegroup state filter (#5340)
Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-11-01 11:49:56 +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
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
qiuming520
8e00ba29ca add some unit tests for pkg/api (#4994)
Signed-off-by: qiuming520 <qiuming_yewu@cmss.chinamobile.com>
2022-07-05 11:38: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
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
Xinzhao Xu
883097a3ad Add update cluster kubeconfig API 2021-12-27 11:57:51 +08: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
KubeSphere CI Bot
162a949982 Merge pull request #3643 from yunkunrao/master
Intergate OpenPitrix metrics into metering.
2021-04-02 21:41:53 +08:00
junotx
935df8622a make func more readable for alerting
Signed-off-by: junotx <junotxiang@yunify.com>
2021-04-02 10:53:44 +08:00
junotx
68b0b8f4ba fix case-insensitive keyword query for alerting
Signed-off-by: junotx <junotxiang@yunify.com>
2021-04-02 10:51:14 +08:00
Rao Yunkun
845f6bbe89 Intergate OpenPitrix metrics into metering.
Signed-off-by: Rao Yunkun <yunkunrao@yunify.com>
2021-03-30 18:13:18 +08:00
zryfish
ac275b6e98 add goimports format action (#3630)
Signed-off-by: Jeff <jeffzhang@yunify.com>
2021-03-30 13:44:24 +08:00
KubeSphere CI Bot
88eb1af436 Merge pull request #3409 from junotx/ca
add alerting rule bulk api
2021-03-06 19:46:29 +08:00
junotx
302000a650 tweak some variables and comments to alerting bulk
Signed-off-by: junotx <junotx@126.com>
2021-03-05 21:54:56 +08:00
junotx
c92431547f add some comments to alerting bulk
Signed-off-by: junotx <junotx@126.com>
2021-03-05 10:57:39 +08:00
junotx
91f85254aa add alerting rule bulk api
Signed-off-by: junotx <junotx@126.com>
2021-03-05 10:57:39 +08:00
yunkunrao
e9073f0486 Add metering api.
Signed-off-by: yunkunrao <yunkunrao@yunify.com>
2021-02-22 14:31:10 +08:00
junotx
bac3d66fd2 alerting rules default to sort by update time
Signed-off-by: junotx <junotx@126.com>
2021-02-02 17:52:48 +08:00
junotx
f57d91511d optimize operations for the latest rule resources
Signed-off-by: junotx <junotx@126.com>
2021-02-02 10:24:49 +08:00
junotx
2893f4cc0e update alerting page param
Signed-off-by: junotx <junotx@126.com>
2021-02-01 17:24:45 +08:00
junotx
cdbce887dd enhance the alerting rule validation
Signed-off-by: junotx <junotx@126.com>
2021-02-01 17:23:35 +08:00
junotx
3a0e089129 add request err with api not enabled to alerting
Signed-off-by: junotx <junotx@126.com>
2021-02-01 17:22:43 +08:00
KubeSphere CI Bot
3c79548262 Merge pull request #3268 from RolandMa1986/feat-sa
Feat ServiceAccount management
2021-01-21 20:03:40 +08:00
KubeSphere CI Bot
bed6465993 Merge pull request #3212 from wanjunlei/es
add a es client for auditing, events, and logging
2021-01-19 17:09:19 +08:00
junotx
514fec7eb4 custom alerting use the same API group and flagset to alerting
Signed-off-by: junotx <junotx@126.com>
2021-01-15 13:48:48 +08:00
Roland.Ma
35f7e46c65 feat: add serviceaccounts api
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-01-15 05:23:57 +00:00
junotx
9831eb3533 custom alerting optimize
Signed-off-by: junotx <junotx@126.com>
2021-01-12 16:52:36 +08:00
junotx
371c9b187d custom alerting
Signed-off-by: junotx <junotx@126.com>
2021-01-12 16:52:36 +08:00
wanjunlei
039507c9ae add a es client for auditing, events, and logging
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
2020-12-29 14:17:21 +08:00
hongming
dfaefa5ffb improve identity provider plugin
Signed-off-by: hongming <talonwan@yunify.com>
2020-12-10 14:35:56 +08:00
zryfish
dbc33fe5d2 add license header (#2761)
Signed-off-by: Jeff <zw0948@gmail.com>
2020-08-05 15:54:17 +08:00
zryfish
4702beb6ac add federated resource api (#2725)
Signed-off-by: Jeff <zw0948@gmail.com>
2020-07-31 17:12:58 +08:00
zryfish
114fad5eb0 sanitizer error message to avoid emitting xss error message (#2712)
Signed-off-by: Jeff <zw0948@gmail.com>
2020-07-30 17:45:29 +08:00
huanggze
70d0d5fe18 Allow global admins to view deleted namespace logs
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-07-29 10:26:38 +08:00
hongming
77a3722b4e fix: password modify
Signed-off-by: hongming <talonwan@yunify.com>
2020-07-06 15:12:11 +08:00
wanjunlei
3d3b9d5af5 add response_code_filter parameter in auditing events search api 2020-06-04 12:06:56 +08:00
zryfish
59900f6e1c use kube-apiserver proxy if no kubesphere api endpoint provided (#2144) 2020-06-01 19:54:05 +08:00
root
951c31189a add auditing events search api 2020-05-28 09:55:14 +08:00
Ray Zhou
66609a8511 Add license info in code file as a sample for devops compoment 2020-05-26 09:49:42 +08:00