We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7efe03a commit ccef526Copy full SHA for ccef526
pkg/cmd/util/clientcmd/factory.go
@@ -794,6 +794,8 @@ func (c *clientCache) ClientConfigForVersion(version *unversioned.GroupVersion)
794
if err != nil {
795
return nil, err
796
}
797
+ config.ContentConfig.AcceptContentTypes = "application/vnd.kubernetes.protobuf, application/json"
798
+ config.ContentConfig.ContentType = "application/vnd.kubernetes.protobuf"
799
c.defaultConfig = config
800
801
// TODO: have a better config copy method
0 commit comments