Skip to content

Commit

Permalink
Revert "use protobuf content type instead of json for k8s client (aws…
Browse files Browse the repository at this point in the history
…#468)" (aws#478)

This reverts commit dd3564c.
  • Loading branch information
bhavi-koduru authored Sep 25, 2024
1 parent b5e212d commit 3e74da5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3e74da5

Please sign in to comment.