Commit Graph

3169 Commits

Author SHA1 Message Date
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
KubeSphere CI Bot
af14da361b Merge pull request #6304 from wansir/dev4
support for configuring affinity for helm executor
2024-12-05 14:45:46 +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
637950c979 update workloadtemplates RoleTemplate (#6285) 2024-11-25 17:27:35 +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
KubeSphere CI Bot
faf255a084 Merge pull request #6260 from zhou1203/disable-redis
enhancement: disable redis when running as member cluster
2024-11-01 12:27:08 +08:00
liujian
dca9c3d772 fix: publishing bot run failed (#6262)
fix: publish run failed

Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
2024-11-01 10:25:08 +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
Xinzhao Xu
6205e44817 fix: cache checking always evaluates to true 2024-10-31 17:30:37 +08:00
inksnw
5702930c08 Fix conflict and cherry-pick (cherry-pick from #0e8c6d5) (#6261) 2024-10-31 17:26:07 +08:00
Wenhao Zhou
4fa4f5b42d enhancement: disable redis when running as member cluster
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2024-10-31 16:38:38 +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
8d3e5e0141 correct and clarify potentially misleading terms in the license file (#6250)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-10-30 17:49: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
hongming
1fd47dda4d disable extensions-museum in member cluster (#6237)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-10-25 17:49:50 +08:00
AS!
6a2f78ef0f Improve the readability of some codes (#6220) 2024-10-12 23:07:35 +08:00
Xinzhao Xu
3e723b2e23 config/ks-core: fix the CronJob API version determination issue (#6221) 2024-10-11 18:39:34 +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
86bac734f9 fix: add annotation checksum/cert to extensions-museum pod (#6201)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-24 16:48:15 +08:00
liujian
147db98c14 fix: failed to get PR in kubesphere/helm-charts (#6199)
Update sync-helm-chart.yaml

failed to get PR

Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
2024-09-24 10:36: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
df4553131f Update sync-helm-chart.yaml (#6191)
* Update sync-helm-chart.yaml

Signed-off-by: hongming <hongming@kubesphere.io>

* Update sync-helm-chart.yaml

---------

Signed-off-by: hongming <hongming@kubesphere.io>
2024-09-20 14:00:10 +08:00
pixiake
62f249e319 sync images to huaweicloud (#6190)
Signed-off-by: pixiake <guofeng@kubesphere.io>
2024-09-20 10:38:10 +08:00
liujian
14bbc45531 fix: graceful delete ks-core (#6182)
* fix: graceful delete ks-core

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

* fix: graceful delete ks-core

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

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-19 18:45:10 +08:00
liujian
4afda8d02b fix: cronjob.batch/v1 is invalid in k8s v1.19 (#6178)
fix: auto update extension museum only when kubernetes version > =v1.20.0

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-18 16:35:08 +08:00
liujian
fc07b45607 sync helm chart to main when build a helm-chart release (#6177)
Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-09-14 15:41:03 +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
liujian
499e10d913 feat: add extension-museum in helm (#6168)
* feat: add extension-museum in helm

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

* feat: add extension-museum in helm

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

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-13 16:04:02 +08:00
hongming
a364f856f1 Update telemetry config (#6167)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-09-12 11:32:01 +08:00
inksnw
782db75b9a fix typo (#1965) (#6166) 2024-09-12 11:01:01 +08:00
liujian
02d8b63466 fix: sync helm chart to diff dir (#6163)
Signed-off-by: ci-bot <ci-bot@kubesphere.io>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-10 16:44:59 +08:00
liujian
e2f16d37b2 fix: sync image to aliyuns repo (#6162)
Signed-off-by: ci-bot <ci-bot@kubesphere.io>
v4.1.1
2024-09-09 18:40:57 +08:00
liujian
bcc97d5b1d push difference docker repo by tags (#6161)
change docker repo by tags

Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
2024-09-09 12:18:57 +08:00
hongming
3766c5747c add CHANGELOG-4.1.1.md (#6160)
Signed-off-by: hongming <coder.scala@gmail.com>
2024-09-09 11:39:57 +08:00
liujian
349bb61c7e fix: change default go-version for code sync rule (#6159)
Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
2024-09-09 11:25:57 +08:00