apiserver/pkg/endpoints
scott 779d3eda81 Fix DeleteCollection API decode DeleteOptions fail
The reason for the issue is that the apiserver uses the Scheme in the
global variable pkg/api/legacyscheme/scheme.go, and registers the
DeleteOptions corresponding to each APIGroup in the Scheme.  But
DeleteOptions in meta.k8s.io/v1 is not registered, resulting
in a notRegisteredErr.

Use metainternalversionscheme.Codecs as Serializer

Kubernetes-commit: e7d7f4a9e56fe5d9c10da437787118fe9ea9e5af
2022-10-18 16:47:50 +08:00
..
deprecation Generate and format files 2022-07-19 20:54:13 -04:00
discovery Switch to v3 of github.com/emicklei/go-restful 2022-06-02 10:03:29 -04:00
filterlatency Migrate to k8s.io/utils/clock in apiserver 2021-09-14 20:36:07 +02:00
filters Revert "Add an option to conditionally disable compression based on client ip." 2022-08-17 15:08:39 -04:00
handlers Fix DeleteCollection API decode DeleteOptions fail 2022-10-18 16:47:50 +08:00
metrics Lock ServerSideApply feature to true 2022-09-27 11:13:00 +02:00
openapi add test case for ToValidOperationID method: TestToValidOperationID 2022-04-27 11:48:44 +08:00
request Revert "Add an option to conditionally disable compression based on client ip." 2022-08-17 15:08:39 -04:00
responsewriter Generate and format files 2022-07-19 20:54:13 -04:00
testing Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
warning Switch to v3 of github.com/emicklei/go-restful 2022-06-02 10:03:29 -04:00
apiserver_test.go Use https links for k8s KEPs, issues, PRs, etc 2022-09-23 16:13:22 -04:00
audit_test.go Fix apiserver selflink tests 2022-01-13 16:01:35 +01:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
groupversion.go Switch to v3 of github.com/emicklei/go-restful 2022-06-02 10:03:29 -04:00
installer.go Lock ServerSideApply feature to true 2022-09-27 11:13:00 +02:00
installer_test.go fix kube-apiserver panic when CRD Kind contains only one letter 2020-06-06 23:01:35 +08:00
patchhandler_test.go Fix apiserver selflink tests 2022-01-13 16:01:35 +01:00
watch_test.go fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints 2020-12-11 14:23:30 +08:00