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
00b0229f77
Fix dynamic resource API ( #5573 )
2023-03-08 19:10:44 +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
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
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
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
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
smartcat999
1e2a8c1699
fix: ks-apiserver panic error: ServiceAccount's Secret index out of r… ( #5428 )
...
fix: ks-apiserver panic error: ServiceAccount's Secret index out of range
2022-12-26 10:08:58 +08:00
Xiao Liu
4991d88d68
fix Home field fault in appstore application ( #5425 )
...
fix appstore app home field
2022-12-21 10:56:53 +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
Ruyi Guo
45ce9b76ea
Fix missing maintainers in helm apps ( #5401 )
...
fix missing maintainers in helm apps
2022-12-20 11:36:52 +08:00
isyes
1837437612
Fix id generate error in IPv6-only environment. ( #5419 )
...
* Fix id generate error in IPv6-only environment.
* delete unused code
2022-12-20 11:31:52 +08:00
hongzhouzi
146830dfcb
Upgrade dependent version: github.com/containernetworking/cni ( #5323 )
...
Upgrade dependent version: github.com/containernetworking/cni v0.8.0 -> v1.1.2
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
2022-12-16 15:43:48 +08:00
hongming
5151556663
Fix failed to cache resources if group version not found ( #5408 )
2022-12-09 16:18:34 +08:00
Xinzhao Xu
aab3ad8b87
controller/cluster: ensure cluster is Ready when cleanup notifications ( #5392 )
2022-12-06 17:06:58 +08:00
hongming
d739c693c1
Remove the broken test case ( #5396 )
2022-12-05 10:50:57 +08:00
Wenhao Zhou
493586d9a6
Add api /version and deprecated api /kapi/version ( #5390 )
...
add /version api and deprecated api /kapi/version
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-11-30 12:48:53 +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
junot
e0cb0a889b
fix rule status ( #5381 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-11-24 16:08:48 +08:00
JohnJan
bd55ad516c
Fix: remove unnecessary case in field selector ( #5367 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-17 10:20:40 +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
hzhhong
a8046eee00
Fix:Goroutine leaks when getting audit event sender times out ( #5342 )
...
* Fix:Goroutine leaks when getting audit event sender times out
* make it more readable
2022-11-11 10:50:35 +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
Elon Cheng
ea694684a0
Calculating the Number of Logs in opensearch ( #5352 )
...
Calculating the Number of Logs
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Co-authored-by: chengdehao <dehaocheng@kubesphere.io >
2022-11-06 21:03:15 +08:00
junot
d487af7462
fix rulegroup typemeta miss ( #5349 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-11-04 18:40:59 +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
Wenhao Zhou
7e8edef01a
Fix: globalrole has cluster management right can not manage cluster ( #5331 )
...
Fix: globalrole has permision of cluster management can not manage cluster
2022-10-27 14:09:50 +08:00
nuclearwu
89b1b6db87
support fieldselector filter query secrets ( #5300 )
...
* support fieldselector filter query secrets
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* support fieldselector filter query secrets
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* support fieldselector filter query secrets
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* support fieldselector filter query secrets
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* support fieldselector filter query secrets
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-10-26 10:14:49 +08:00
junot
1e79901241
fix global alerts filter ( #5311 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-10-21 21:48:42 +08:00
Wenhao Zhou
77547147de
Check cluster permission for create/update workspacetemplate ( #5302 )
...
* add cluster authorization for create/update workspacetemplate
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
add cluster authorization for create/update workspacetemplate
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
* add handle forbidden err
* add forbidden error log
* allow to use clusters of public visibility
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-10-20 18:47:41 +08:00
zhangpeng
7300405a26
Add switch for notification ( #5283 )
...
Signed-off-by: Gentleelephant <birdhk@kubesphere.io >
Signed-off-by: Gentleelephant <birdhk@kubesphere.io >
Co-authored-by: Gentleelephant <birdhk@kubesphere.io >
2022-10-20 17:09:40 +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
chavacava
14aa059c63
fix #5267 by renaming yaml struct tag ( #5268 )
...
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com >
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com >
2022-10-08 14:21:57 +08:00
Wenhao Zhou
1b689341ab
Fix: Can not resolve the resource scope correctly ( #5263 )
...
Fix: can not resolve the resource scope of clusters.cluster.kubesphere.io correctly
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-10-08 10:20:56 +08:00