Commit Graph

1869 Commits

Author SHA1 Message Date
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
smartcat999
f390d46da2 Fix OIDC logout redirect uri (#6348)
* fix: oidc logout redirect uri

Signed-off-by: peng wu <2030047311@qq.com>

* fix: oidc unittest

Signed-off-by: peng wu <2030047311@qq.com>

---------

Signed-off-by: peng wu <2030047311@qq.com>
2025-02-05 11:11:09 +08:00
Wenhao Zhou
7ce92c801a [application] add sortBy parameter versionName (#6333)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2025-01-15 10:22:45 +08:00
KubeSphere CI Bot
a84a6892e4 Merge pull request #6324 from wansir/m3
Optimize log output
2024-12-30 11:09:14 +08:00
smartcat999
bc128dcf78 Fix workspacerole sync condition (#2142)
* fix: Fixed the issue that role and rolebinding do not trigger synchronization when binding a workspace to a cluster

Signed-off-by: peng wu <2030047311@qq.com>

* fix: update goimports

Signed-off-by: peng wu <2030047311@qq.com>

* fix: update workspace sync condition && update list options

Signed-off-by: peng wu <2030047311@qq.com>

* fix: rename enqueue request map func for workspacerole and workspacerolebinding

Signed-off-by: peng wu <2030047311@qq.com>

* fix: workspace role sync logic

Signed-off-by: peng wu <2030047311@qq.com>

---------

Signed-off-by: peng wu <2030047311@qq.com>
Signed-off-by: hongming <coder.scala@gmail.com>
2024-12-30 10:55:03 +08:00
hongming
3d40b1905d fix: the problem of conflicting controller output logs caused by duplicate initialization of roles and workspace roles when the controller is started (#2139)
Signed-off-by: peng wu <2030047311@qq.com>
Signed-off-by: hongming <coder.scala@gmail.com>
2024-12-26 15:51:44 +08:00
hongming
68075ac3dc clean up unnecessary warning logs (#2140)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-12-26 15:51:44 +08:00
hongming
7a3a99cecb fix workspace role name exceeding the length limit (#2132)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-12-26 15:51:44 +08:00
hongming
255e9a228d clean up unnecessary warning logs (#6323)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-12-25 11:08:09 +08:00
smartcat999
68c13b78ee fix: support LDAPS && STARTTLS (#6320)
Signed-off-by: peng wu <2030047311@qq.com>
2024-12-24 10:39:08 +08:00
凌波
54f4a9b893 feat: Enhance JSBundle Api to declare auxiliary asset files required for extending components (#6308)
feat: add support for auxiliary asset files to jsBundle

Signed-off-by: lingbo <lingbo@lingbohome.com>
2024-12-12 16:58:55 +08:00
KubeSphere CI Bot
6274978709 fix helm executor serviceaccount not created (#1948)
Co-authored-by: hongming <coder.scala@gmail.com>
2024-12-05 11:10:23 +08:00
Xinzhao Xu
e389253a4e Support for configuring affinity for helm executor (#1989) 2024-12-05 11:08:14 +08:00
Wenhao Zhou
2af9ffa61c fix: make the prerelease version compatible (#6300)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2024-12-03 15:15:43 +08:00
liujian
d0483aa39a feature: reduce telemetry dependence. (#6276)
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-11-26 11:31:35 +08:00
hongming
fa7c1340e3 Replace vulnerable dependency gopkg.in/square/go-jose.v2 (#6290)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-11-26 11:13:36 +08:00
liujian
9c962d3cbf feat: create extensionVersions by depth (#6286)
* feat: create extensionVersions by depth

* Apply suggestions from code review

Signed-off-by: hongming <coder.scala@gmail.com>

* Apply suggestions from code review

Signed-off-by: hongming <coder.scala@gmail.com>

---------

Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2024-11-26 10:47:36 +08:00
liujian
238bd67b8f fix: update license-eye version to v0.6.0 (#6288)
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-11-26 10:17:36 +08:00
inksnw
bac3bc62f9 Support manual triggering of a repository update. (#6280)
* Support manual triggering of a repository update.

* cherry pick add api for workload template (#1982)

* cherry pick (add operator application (#1970))

* Modify routing implementation to improve readability

* cherry pick from kse dfc40e5adf5aa2e67d1

* Filter by Routing Parameter Namespace (#1990)

* add doc for workloadtemplates
2024-11-25 10:56:35 +08:00
hongming
096e0ca868 fix regression bug (#6269)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-11-06 15:37:14 +08:00
hongming
cfebd96a1f update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-11-06 10:27:06 +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
inksnw
5702930c08 Fix conflict and cherry-pick (cherry-pick from #0e8c6d5) (#6261) 2024-10-31 17:26:07 +08:00
inksnw
299c0d46db Allow version comparison errors (#6257) 2024-10-31 11:41:08 +08:00
hongming
9b56a88f93 fix failing unit tests (#6255)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-10-31 10:41: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
inksnw
9aa17af5db Refactor FormatVersion function to handle invalid characters (#6244)
* Refactor FormatVersion function to handle invalid characters

* Use SHA1 instead of MD5
2024-10-30 12:51:05 +08:00
hongming
7992b75072 fix: unexpected HTTP status code (#6241)
fix: Update member cluster mirror service verification response infor… (#1992)

* fix: repository verify error

* Update pkg/kapis/resources/v1alpha3/handler.go

---------

Co-authored-by: smartcat999 <49057502+smartcat999@users.noreply.github.com>
2024-10-28 11:51:03 +08:00
AS!
6a2f78ef0f Improve the readability of some codes (#6220) 2024-10-12 23:07:35 +08:00
凌波
69d4c2a6cd fix: resolve the apprelease upgrade issue (#6214)
* Update executor.go

Signed-off-by: 凌波 <lingbo@lingbohome.com>

* fix: apprelease upgrade

Signed-off-by: lingbo <lingbo@lingbohome.com>

* upgrade job on success, clean up apprelease status.message

Signed-off-by: lingbo <lingbo@lingbohome.com>

* adjust apprelease status.message

Signed-off-by: lingbo <lingbo@lingbohome.com>

* optimize: streamline apprelease upgrade logic

Signed-off-by: lingbo <lingbo@lingbohome.com>

* adjust upgrade code

Signed-off-by: lingbo <lingbo@lingbohome.com>

* Adding status.message during apprelease installations and upgrades

Signed-off-by: lingbo <lingbo@lingbohome.com>

* fix: Supplement the missing status in the apprelease life cycle.Message, solve the problem that the front-end status and message tips display do not match.

Signed-off-by: lingbo <lingbo@lingbohome.com>

---------

Signed-off-by: 凌波 <lingbo@lingbohome.com>
Signed-off-by: lingbo <lingbo@lingbohome.com>
2024-09-29 16:39:21 +08:00
hongming
083927137d fix: remove the incorrect RBAC rule merging logic (#6209)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-09-26 16:13:18 +08:00
hongming
e50de15ec9 adjust the log level of unexpected exceptions (#6207)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-09-26 11:42:17 +08:00
凌波
9b2c123bbb feat: Adapt to oci-based helmchart repo (#6200)
* add oci client for registry

* add LoadRepoIndexFormOci

* feat: Adapt to oci-based helmchart repo

* Update the golang base image version in the dockerfile

* update oci_test.go

Signed-off-by: lingbo <lingbo@lingbohome.com>

* fix: Update oci_test.go

Signed-off-by: 凌波 <lingbo@lingbohome.com>

* Update go imports

---------

Signed-off-by: lingbo <lingbo@lingbohome.com>
Signed-off-by: 凌波 <lingbo@lingbohome.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2024-09-25 09:51:16 +08:00
liujian
ecdffc7d73 fix: add tls when get repository index. (#6195)
* fix: add tls when get repository index.

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

* Update staging/src/kubesphere.io/utils/helm/repo_index.go

Signed-off-by: hongming <coder.scala@gmail.com>

* fix: add tls when get repository index.

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

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2024-09-23 15:05:14 +08:00
hongming
bbc476d47c Use responsewriter.UserProvidedDecorator instead of auto flush response (#6171)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-09-13 16:40:36 +08:00
inksnw
782db75b9a fix typo (#1965) (#6166) 2024-09-12 11:01:01 +08:00
hongming
3c458b7450 fix chunked encoding API no response (#6157) 2024-09-06 17:05:41 +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
Xinzhao Xu
494c442ae8 utils/clusterclient: fix the deadlock issue when getting the cluster client (#5941) 2023-10-12 15:04:08 +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
yonghongshi
b0812d183d update storageclass-accessor webhook (#5927)
Signed-off-by: stoneshi-yunify <stoneshi@kubesphere.io>
2023-10-07 10:45:53 +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
Xinzhao Xu
40e910bbc0 Validate clusterRole when adding a cluster (#5878) 2023-08-22 14:04:58 +08:00
junot
aa0da0c80d add rule_type label to indicate rule type (#5834)
add rule_type label to indicate rule type (#472)

Signed-off-by: junot <junotxiang@kubesphere.io>
2023-07-18 17:21:06 +08:00
Elon Cheng
560b0da7da Modify permission path (#5848)
Signed-off-by: dehaocheng <dehaocheng@kubesphere.io>
2023-07-18 10:10:05 +08:00