Commit Graph

1893 Commits

Author SHA1 Message Date
hongming
90a3b62e79 chore: update license header
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 14:18:09 +08:00
hongming
8f5f603289 update application controllers log level
* [application] update application controllers log level

* update

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 13:37:12 +08:00
KubeSphere CI Bot
20bf33dfe1 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 12:33:16 +08:00
hongming
2608892248 feat: add resource protection webhook (#2168)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 12:31:33 +08:00
smartcat999
760351d509 fix: update console permission with ks service account (#2135)
* fix: update console permission with ks service account

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

* fix: update restart pod's annotation

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

* fix: update restart pod condition

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

* fix: service account pod restart condition

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

* fix: service account pod restart condition

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

* fix: update goimports

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

---------

Signed-off-by: peng wu <2030047311@qq.com>
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 12:29:29 +08:00
hongming
0a75abc32c security: restrict anonymous access to the /kapis/version endpoint (#2107)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 12:06:43 +08:00
hongming
d52e847370 feat: support service account token auth mode
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 11:40:42 +08:00
inksnw
c76f88ee62 fix typo (#1981) 2025-03-19 11:30:55 +08:00
hongming
92c004ada0 Support deleting repo and apps in repo (#1979)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 11:30:10 +08:00
KubeSphere CI Bot
42ef42ef12 fix serviceaccount controller remove unnecessary retries (#2188)
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2025-03-19 11:29:21 +08:00
KubeSphere CI Bot
8286d4888e fix: sa binds rbac role (#2187)
* fix: sa binds rbac role

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

* fix ut test

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

* make goimports

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 11:28:36 +08:00
KubeSphere CI Bot
834c393cf0 add application release validatingWebhook (#2170)
* add application release validatingWebhook

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

* enable at host cluster

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 11:24:02 +08:00
Wenhao Zhou
9f6f781a39 Update appversion finalizer name (#2161)
* update appversion finalizer name

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

* Update pkg/controller/application/appversion_contrlller.go

* Update pkg/controller/application/appversion_contrlller.go

* Update staging/src/kubesphere.io/api/application/v2/constants.go

* Update staging/src/kubesphere.io/api/application/v2/constants.go

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2025-03-19 11:23:06 +08:00
KubeSphere CI Bot
96f85d4500 Allow version comparison errors (#2015)
Co-authored-by: inksnw <inksnw@gmail.com>
2025-03-19 11:18:02 +08:00
yonghongshi
128e7da6f3 fix csidriver check (#1993)
Signed-off-by: stoneshi-yunify <stoneshi@kubesphere.io>
2025-03-19 11:15:26 +08:00
hongming
fa2c4672ea update pod status.Phase (#6448)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
2025-03-19 11:01:57 +08:00
hongming
d2a591ac75 feat: add imagesearch provider (#6447)
* 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: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
2025-03-19 10:47:58 +08:00
KubeSphere CI Bot
58b811ee92 fix: regression bugs (#6433)
fix: extension delete logic

Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: peng wu <2030047311@qq.com>
2025-03-14 14:25:51 +08:00
KubeSphere CI Bot
9d88c8d3a7 [release-4.1] Update util.go (#6424)
Update util.go

Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
Co-authored-by: liujian <54946465+redscholar@users.noreply.github.com>
2025-03-12 18:44:49 +08:00
KubeSphere CI Bot
f96e76ef2a [kse-2286] replace storeCAFile use WithTLSConfig (#6400)
Signed-off-by: ks-ci-bot <ks-ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@kubesphere.io>
(cherry picked from commit afe1372bc3)
2025-03-11 14:36:00 +08:00
KubeSphere CI Bot
1b479a9084 [kse-2112] add extension version controller (#6399)
Signed-off-by: ks-ci-bot <ks-ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@kubesphere.io>

(cherry picked from commit 0556934ecc)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-11 14:35:20 +08:00
smartcat999
f1bb9d69ac fix: Fixed the issue where the user status was empty when the third-p… (#6379)
fix: Fixed the issue where the user status was empty when the third-p… (#2258)

* fix: Fixed the issue where the user status was empty when the third-party login user logged in manually for the first time

* fix: Fixed the issue where the user status was empty when the third-party login user logged in manually for the first time

---------

Signed-off-by: peng wu <2030047311@qq.com>
(cherry picked from commit 8056d176f8)
2025-03-11 14:32:29 +08:00
Wenhao Zhou
2dbe296a06 [application] add sortBy parameter versionName (#6333)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
(cherry picked from commit 7ce92c801a)
2025-03-11 14:26:34 +08:00
smartcat999
942d3be9d4 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>
(cherry picked from commit bc128dcf78)
2025-03-11 14:26:04 +08:00
hongming
114f5a6e79 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>
(cherry picked from commit 3d40b1905d)
2025-03-11 14:25:49 +08:00
hongming
c998029cd6 fix workspace role name exceeding the length limit (#2132)
Signed-off-by: hongming <coder.scala@gmail.com>
(cherry picked from commit 7a3a99cecb)
2025-03-11 14:25:10 +08:00
hongming
5613dc849c clean up unnecessary warning logs (#6323)
Signed-off-by: hongming <coder.scala@gmail.com>
(cherry picked from commit 255e9a228d)
2025-03-11 14:25:00 +08:00
KubeSphere CI Bot
659fe1e3cb fix helm executor serviceaccount not created (#1948)
Co-authored-by: hongming <coder.scala@gmail.com>
(cherry picked from commit 6274978709)
2025-03-11 14:24:05 +08:00
hongming
b1a887fbb4 Replace vulnerable dependency gopkg.in/square/go-jose.v2 (#6290)
Signed-off-by: hongming <coder.scala@gmail.com>
(cherry picked from commit fa7c1340e3)
2025-03-11 14:22:21 +08:00
liujian
4583b5a62e 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>
(cherry picked from commit 9c962d3cbf)
2025-03-11 14:21:28 +08:00
hongming
39eab5ee5c update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
(cherry picked from commit cfebd96a1f)
2025-03-11 14:19:32 +08:00
Wenhao Zhou
742c1e52db feat: support listing cluster that user has the cluster`s rolebinding (#6259)
(cherry picked from commit c5e2800ab2)
2025-03-11 14:14:13 +08:00
Xinzhao Xu
811cc0290e Support for configuring affinity for helm executor (#1989)
(cherry picked from commit e389253a4e)
2025-03-11 14:05:09 +08:00
hongming
0cf715a89a 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>
(cherry picked from commit 7992b75072)
2025-03-11 13:58:21 +08:00
KubeSphere CI Bot
c75dc7969e [release-4.1] fix: update license-eye version to v0.6.0 (#6415)
fix: update license-eye version to v0.6.0

Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-11 11:44:48 +08:00
KubeSphere CI Bot
bb60d39434 Support manual triggering of a repository update. (#6414)
* 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

---------

Co-authored-by: inksnw <inksnw@gmail.com>
2025-03-11 11:36:02 +08:00
KubeSphere CI Bot
c9c856dfda Fix conflict and cherry-pick (cherry-pick from #0e8c6d5) (#6413)
Fix conflict and cherry-pick (cherry-pick from #0e8c6d5)

Co-authored-by: inksnw <inksnw@gmail.com>
2025-03-11 11:22:58 +08:00
KubeSphere CI Bot
bb4c67f624 Refactor FormatVersion function to handle invalid characters (#6411)
* Refactor FormatVersion function to handle invalid characters

* Use SHA1 instead of MD5

---------

Co-authored-by: inksnw <inksnw@gmail.com>
2025-03-11 11:14:48 +08:00
KubeSphere CI Bot
3976d959b4 [release-4.1] Improve the readability of some codes (#6410)
Improve the readability of some codes

Co-authored-by: sologgfun <857949825@qq.com>
2025-03-11 11:06:48 +08:00
smartcat999
23e7e6d179 update ks-core helm chart (#6401) (#6407)
fix: cherrypick update ks-core helm chart



(cherry picked from commit 7e2cafd15b)

Signed-off-by: peng wu <2030047311@qq.com>
2025-03-11 10:41:48 +08:00
KubeSphere CI Bot
e48875411d fix: replace user displayname with annotation (#6396)
Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: peng wu <2030047311@qq.com>
2025-03-06 18:04:43 +08:00
smartcat999
c0bf77e541 feat: platform config API (#6391)
feat: platform config API (#2052) (#6303)



(cherry picked from commit c1259aff8b)

Signed-off-by: hongming <coder.scala@gmail.com>
Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: hongming <hongming@kubesphere.io>
2025-03-05 11:09:41 +08:00
smartcat999
db7a21e754 feature: reduce telemetry dependence (#6390)
feature: reduce telemetry dependence. (#6276)

Signed-off-by: peng wu <2030047311@qq.com>
2025-03-05 10:34:42 +08:00
KubeSphere CI Bot
ddddbbe500 [release-4.1] fix ldaps protocol (#6388)
fix: ldap default protocol (#2156)

Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: smartcat999 <49057502+smartcat999@users.noreply.github.com>
2025-03-03 16:38:39 +08:00
KubeSphere CI Bot
c90729682f feat(auth): support multiple identity provider associations (#6381)
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2025-03-03 16:28:39 +08:00
KubeSphere CI Bot
33152139d6 fix: During the creation of a workspace, it will be determined whethe… (#6387)
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>
Co-authored-by: smartcat999 <49057502+smartcat999@users.noreply.github.com>
2025-03-03 16:22:39 +08:00
KubeSphere CI Bot
2ed005f1b1 fix: support LDAPS && STARTTLS (#6386)
Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: peng wu <2030047311@qq.com>
2025-03-03 16:05:39 +08:00
KubeSphere CI Bot
38fb2d0514 [release-4.1] fix: pod list with owner filter logic (#6371)
fix: pod list with owner filter logic

Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: peng wu <2030047311@qq.com>
2025-02-21 15:06:27 +08:00
KubeSphere CI Bot
739701fa91 [release-4.1] Fix OIDC logout redirect uri (#6351)
* 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>
Co-authored-by: peng wu <2030047311@qq.com>
2025-02-08 10:11:13 +08:00
KubeSphere CI Bot
d2f811b1a1 [release-4.1] fix: make the prerelease version compatible (#6301)
fix: make the prerelease version compatible

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
2024-12-03 15:39:44 +08:00