From 3e74da55eae9a484fdfa87e66558778ef1469fa6 Mon Sep 17 00:00:00 2001 From: Bhavitha <106284071+bhavi-koduru@users.noreply.github.com> Date: Wed, 25 Sep 2024 15:37:53 -0700 Subject: [PATCH] Revert "use protobuf content type instead of json for k8s client (#468)" (#478) This reverts commit dd3564c30c5da8233d3ab5737ce331ee2fe0d10d. --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index a5493b4c..51c070c1 100644 --- a/main.go +++ b/main.go @@ -203,8 +203,6 @@ func main() { kubeConfig.QPS = config.DefaultAPIServerQPS kubeConfig.Burst = config.DefaultAPIServerBurst kubeConfig.UserAgent = fmt.Sprintf("%s/%s", ec2API.AppName, version.GitVersion) - kubeConfig.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json" - kubeConfig.ContentType = "application/vnd.kubernetes.protobuf" setupLog.Info("starting the controller with leadership setting", "leader mode enabled", enableLeaderElection,