Update generated clients.

Kubernetes-commit: 8fb9622b882496dad1e91103dd15fff7fc2658e0
This commit is contained in:
Ben Luddy 2024-10-24 16:50:48 -04:00 committed by Kubernetes Publisher
parent a603ed3924
commit cbb61c01d5

View File

@ -88,7 +88,7 @@ func setConfigDefaults(config *rest.Config) error {
gv := samplecontrollerv1alpha1.SchemeGroupVersion
config.GroupVersion = &gv
config.APIPath = "/apis"
config.NegotiatedSerializer = scheme.Codecs.WithoutConversion()
config.NegotiatedSerializer = rest.CodecFactoryForGeneratedClient(scheme.Scheme, scheme.Codecs).WithoutConversion()
if config.UserAgent == "" {
config.UserAgent = rest.DefaultKubernetesUserAgent()