We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac99f83 commit 15d9805Copy full SHA for 15d9805
cmd/kops/util/factory.go
@@ -24,6 +24,7 @@ import (
24
"strings"
25
"sync"
26
27
+ "k8s.io/apimachinery/pkg/runtime"
28
"k8s.io/apimachinery/pkg/util/validation/field"
29
"k8s.io/cli-runtime/pkg/genericclioptions"
30
"k8s.io/client-go/dynamic"
@@ -200,6 +201,8 @@ func configureRESTConfig(restConfig *rest.Config) {
200
201
restConfig.UserAgent = "kops"
202
restConfig.Burst = 50
203
restConfig.QPS = 20
204
+ restConfig.AcceptContentTypes = runtime.ContentTypeProtobuf
205
+ restConfig.ContentType = runtime.ContentTypeProtobuf
206
}
207
208
func (f *Factory) HTTPClient(restConfig *rest.Config) (*http.Client, error) {
0 commit comments