Commit Graph

160 Commits

Author SHA1 Message Date
KubeSphere CI Bot
20bf33dfe1 fix: alias query not functioning (#2203)
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2025-03-19 12:33:16 +08:00
hongming
fa2c4672ea update pod status.Phase (#6448)
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com>
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com>
2025-03-19 11:01:57 +08:00
KubeSphere CI Bot
38fb2d0514 [release-4.1] fix: pod list with owner filter logic (#6371)
fix: pod list with owner filter logic

Signed-off-by: peng wu <2030047311@qq.com>
Co-authored-by: peng wu <2030047311@qq.com>
2025-02-21 15:06:27 +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
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
LQBing
6e0a48c555 Use autoscaling/v2 instead of autoscaling/v2beta2 (#5833) 2023-07-13 11:02:58 +08:00
Xinzhao Xu
3b8c12ffdc apis/resources: support for searching alias in annotations (#5807) 2023-07-04 11:24:49 +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
hongming
00b0229f77 Fix dynamic resource API (#5573) 2023-03-08 19:10:44 +08:00
hongming
f7d0addf9e Use batch/v1 instead of batch/v1beta1 (#5562) 2023-03-03 10:37:38 +08:00
Wenhao Zhou
a8ac54f489 Fix: Get nothing when the filter is empty (#5555)
Fix: Unable list object without filters

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-27 15:28:35 +08:00
Wenhao Zhou
b143b41e3c Fix cannot get registered resource (#5515)
* Fix can`t get registered resource

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

* update v1beta1 interface Get func`s parameters

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

---------

Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-15 10:50:23 +08:00
Wenhao Zhou
23df7b051b ResourceGetter v1beta1 (#5416)
* add resource getter & reader

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

* add resource v1beta1 handler

* delete gvrToGvk map instead of using the dynamicRESTMapper for getting gvk, and rename the ResourceLister to ResourceGetter

* add unregisteredMiddleware filter

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

* add secret contains benchmark & add fieldSelector to resourcev1beta1

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

* delete crds models

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

* delete parameterExtractor and instead of requestInfo

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

* add benchmark test

* move fieldSelector to DefaultObjectMetaFilter

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

* move fieldSelector to DefaultObjectMetaFilter

* change registeredGv type to set

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

* update filter chains

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

* fix fieldSelector cannot work

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

* fix: list known type do not need served label

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

---------

Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com>
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com>
2023-02-08 15:00:15 +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
hongming
129e6fbec3 chore: Generating CRDs supports multiple versions (#5497)
Generating CRDs supports multiple versions
2023-01-31 15:23:12 +08:00
Junhao Zhang
fe38b7310f adjust Pod status filter (#5483)
Signed-off-by: frezes <zhangjunhao@kubesphere.io>

Signed-off-by: frezes <zhangjunhao@kubesphere.io>
2023-01-17 11:34:45 +08:00
JohnJan
bd55ad516c Fix: remove unnecessary case in field selector (#5367)
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-11-17 10:20:40 +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
nuclearwu
89b1b6db87 support fieldselector filter query secrets (#5300)
* support fieldselector filter query secrets

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>

* support fieldselector filter query secrets

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>

* support fieldselector filter query secrets

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>

* support fieldselector filter query secrets

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>

* support fieldselector filter query secrets

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>

Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-10-26 10:14:49 +08:00
wanjunlei
1f2f6157d7 add apis for switch the notification language (#5088)
add apis for switch the notification lanaguae

Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
2022-07-22 17:46:57 +08:00
wanjunlei
5cead172cd update notification manager to v2.0 (#5030)
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
2022-07-05 16:04:33 +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
ONE7live
4247387144 add some unit test for models
Signed-off-by: ONE7live <wangqi_yewu@cmss.chinamobile.com>
2022-05-27 16:10:01 +08:00
hongming
382be8b16b fix: cluster list granted to users is incorrect 2022-05-23 17:06:19 +08:00
f10atin9
d871f0e6ee Test: update ListVolumeSnapshotClassTest
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-03-09 14:59:55 +08:00
f10atin9
d224df444c Fix: Modified the function to get the list of snapshots in countVolumeSnapshots.
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-03-09 14:07:39 +08:00
f10atin9
902997b207 Fix: add deepcopy
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-03-09 11:14:26 +08:00
f10atin9
2e34bdf9a2 Add "snapshot-count" annotation for volumesnapshotClass
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-03-09 10:30:47 +08:00
mango
f018a23023 chore: add licenses check tools (#4706)
* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* remove verify-licenses because verify-all exist.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* update modules.txt

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.mod

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* update vendor directory.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.sum

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.sum

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* ignore `pkg/controller/application/status.go`

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* add license header.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>
2022-03-09 10:25:13 +08:00
f10atin9
ca39efe137 Add "readyToUse" filter field to volumesnapshotcontent
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-03-02 18:02:57 +08:00
KubeSphere CI Bot
77d14fe4dc Merge pull request #4596 from f10atin9/volumesnapshotcontent
Support snapshotcontent management
2022-01-20 11:46:36 +08:00
KubeSphere CI Bot
365924e76b Merge pull request #4599 from dkeven/fixmappanic
Fix: deepcopy before mutating shared objects
2022-01-11 13:56:35 +08:00
dkeven
d1b0beffd6 Fix: deepcopy before mutating shared objects
Signed-off-by: dkeven <keven@kubesphere.io>
2022-01-10 11:27:50 +08:00
f10atin9
ee35f54cb8 add snapshotcontent func
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2022-01-06 15:44:13 +08:00
f10atin9
c29722ce7a add snapshotclass
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2021-12-28 11:08:32 +08:00
Xinzhao Xu
61b037d291 Support query pods by status 2021-11-11 10:15:16 +08:00
Roland.Ma
d1adef00f6 fix bugs reported by sonarqube
Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
2021-11-01 09:01:49 +00:00
KubeSphere CI Bot
ff8df62b88 Merge pull request #4205 from f10atin9/update_csiDriver
Update csi driver apiVersion
2021-09-09 11:33:15 +08:00
KubeSphere CI Bot
f88e5811d5 Merge pull request #4215 from dkeven/moveresourcegetter
Move scope-misplaced resource getters to the right place
2021-09-07 15:13:15 +08:00
f10atin9
a82617af5f remove snapshotter v3
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2021-09-06 18:08:08 +08:00
dkeven
89c792b584 Move scope-misplaced resource getters to the right place
Signed-off-by: dkeven <keven@kubesphere.io>
2021-09-06 13:14:24 +08:00
f10atin9
463feb8a61 update return and apiserver
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2021-09-06 11:30:19 +08:00
f10atin9
faca834364 update goimports
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2021-09-03 16:22:10 +08:00
f10atin9
a2efda820d add pv.go
Signed-off-by: f10atin9 <f10atin9@kubesphere.io>
2021-09-03 14:29:50 +08:00
jrkeen
d359d03dc3 fix deadlock for node getter
Signed-off-by: jrkeen <jrkeen@hotmail.com>
2021-09-02 17:42:19 +08:00
zhu733756
242ceb54f6 [v3.2] Add grafana dashboard importing API (#11)
* Add API to import grafana templates to kubesphere dashboard
* Merge and fix the latest codes from kubesphere #2501

Signed-off-by: zhu733756 <talonzhu@yunify.com>
2021-08-31 12:24:46 +08:00
wenhuwang
adfd3d7aaf Upgrade ingress api version to networking.k8s.io/v1
Signed-off-by: wenhuwang <976400757@qq.com>
2021-08-19 15:36:04 +08:00
Roland.Ma
2fcfb81066 fix controller Start method signature
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-16 06:58:12 +00:00
KubeSphere CI Bot
318ecfdfd5 Merge pull request #3919 from RolandMa1986/fix-manifests
change controller-gen crds source path
2021-06-01 13:34:35 +08:00
Roland.Ma
0ba9f28aac fix: dashboard ut test
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-05-31 07:42:46 +00:00