439 Commits

Author SHA1 Message Date
hongming
0d852e8276 chore: update copyright headers (#6496)
Signed-off-by: hongming <coder.scala@gmail.com>
2025-04-30 15:53:51 +08: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
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
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
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
凌波
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
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
Xinzhao Xu
40e910bbc0 Validate clusterRole when adding a cluster (#5878) 2023-08-22 14:04:58 +08:00
hongming
a64e573c04 fix: enableMultiLogin configuration does not take effect (#5819) 2023-07-06 18:04:51 +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
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
hongming
fafe98b4f0 refactor: remove usless options (#5671)
refactor: remove useless options
2023-05-10 14:01:46 +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
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
Xinzhao Xu
f59ada60b6 Remove the incorrect custom MarshalJSON method to avoid infinite recursion (#5624) 2023-04-07 10:31:34 +08:00
Yunkang Ren
a3a6a1cd98 gomod: change projectcalico/calico to kubesphere/calico (#5557)
* chore(calico): update calico to 3.25.0

* chore(calico): replace projectcalico/calico to kubesphere/calico

Signed-off-by: root <renyunkang@kubesphere.io>

---------

Signed-off-by: root <renyunkang@kubesphere.io>
2023-02-28 17:03:36 +08:00
hongming
f0221dbed9 Use golang-jwt/jwt instead of form3tech-oss/jwt-go (#5532) 2023-02-20 12:18:28 +08:00
junot
2cd5f45d47 update prometheus dependencies (#5520)
Signed-off-by: junot <junotxiang@kubesphere.io>
2023-02-14 09:46:22 +08:00
hongming
1c49fcd57e Bump sigs.k8s.io/controller-runtime to v0.14.4 (#5507)
* Bump sigs.k8s.io/controller-runtime to v0.14.4

* Update gofmt
2023-02-08 14:06:15 +08:00
hongzhouzi
efcd4c5512 fix: Resolved some data out of sync after live-reload. (#5422)
refactor: Data not synchronized due to using singleton mode after live-reload.

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

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-12-21 10:49:53 +08:00
Ruyi Guo
45ce9b76ea Fix missing maintainers in helm apps (#5401)
fix missing maintainers in helm apps
2022-12-20 11:36:52 +08:00
hongzhouzi
146830dfcb Upgrade dependent version: github.com/containernetworking/cni (#5323)
Upgrade dependent version: github.com/containernetworking/cni v0.8.0 -> v1.1.2

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

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-12-16 15:43:48 +08:00
hongzhouzi
44167aa47a Upgrade k8s package verison (#5358)
* upgrade k8s package version

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

* Script upgrade and code formatting.

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

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-11-15 14:56:38 +08:00
Elon Cheng
ea694684a0 Calculating the Number of Logs in opensearch (#5352)
Calculating the Number of Logs

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-11-06 21:03:15 +08:00
zhangpeng
7300405a26 Add switch for notification (#5283)
Signed-off-by: Gentleelephant <birdhk@kubesphere.io>

Signed-off-by: Gentleelephant <birdhk@kubesphere.io>
Co-authored-by: Gentleelephant <birdhk@kubesphere.io>
2022-10-20 17:09:40 +08:00
Eng Zer Jun
d1fec72a32 refactor: move from io/ioutil to io and os packages (#5266)
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-18 15:47:38 +08:00
Wenhao Zhou
6af86c2cf1 add dynamic options for cache (#4894)
* add dynamic options for cache

* fixed bugs based on unit-test

* add doc for cache

* make cache implements be private

* Change simpleCache name to InMemoryCache

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

* Remove fake cache and replacing to in memory cache with default parameter

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

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
2022-09-19 16:46:15 +08:00
andrew_li
d3cf418c6e Fix: index out of range when merging two repo indexes (#5146) 2022-08-24 14:08:35 +08:00
Elon Cheng
f741bc7943 intergrate opensearch v1 (#5135)
opensearchv1

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>
Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-08-12 19:58:33 +08:00
Xinzhao Xu
2a31867df1 Fix ingress P95 delay time promql statement (#5119) 2022-08-11 15:37:32 +08:00
junot
74e127e1a6 add alerting v2beta1 apis (#5115)
* generate alerting resource client

Signed-off-by: junot <junotxiang@kubesphere.io>

* add alerting v2beta1 apis

Signed-off-by: junot <junotxiang@kubesphere.io>

* tweak some varibles and descs

Signed-off-by: junot <junotxiang@kubesphere.io>
2022-08-04 13:38:41 +08:00
Elon Cheng
7a41af7c0c add opensearch test (#5050)
Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-07-11 23:31:42 +08:00
Elon Cheng
5e2f41f0b9 intergrate opensearch v2 (#5044)
intergrate opensearch

Signed-off-by: chengdehao <dehaocheng@kubesphere.io>

Co-authored-by: chengdehao <dehaocheng@kubesphere.io>
2022-07-10 15:14:38 +08:00
hongming
ce7fdddfd5 cleanup: remove useless file (#5020) 2022-07-04 10:08:32 +08:00
andrew_li
f289795312 Add golangci-lint workflow (#4999)
* fix lint workflow

* add golang lint

* close http response body
2022-06-29 11:58:36 +08:00
nio
fe992ae53f Replace the Helm command (#4852)
* Replace the helm command line with helm action

* fix log misspelling

* helm wrapper formate log msg

* fix: helm action faild in multi cluster
2022-06-27 16:44:34 +08:00
zhanghaiwen
02e99365c7 add unit test for GetServiceTracing 2022-06-02 14:46:27 +08:00
chengdehao
75803113f6 fix nil pointer
Signed-off-by: chengdehao <dehaocheng@yunify.com>
2022-05-10 23:36:50 +08:00
hongming
7603c74ebb Fix crash caused by resouce discovery failed 2022-04-29 00:03:32 +08:00
KubeSphere CI Bot
5af3f14b2a Merge pull request #4710 from iawia002/cluster-role
Add ClusterRole field in the multicluster option
2022-03-21 10:05:25 +08:00
Xinzhao Xu
0065d0dca3 remove the unused EnableFederation field 2022-03-07 18:32:56 +08:00
Xinzhao Xu
ca4661a686 Add ClusterRole field in the multicluster option 2022-03-07 18:32:04 +08:00
KubeSphere CI Bot
7281996603 Merge pull request #4711 from junotx/proc-monitor
add container processes/threads metrics
2022-03-07 16:31:12 +08:00
KubeSphere CI Bot
19048d52dc Merge pull request #4679 from iawia002/cluster-name
Set the name of the current cluster into the kubesphere-config configmap
2022-03-07 13:22:11 +08:00
junot
b205529bd6 add container processes/threads metrics
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-03-07 11:09:29 +08:00
junot
15e7f36e61 add node device usage metrics
Signed-off-by: junot <junotxiang@kubesphere.io>
2022-03-02 17:41:30 +08:00