hongming
4d88ed2ca1
update dependencies ( #6519 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-05-29 15:51:37 +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
Yunkang Ren
75ac085efc
feat: multicluster config API ( #6474 )
...
Signed-off-by: renyunkang <rykren1998@gmail.com >
2025-04-21 11:19:37 +08: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
inksnw
42dfe0db41
fix typo ( #1981 )
2025-03-19 06:26:25 +00:00
KubeSphere CI Bot
1564abca4d
feat: add imagesearch provider ( #6449 )
...
* feat: add imagesearch provider
* update
* update
* update
* update url and queries
* add func getProviderTypeByHost
---------
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
Signed-off-by: hongming <coder.scala@gmail.com >
Co-authored-by: wenhaozhou <wenhaozhou@yunify.com >
2025-03-19 11:03:58 +08:00
KubeSphere CI Bot
afe1372bc3
[kse-2286] replace storeCAFile use WithTLSConfig ( #6400 )
...
Signed-off-by: ks-ci-bot <ks-ci-bot@kubesphere.io >
Co-authored-by: ks-ci-bot <ks-ci-bot@kubesphere.io >
2025-03-11 10:40:48 +08:00
smartcat999
41fdd0f4eb
fix: replace user displayname with annotation ( #6395 )
...
Signed-off-by: peng wu <2030047311@qq.com >
2025-03-06 17:09:43 +08:00
hongming
c1259aff8b
feat: platform config API ( #2052 ) ( #6303 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-02-28 16:48:44 +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
Wenhao Zhou
7ce92c801a
[application] add sortBy parameter versionName ( #6333 )
...
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
2025-01-15 10:22:45 +08:00
hongming
7a3a99cecb
fix workspace role name exceeding the length limit ( #2132 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2024-12-26 15:51:44 +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
liujian
238bd67b8f
fix: update license-eye version to v0.6.0 ( #6288 )
...
Co-authored-by: joyceliu <joyceliu@yunify.com >
2024-11-26 10:17: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
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
hongming
7992b75072
fix: unexpected HTTP status code ( #6241 )
...
fix: Update member cluster mirror service verification response infor… (#1992 )
* fix: repository verify error
* Update pkg/kapis/resources/v1alpha3/handler.go
---------
Co-authored-by: smartcat999 <49057502+smartcat999@users.noreply.github.com >
2024-10-28 11:51:03 +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
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
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
Xinzhao Xu
40e910bbc0
Validate clusterRole when adding a cluster ( #5878 )
2023-08-22 14:04:58 +08:00
Elon Cheng
560b0da7da
Modify permission path ( #5848 )
...
Signed-off-by: dehaocheng <dehaocheng@kubesphere.io >
2023-07-18 10:10:05 +08:00
hongming
a64e573c04
fix: enableMultiLogin configuration does not take effect ( #5819 )
2023-07-06 18:04:51 +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
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
Wenhao Zhou
c3623cdda3
Fix: cannot extract identity provider name ( #5558 )
...
fix: cannot extract identity provider name
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
2023-03-01 13:35:37 +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
7e4ba8215f
Update version root path ( #5542 )
...
update version root path
Signed-off-by: wenhaozhou <wenhaozhou@yunify.com >
2023-02-20 19:08:28 +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
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
1e2a8c1699
fix: ks-apiserver panic error: ServiceAccount's Secret index out of r… ( #5428 )
...
fix: ks-apiserver panic error: ServiceAccount's Secret index out of range
2022-12-26 10:08:58 +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
Wenhao Zhou
493586d9a6
Add api /version and deprecated api /kapi/version ( #5390 )
...
add /version api and deprecated api /kapi/version
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-11-30 12:48:53 +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
junot
2b37422645
add label_matcher param to filter alerts ( #5353 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-11-08 11:15:26 +08:00
junot
b5cb6fef4e
fix rulegroup state filter ( #5340 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-11-01 11:49:56 +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
Wenhao Zhou
77547147de
Check cluster permission for create/update workspacetemplate ( #5302 )
...
* add cluster authorization for create/update workspacetemplate
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
add cluster authorization for create/update workspacetemplate
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
* add handle forbidden err
* add forbidden error log
* allow to use clusters of public visibility
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-10-20 18:47:41 +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
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
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
Wenhao Zhou
08d181ddca
Support for filtering workspace roles using labelSelector ( #5161 )
...
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
Signed-off-by: Wenhao Zhou <wenhaozhou@yunify.com >
2022-08-22 16:40:00 +08:00
junot
b97a49b925
enhance globalrulegroups ( #5134 )
...
Signed-off-by: junot <junotxiang@kubesphere.io >
Signed-off-by: junot <junotxiang@kubesphere.io >
2022-08-12 20:30:33 +08:00
Hao Wang
587dbe723b
Fix the tiny typo in ks-openapi-spec ( #5114 )
...
There is tiny typo in Create Namespace API.
So fix it quickly.
2022-08-10 17:58: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
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
a2059725dd
support clean up the notification configure when delete cluster ( #5077 )
2022-07-20 19:27:51 +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