Commit Graph

3063 Commits

Author SHA1 Message Date
AS!
b80920009c Uniform code format (#5650)
Signed-off-by: sologgfun <857949825@qq.com>
2023-04-26 11:36:27 +08:00
Wenhao Zhou
04f56ee16a Fix:cannot get jobs by informer (#5656)
fix:cannot get jobs by informer

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-04-25 16:41:27 +08:00
Xinzhao Xu
2c23f7c24c controller/cluster: retry when updating the KubeFedCluster conflicted (#5653) 2023-04-25 16:03:27 +08:00
Xinzhao Xu
3bbc9e92a1 Merge multiple duplicate tools files (#5637) 2023-04-13 13:59:42 +08:00
Wenhao Zhou
62427cda32 Move struct DynamicOptions to package pkg/server (#5625)
* move struct DynamicOptions to package pkg/server/dynamic_options.go

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

* update test types

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-04-07 11:33:36 +08:00
hongzhouzi
c57a89af3c Bump github.com/docker/docker from 20.10.23+incompatible to 20.10.24+incompatible (#5627)
fix: Bump github.com/docker/docker from 20.10.23+incompatible to 20.10.24+incompatible

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-04-07 11:15:42 +08:00
Xinzhao Xu
708de806f8 Use the generic Set to replace deprecated methods (#5623) 2023-04-07 11:15:35 +08:00
Wenhao Zhou
634988f529 revert viper version to v1.4.0 (#5626)
* revert viper version to v1.4.0

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

* update vendor

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-04-07 11:06:35 +08:00
chuan-you
19909f731a Update utils.go (#5615)
* Update utils.go

All build alerting is not working

* Update utils.go
2023-04-07 10:38:34 +08:00
Xinzhao Xu
f59ada60b6 Remove the incorrect custom MarshalJSON method to avoid infinite recursion (#5624) 2023-04-07 10:31:34 +08:00
hongming
39a0d6f84e chore: install goimports automatically (#5609) 2023-03-27 15:58:23 +08:00
dependabot[bot]
e4b7840343 Bump golang.org/x/net from 0.5.0 to 0.7.0 in /hack/tools (#5535)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 16:22:14 +08:00
hongzhouzi
988d185a28 Bump github.com/containerd/containerd from v1.6.16 to 1.6.18 (#5599)
fix: Bump github.com/containerd/containerd from v1.6.16 to 1.6.18

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-03-20 11:13:13 +08:00
snowgo
4cd5b81ceb fix hyperlink content in README_zh.md (#5591) 2023-03-17 15:21:53 +08:00
hongzhouzi
ffc1aea306 fix:Return cluster gateway duplicates (#5582)
fix:Return cluster gateway duplicates.

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-03-17 15:14:53 +08:00
hongming
f9fe06434c Update dependencies (#5574)
Update vendor
2023-03-09 10:55:45 +08:00
hongming
00b0229f77 Fix dynamic resource API (#5573) 2023-03-08 19:10:44 +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
e6c1c4b7b5 Add iam v1beta1 APIs (#5502)
update iam v1beta1 types && deprecate iam v1alpha2 apis

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-03-03 11:30:39 +08:00
hongming
f7d0addf9e Use batch/v1 instead of batch/v1beta1 (#5562) 2023-03-03 10:37:38 +08:00
junot
24e7f11489 fix rulegroups to prometheusrules (#5561)
Signed-off-by: junot <junotxiang@kubesphere.io>
2023-03-01 20:22:37 +08:00
Wenhao Zhou
c3623cdda3 Fix: cannot extract identity provider name (#5558)
fix: cannot extract identity provider name

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-03-01 13:35: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
Wenhao Zhou
dc28a0917a Add api for identity provider login (#5534)
* add api for ldap login

* update ldap login to identity provider login for more flexible login type

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

* update PasswordAuthenticate

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

* add test case

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

* update api path

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

* make goimports and add annotations

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

* update func names & add annotations

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-27 18:35:35 +08:00
Wenhao Zhou
9dad732860 Revert PR #5018 (#5548)
Revert "[KS-OIDC] Remove special characters form sub OIDC standard claim (#5018)"

This reverts commit 45a062593f.
2023-02-27 15:34:35 +08:00
Wenhao Zhou
a8ac54f489 Fix: Get nothing when the filter is empty (#5555)
Fix: Unable list object without filters

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-27 15:28:35 +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
Wenhao Zhou
7e4ba8215f Update version root path (#5542)
update version root path

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-20 19:08:28 +08:00
hongming
f0221dbed9 Use golang-jwt/jwt instead of form3tech-oss/jwt-go (#5532) 2023-02-20 12:18:28 +08:00
Joey
4ee6c8da4b chore(docs): Update to the latest v3.3.2 (#5529)
* fix(docs): Use the latest v3.3.2

* Update README_zh.md

Co-authored-by: hongming <coder.scala@gmail.com>

---------

Co-authored-by: joey <joey@ubuntu-work.uwork>
Co-authored-by: hongming <coder.scala@gmail.com>
2023-02-17 10:10:24 +08:00
hongming
785a994a5c Bump helm.sh/helm/v3 from 3.10.3 to 3.11.1 (#5528) 2023-02-16 11:56:23 +08:00
Wenhao Zhou
b143b41e3c Fix cannot get registered resource (#5515)
* Fix can`t get registered resource

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

* update v1beta1 interface Get func`s parameters

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-15 10:50:23 +08:00
junot
2cd5f45d47 update prometheus dependencies (#5520)
Signed-off-by: junot <junotxiang@kubesphere.io>
2023-02-14 09:46:22 +08:00
hongming
a979342f56 Update dependencies (#5518) 2023-02-12 23:09:20 +08:00
Wenhao Zhou
d3b35fb2da Update the password minimum length to 8 (#5516)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-10 20:45:18 +08:00
hongming
decde97a91 chore: Bump golangci-lint to v1.51.1 (#5511) 2023-02-09 12:08:16 +08:00
Bettygogo2021
36bbe34a65 3.3.2 Changelog (#5512)
Signed-off-by: Bettygogo2021 <bettygogo@kubesphere.io>
Co-authored-by: Bettygogo2021 <bettygogo@kubesphere.io>
2023-02-08 19:48:16 +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
hongming
129e6fbec3 chore: Generating CRDs supports multiple versions (#5497)
Generating CRDs supports multiple versions
2023-01-31 15:23:12 +08:00
smartcat999
b5a070edeb feat: update health check API (#5496)
* feat: update health check API

* fix: code lint && update goimports

* feat: update health check response && update goimports
2023-01-30 14:39:11 +08:00
hongzhouzi
5332de8e06 feat: upgrade ingress nginx version. (#5490)
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-01-29 10:20:10 +08:00
Xiao Liu
2972cb97e9 fix the issue that the upload app template did not display icons (#5467)
* fix appstore app home field

* fix the issue that the upload app template did not display icons
2023-01-29 10:11:43 +08:00
Wenhao Zhou
cd109ecff1 Add RoleTemplate CRD (#5080)
* add iam v1beta1 type

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

* update type register

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

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-01-18 11:28:59 +08:00
Junhao Zhang
fe38b7310f adjust Pod status filter (#5483)
Signed-off-by: frezes <zhangjunhao@kubesphere.io>

Signed-off-by: frezes <zhangjunhao@kubesphere.io>
2023-01-17 11:34:45 +08:00
fsl
efac3bde8f update package dependencies (#5463)
Signed-off-by: fsl <1171313930@qq.com>

Signed-off-by: fsl <1171313930@qq.com>
2023-01-13 15:33:36 +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
ade0d324da Upgrade go version to 1.19 (#5446)
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-01-12 16:48:34 +08:00
hongzhouzi
3a03b4a6e1 feat: Gateway supports the configuration of forwarding tcp/udp traffic. (#5445)
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-01-11 10:19:16 +08:00
Carson Yang
c114d51a3b Update the url of slack (#5443)
Signed-off-by: Administrator <admin@example.com>

Signed-off-by: Administrator <admin@example.com>
Co-authored-by: Administrator <admin@example.com>
2023-01-06 11:23:09 +08:00