Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated cherry pick of #113133: Fix DeleteCollection API decode DeleteOptions fail #113234

Commits on Oct 21, 2022

  1. 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
    sxllwx committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    45b0f26 View commit details
    Browse the repository at this point in the history