827 Commits

Author SHA1 Message Date
hongming
25cf3a7d10 improve field selector
Signed-off-by: hongming <coder.scala@gmail.com>
2025-06-11 11:48:40 +08:00
hongming
4d88ed2ca1 update dependencies (#6519)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-05-29 15:51:37 +08:00
hongming
0d852e8276 chore: update copyright headers (#6496)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-04-30 15:53:51 +08:00
hongming
52016724e2 chore: update license header
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 06:26:26 +00:00
KubeSphere CI Bot
522d0b4de5 fix: alias query not functioning (#2203)
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2025-03-19 06:26:25 +00:00
hongming
d064ef67c7 feat: support service account token auth mode
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 06:26:25 +00:00
KubeSphere CI Bot
5bbc760353 update pod status.Phase (#6450)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
2025-03-19 11:14:58 +08:00
KubeSphere CI Bot
1564abca4d feat: add imagesearch provider (#6449)
* feat: add imagesearch provider



* update



* update



* update



* update url and queries



* add func getProviderTypeByHost



---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
2025-03-19 11:03:58 +08:00
smartcat999
2ed83e77d4 fix: During the creation of a workspace, it will be determined whethe… (#6385)
fix: During the creation of a workspace, it will be determined whethe… (#2147)

* fix: During the creation of a workspace, it will be determined whether the user has the authority to designate other users as administrators.



* fix: code update



* fix: Determine whether the user is a workspace administrator based on whether the user has the permission to delete the workspace



---------

Signed-off-by: peng wu <2030047311@qq.com>
2025-03-03 16:11:39 +08:00
hongming
018f6045ee feat(auth): support multiple identity provider associations (#6299)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-02-28 16:48:36 +08:00
smartcat999
99d2408c34 fix: pod list with owner filter logic (#6370)
Signed-off-by: peng wu <2030047311@qq.com>
2025-02-19 10:41:25 +08:00
Wenhao Zhou
c5e2800ab2 feat: support listing cluster that user has the cluster`s rolebinding (#6259) 2024-10-31 17:31:07 +08:00
凌波
1b3f2c0d58 fix: there is a serious privilege escalation vulnerability in the kubectl terminal tool (#6253)
Signed-off-by: lingbo <lingbo@lingbohome.com>
2024-10-31 09:48:06 +08:00
hongming
d63a24fc91 refactor: workspace cascading deletion logic (#6249)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-10-30 17:42:06 +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
hongzhouzi
018caafaa0 build(deps): bump github.com/docker/docker from 20.10.24 to 24.0.9 (#6099)
build(deps): bump github.com/docker/docker from 20.10.24+incompatible to 24.0.9+incompatible

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2024-05-09 09:56:31 +08:00
Wenhao Zhou
b4a9ee425b Images tag (#5957)
* Feat: Add pagination for listing repository tags (#683)

* feat: add pagination for listing repository tags

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

* use ParseQueryParameter

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

---------

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

* feat: add tags total count (#695) (#698)

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-10-26 17:27:26 +08:00
bbma
5c685102de fix: when helm application modify, but UpdateTime not update (#5948)
* Fixed an issue where categories were not updated in the App Store after the app template was republished

Signed-off-by: bingbing ma <bingbing.ma@gientech.com>

* fix: when helm application modify, but UpdateTime not update

Signed-off-by: bingbing ma <bingbing.ma@gientech.com>

---------

Signed-off-by: bingbing ma <bingbing.ma@gientech.com>
Co-authored-by: bingbing ma <bingbing.ma@gientech.com>
2023-10-23 13:44:21 +08:00
hongzhouzi
5a97b3f5e9 fix: gateway address is not displayed (#5950)
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-10-20 15:13:18 +08:00
bbma
5c3ecd0407 Fixed an issue where categories were not updated in the App Store aft… (#5925)
Fixed an issue where categories were not updated in the App Store after the app template was republished

Signed-off-by: bingbing ma <bingbing.ma@gientech.com>
Co-authored-by: bingbing ma <bingbing.ma@gientech.com>
2023-10-08 15:43:55 +08:00
Wenhao Zhou
925f3091f8 Feat: Support search pods by pod ip (#5921)
feat: support search pods by pod ip

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-09-21 14:36:26 +08:00
LQBing
6e0a48c555 Use autoscaling/v2 instead of autoscaling/v2beta2 (#5833) 2023-07-13 11:02:58 +08:00
hongming
a64e573c04 fix: enableMultiLogin configuration does not take effect (#5819) 2023-07-06 18:04:51 +08:00
Xinzhao Xu
3b8c12ffdc apis/resources: support for searching alias in annotations (#5807) 2023-07-04 11:24:49 +08:00
Wenhao Zhou
53d4900816 Add write operation for dynamic resource (#5601)
add write operation for dynamic resource

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-05-12 11:33:48 +08:00
AS!
e140fb387c Fix wrong params naming in openpitrix (#5666) 2023-05-09 13:54:45 +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
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
Xinzhao Xu
708de806f8 Use the generic Set to replace deprecated methods (#5623) 2023-04-07 11:15: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
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
hongming
f7d0addf9e Use batch/v1 instead of batch/v1beta1 (#5562) 2023-03-03 10:37:38 +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
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
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
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
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
hongming
d739c693c1 Remove the broken test case (#5396) 2022-12-05 10:50:57 +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
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