Skip to content

Commit 3e74da5

Browse files
authored
Revert "use protobuf content type instead of json for k8s client (#468)" (#478)
This reverts commit dd3564c.
1 parent b5e212d commit 3e74da5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ func main() {
203203
kubeConfig.QPS = config.DefaultAPIServerQPS
204204
kubeConfig.Burst = config.DefaultAPIServerBurst
205205
kubeConfig.UserAgent = fmt.Sprintf("%s/%s", ec2API.AppName, version.GitVersion)
206-
kubeConfig.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json"
207-
kubeConfig.ContentType = "application/vnd.kubernetes.protobuf"
208206

209207
setupLog.Info("starting the controller with leadership setting",
210208
"leader mode enabled", enableLeaderElection,

0 commit comments

Comments
 (0)