From eae269127e1752302667912d4533bdf5a416d969 Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Fri, 15 Nov 2024 11:03:41 -0600 Subject: [PATCH] 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 082d6a66558492cb76a82f069c26974b42e5b6b8. --- cns/service/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cns/service/main.go b/cns/service/main.go index 83d301249..53502b29f 100644 --- a/cns/service/main.go +++ b/cns/service/main.go @@ -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 {