hongming
a1a2f4bb2d
fix: dynamic resource API for builtin resources
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-06-12 11:24:49 +08:00
hongming
4d88ed2ca1
update dependencies ( #6519 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-05-29 15:51:37 +08:00
hongming
281b2091a5
chore: update build and dependency management scripts ( #6513 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-05-27 16:03:39 +08:00
hongming
0d852e8276
chore: update copyright headers ( #6496 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-04-30 15:53:51 +08:00
KubeSphere CI Bot
522d0b4de5
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 06:26:25 +00:00
hongming
c438adedeb
security: restrict anonymous access to the /kapis/version endpoint ( #2107 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-03-19 06:26:25 +00:00
smartcat999
f77b0afd85
fix ldaps protocol ( #6384 )
...
fix: ldap default protocol (#2156 )
Signed-off-by: peng wu <2030047311@qq.com >
2025-03-03 16:03:40 +08:00
hongming
018f6045ee
feat(auth): support multiple identity provider associations ( #6299 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-02-28 16:48:36 +08:00
smartcat999
f390d46da2
Fix OIDC logout redirect uri ( #6348 )
...
* fix: oidc logout redirect uri
Signed-off-by: peng wu <2030047311@qq.com >
* fix: oidc unittest
Signed-off-by: peng wu <2030047311@qq.com >
---------
Signed-off-by: peng wu <2030047311@qq.com >
2025-02-05 11:11:09 +08:00
smartcat999
68c13b78ee
fix: support LDAPS && STARTTLS ( #6320 )
...
Signed-off-by: peng wu <2030047311@qq.com >
2024-12-24 10:39:08 +08:00
凌波
54f4a9b893
feat: Enhance JSBundle Api to declare auxiliary asset files required for extending components ( #6308 )
...
feat: add support for auxiliary asset files to jsBundle
Signed-off-by: lingbo <lingbo@lingbohome.com >
2024-12-12 16:58:55 +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
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
凌波
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
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
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
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
Xinzhao Xu
3b8c12ffdc
apis/resources: support for searching alias in annotations ( #5807 )
2023-07-04 11:24:49 +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
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
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
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
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
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
hongming
f7d0addf9e
Use batch/v1 instead of batch/v1beta1 ( #5562 )
2023-03-03 10:37:38 +08:00
Wenhao Zhou
dc28a0917a
Add api for identity provider login ( #5534 )
...
* add api for ldap login
* update ldap login to identity provider login for more flexible login type
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
* update PasswordAuthenticate
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
* add test case
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
* update api path
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
* make goimports and add annotations
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
* update func names & add annotations
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
---------
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
2023-02-27 18:35:35 +08:00
Wenhao Zhou
9dad732860
Revert PR #5018 ( #5548 )
...
Revert "[KS-OIDC] Remove special characters form sub OIDC standard claim (#5018 )"
This reverts commit 45a062593f .
2023-02-27 15:34:35 +08:00
hongming
f0221dbed9
Use golang-jwt/jwt instead of form3tech-oss/jwt-go ( #5532 )
2023-02-20 12:18:28 +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
smartcat999
b5a070edeb
feat: update health check API ( #5496 )
...
* feat: update health check API
* fix: code lint && update goimports
* feat: update health check response && update goimports
2023-01-30 14:39:11 +08:00
hongming
5151556663
Fix failed to cache resources if group version not found ( #5408 )
2022-12-09 16:18:34 +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
hzhhong
a8046eee00
Fix:Goroutine leaks when getting audit event sender times out ( #5342 )
...
* Fix:Goroutine leaks when getting audit event sender times out
* make it more readable
2022-11-11 10:50:35 +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
chavacava
14aa059c63
fix #5267 by renaming yaml struct tag ( #5268 )
...
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com >
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com >
2022-10-08 14:21:57 +08:00
Wenhao Zhou
1b689341ab
Fix: Can not resolve the resource scope correctly ( #5263 )
...
Fix: can not resolve the resource scope of clusters.cluster.kubesphere.io correctly
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-10-08 10:20:56 +08:00
hongming
db867fa2ed
invalid config file should not be ignored ( #5228 )
...
fix the invalid config file should not be ignored
2022-09-20 10:06:15 +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
junot
789a0ab1e4
fix rule status set ( #5219 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-09-16 18:43:48 +08:00
wanjunlei
3b5fae0013
support recording disable and enable users in auditing ( #5154 )
...
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io >
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io >
2022-09-07 18:13:40 +08:00