65 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
2af9ffa61c fix: make the prerelease version compatible (#6300)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2024-12-03 15:15:43 +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
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
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
Xinzhao Xu
494c442ae8 utils/clusterclient: fix the deadlock issue when getting the cluster client (#5941) 2023-10-12 15:04:08 +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
AS!
b80920009c Uniform code format (#5650)
Signed-off-by: sologgfun <857949825@qq.com>
2023-04-26 11:36:27 +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
Ruyi Guo
45ce9b76ea Fix missing maintainers in helm apps (#5401)
fix missing maintainers in helm apps
2022-12-20 11:36:52 +08:00
isyes
1837437612 Fix id generate error in IPv6-only environment. (#5419)
* Fix id generate error in IPv6-only environment.

* delete unused code
2022-12-20 11:31:52 +08:00
Xinzhao Xu
aab3ad8b87 controller/cluster: ensure cluster is Ready when cleanup notifications (#5392) 2022-12-06 17:06:58 +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
Wenhao Zhou
95576bb827 Add authorization control for patching workspacetemplates (#5191)
* update patch workspacetemplate for supporting patch with JsonPatchType and change the authorization processing

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

* make goimports

* Fix: Of the type is not string will lead to panic

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

* Add jsonpatchutil for handling json patch data

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

* Updated patch workspacetemplate to to make the code run more efficiently

* fix: multiple clusterrolebindings cannot autorizate

* Correct wrong spelling

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
2022-09-08 10:23:41 +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
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
zhanghaiwen
02e99365c7 add unit test for GetServiceTracing 2022-06-02 14:46:27 +08:00
LiHui
32b85cd625 cluster clusters 2022-05-20 11:53:51 +08:00
hongming
825a38f948 Reduce unnecessary status updates 2022-05-16 10:43:27 +08:00
Xinzhao Xu
757fca8ade Double check in clusterclient if the cluster exists but is not cached 2022-04-27 15:32:31 +08:00
x893675
2a521bb157 add feature for live-reload when configuration changed
Signed-off-by: x893675 <x893675@icloud.com>
2022-02-08 16:28:01 +08:00
Xinzhao Xu
7bbefdd30c Sync the expiration time of kubeconfig cert file of the cluster 2022-01-06 12:33:05 +08:00
hongming
1641b9920b Fix incorrect source IP 2021-10-08 16:19:27 +08:00
LiHui
09fc2867c4 remove mathutil.Max 2021-09-29 09:35:18 +08:00
LiHui
ad69b08a75 add display fields
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:44:00 +08:00
LiHui
4eb5401f76 calculate the category for the app
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +08:00
LiHui
745ca088a7 add built-in repo to dynamiclly load app into app-store
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +08:00
LiHui
b8d85fb75c add sync period to helm repo
Signed-off-by: LiHui <andrewli@kubesphere.io>
2021-09-27 15:35:29 +08:00
Roland.Ma
e3a14ca299 retrive pods and logs by gateway
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-09-16 07:21:08 +00:00
Roland.Ma
c37a11c5f9 move api to staging
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-04-29 08:20:05 +00:00
Roland.Ma
133a67ce92 feat: optional cascade delete resources when deleting workspace
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-04-06 02:38:04 +00:00
zryfish
ac275b6e98 add goimports format action (#3630)
Signed-off-by: Jeff <jeffzhang@yunify.com>
2021-03-30 13:44:24 +08:00
LiHui
83e6221f3a openpitrix crd
Signed-off-by: LiHui <andrewli@yunify.com>

delete helm repo, release and app

Signed-off-by: LiHui <andrewli@yunify.com>

Fix Dockerfile

Signed-off-by: LiHui <andrewli@yunify.com>

add unit test for category controller

Signed-off-by: LiHui <andrewli@yunify.com>

resource api

Signed-off-by: LiHui <andrewli@yunify.com>

miscellaneous

Signed-off-by: LiHui <andrewli@yunify.com>

resource api

Signed-off-by: LiHui <andrewli@yunify.com>

add s3 repo indx

Signed-off-by: LiHui <andrewli@yunify.com>

attachment api

Signed-off-by: LiHui <andrewli@yunify.com>

repo controller test

Signed-off-by: LiHui <andrewli@yunify.com>

application controller test

Signed-off-by: LiHui <andrewli@yunify.com>

release metric

Signed-off-by: LiHui <andrewli@yunify.com>

helm release controller test

Signed-off-by: LiHui <andrewli@yunify.com>

move constants to /pkg/apis/application

Signed-off-by: LiHui <andrewli@yunify.com>

remove unused code

Signed-off-by: LiHui <andrewli@yunify.com>

add license header

Signed-off-by: LiHui <andrewli@yunify.com>

Fix bugs

Signed-off-by: LiHui <andrewli@yunify.com>

cluster cluent

Signed-off-by: LiHui <andrewli@yunify.com>

format code

Signed-off-by: LiHui <andrewli@yunify.com>

move workspace,cluster from spec to labels

Signed-off-by: LiHui <andrewli@yunify.com>

add license header

Signed-off-by: LiHui <andrewli@yunify.com>

openpitrix test

Signed-off-by: LiHui <andrewli@yunify.com>

add worksapce labels for app in appstore

Signed-off-by: LiHui <andrewli@yunify.com>
2021-03-09 18:30:02 +08:00
黎咏
cd4cbf1962 When the ip4 addres is nil, it should try the next.
Signed-off-by: 黎咏 <s_xun_s@163.com>
2021-01-26 12:42:56 +08:00
LiHui
bc9fe7f656 add process and goroutine metrics
Signed-off-by: LiHui <andrewli@yunify.com>
2021-01-06 10:23:30 +08:00
LiHui
611f1c6991 add metrics to controller-manager
Signed-off-by: LiHui <andrewli@yunify.com>
2021-01-06 10:18:14 +08:00
LiHui
5c8ac10d26 add metrics
Signed-off-by: LiHui <andrewli@yunify.com>
2021-01-06 10:18:14 +08:00
hongming
a900b6af4e refactor workspace controller
Signed-off-by: hongming <talonwan@yunify.com>
2020-12-28 14:31:48 +08:00
huanggze
76e7805642 fix: calulating days between two dates
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-08-07 04:12:47 +08:00
zryfish
dbc33fe5d2 add license header (#2761)
Signed-off-by: Jeff <zw0948@gmail.com>
2020-08-05 15:54:17 +08:00
zryfish
3d74bb0589 login record CRD (#2565)
* Signed-off-by: hongming <talonwan@yunify.com>

support ldap identity provider

Signed-off-by: hongming <talonwan@yunify.com>

* add login record

Signed-off-by: Jeff <zw0948@gmail.com>

Co-authored-by: hongming <talonwan@yunify.com>
2020-07-23 22:10:39 +08:00
huanggze
6a5738d66a significantly improve log search performance
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-07-14 19:42:48 +08:00
hongming
ed8bb437e8 fix: resource lifecycle
Signed-off-by: hongming <talonwan@yunify.com>
2020-07-10 13:23:18 +08:00
hongming
85b61dce7c copyright license update
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-25 14:51:24 +08:00
hongming
8f93266ec0 improve IAM module
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-23 20:48:19 +08:00
zryfish
eb8a3c0dc6 refactor authentication (#1950) 2020-03-15 17:55:55 +08:00
hongming
a9e1183f3c code refactor (#1924)
* code refactor

Signed-off-by: hongming <talonwan@yunify.com>

* code refactor

Signed-off-by: hongming <talonwan@yunify.com>
2020-02-26 10:08:13 +08:00
hongming
abf9fee845 code refactor (#1786)
* implement LDAP mock client

Signed-off-by: hongming <talonwan@yunify.com>

* update

Signed-off-by: hongming <talonwan@yunify.com>

* update

Signed-off-by: hongming <talonwan@yunify.com>

* resolve conflict

Signed-off-by: hongming <talonwan@yunify.com>
2020-02-24 15:39:36 +08:00