Revert "feat: use proto in CNS usage of client-go " (#3152)
Revert "feat: use proto in CNS usage of client-go (#3131)"
This reverts commit 082d6a6655
.
This commit is contained in:
Родитель
5d4c4dc304
Коммит
eae269127e
|
@ -1245,8 +1245,6 @@ func InitializeCRDState(ctx context.Context, httpRestService cns.HTTPService, cn
|
|||
return errors.Wrap(err, "failed to get kubeconfig")
|
||||
}
|
||||
kubeConfig.UserAgent = fmt.Sprintf("azure-cns-%s", version)
|
||||
kubeConfig.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json"
|
||||
kubeConfig.ContentType = "application/vnd.kubernetes.protobuf"
|
||||
|
||||
clientset, err := kubernetes.NewForConfig(kubeConfig)
|
||||
if err != nil {
|
||||
|
|
Загрузка…
Ссылка в новой задаче