From 52745d10e1bac55867f91a5f2193fb353c532a10 Mon Sep 17 00:00:00 2001 From: Bhavitha Koduru Date: Wed, 25 Sep 2024 22:25:25 +0000 Subject: [PATCH] Revert "use protobuf content type instead of json for k8s client (#468)" 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,