Commit Graph

1840 Commits

Author SHA1 Message Date
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
LQBing
6e0a48c555 Use autoscaling/v2 instead of autoscaling/v2beta2 (#5833) 2023-07-13 11:02:58 +08:00
littlejian
fde9d2e7cd feat: support gitlab identity provider (#5836) 2023-07-13 10:44:59 +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
Xinzhao Xu
580b4196ff Fix webhook validation issue for new clusters (#5802) 2023-07-03 15:34:48 +08:00
Wenhao Zhou
b1466e572b fix: clear all oauth Providers when reloading configuration (#5797)
* fix: clear all auth Providers when reloading configuration

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

* fix:identity-provider test

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-06-29 19:09:44 +08:00
hongming
d85ebcef1f Support configuring the maximum number of logs that can be exported (#5794)
* Support configuring the maximum number of logs that can be exported



* Update pkg/simple/client/logging/options.go



---------

Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
Co-authored-by: wanjunlei <53003665+wanjunlei@users.noreply.github.com>
Co-authored-by: Benjamin Huo <huobj@qq.com>
2023-06-28 16:24:47 +08:00
hongming
4b722c12f2 fix: the infinite loop after installation failure (#5793)
fix: the infinite loop after installation failure (#588)
2023-06-28 15:58:31 +08:00
hongzhouzi
b6ee8c8569 feat: upgrade servicemesh version (#5792)
feat: upgrade servicemesh version. (#516)

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2023-06-27 14:57:42 +08:00
hongming
528294f843 refactor: code reformat (#5786) 2023-06-26 10:21:40 +08:00
guangwu
5304a1234c chore: pkg imported more than once (#5779)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-06-25 16:13:34 +08:00
Xinzhao Xu
7575235d64 apiserver: fix the issue that the /kapis/version API cannot be matched by routing (#5696) 2023-05-19 11:26:55 +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!
967861ff63 Improve Unreasonable Comments (#5674)
Signed-off-by: sologgfun <857949825@qq.com>
2023-05-12 10:30:48 +08:00
hongming
fafe98b4f0 refactor: remove usless options (#5671)
refactor: remove useless options
2023-05-10 14:01:46 +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
Xinzhao Xu
16c2dbc693 controller/cluster: improve the process for updating the cluster certificate's expiration date (#5665) 2023-05-08 17:47:44 +08:00
AS!
b80920009c Uniform code format (#5650)
Signed-off-by: sologgfun <857949825@qq.com>
2023-04-26 11:36:27 +08:00
Wenhao Zhou
04f56ee16a Fix:cannot get jobs by informer (#5656)
fix:cannot get jobs by informer

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-04-25 16:41:27 +08:00
Xinzhao Xu
2c23f7c24c controller/cluster: retry when updating the KubeFedCluster conflicted (#5653) 2023-04-25 16:03:27 +08:00
Xinzhao Xu
3bbc9e92a1 Merge multiple duplicate tools files (#5637) 2023-04-13 13:59:42 +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
Xinzhao Xu
f59ada60b6 Remove the incorrect custom MarshalJSON method to avoid infinite recursion (#5624) 2023-04-07 10:31: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
Wenhao Zhou
e6c1c4b7b5 Add iam v1beta1 APIs (#5502)
update iam v1beta1 types && deprecate iam v1alpha2 apis

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-03-03 11:30:39 +08:00