mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-28 03:47:34 +00:00
Add NegotiatedSerializer to config
This commit is contained in:
@@ -73,6 +73,7 @@ func setBatchDefaults(config *restclient.Config) error {
|
||||
//}
|
||||
|
||||
config.Codec = api.Codecs.LegacyCodec(*config.GroupVersion)
|
||||
config.NegotiatedSerializer = api.Codecs
|
||||
if config.QPS == 0 {
|
||||
config.QPS = 5
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user