diff --git a/pkg/config/runtime_config.go b/pkg/config/runtime_config.go index 9e42ba00f..4cf75141f 100644 --- a/pkg/config/runtime_config.go +++ b/pkg/config/runtime_config.go @@ -108,6 +108,7 @@ func BuildRestConfig(rtCfg RuntimeConfig) (*rest.Config, error) { return nil, err } + restCFG.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json" restCFG.QPS = defaultQPS restCFG.Burst = defaultBurst return restCFG, nil