Commit Graph

1892 Commits

Author SHA1 Message Date
smartcat999
9fab44d0bf 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 06:26:25 +00:00
hongming
c438adedeb security: restrict anonymous access to the /kapis/version endpoint (#2107)
Signed-off-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
inksnw
42dfe0db41 fix typo (#1981) 2025-03-19 06:26:25 +00:00
hongming
214faec31c Support deleting repo and apps in repo (#1979)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-03-19 06:26:25 +00:00
KubeSphere CI Bot
59d5f0e6d4 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 06:26:25 +00:00
KubeSphere CI Bot
91c2921733 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 06:26:24 +00:00
KubeSphere CI Bot
d0c7cb156f 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 06:26:24 +00:00
Wenhao Zhou
403744a1ab 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 06:26:24 +00:00
yonghongshi
d4c676f2fd fix csidriver check (#1993)
Signed-off-by: stoneshi-yunify <stoneshi@kubesphere.io>
2025-03-19 06:26:24 +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
e137fb7460 fix: regression bugs (#6432)
fix: extension delete logic

Signed-off-by: peng wu <2030047311@qq.com>
2025-03-14 14:09:52 +08:00
liujian
e4ed63ac95 Update util.go (#6423)
Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
2025-03-12 15:53:49 +08:00
KubeSphere CI Bot
afe1372bc3 [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>
2025-03-11 10:40:48 +08:00
KubeSphere CI Bot
0556934ecc [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>
2025-03-11 10:13:47 +08:00
smartcat999
7e2cafd15b update ks-core helm chart (#6401)
fix: cherrypick update ks-core helm chart

Signed-off-by: peng wu <2030047311@qq.com>
2025-03-11 09:57:48 +08:00
smartcat999
41fdd0f4eb fix: replace user displayname with annotation (#6395)
Signed-off-by: peng wu <2030047311@qq.com>
2025-03-06 17:09:43 +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
smartcat999
f77b0afd85 fix ldaps protocol (#6384)
fix: ldap default protocol (#2156)

Signed-off-by: peng wu <2030047311@qq.com>
2025-03-03 16:03:40 +08:00
smartcat999
8056d176f8 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>
2025-02-28 16:57:36 +08:00
hongming
c1259aff8b feat: platform config API (#2052) (#6303)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-02-28 16:48:44 +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
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