From c7df7986e25907c8ea16d53a66158ee0826d4aaa Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Fri, 22 Apr 2022 14:10:39 +0200 Subject: [PATCH] Remove default "enable-controller-attach-detach" command line argument --- pkg/webhook/controlplane/ensurer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/webhook/controlplane/ensurer.go b/pkg/webhook/controlplane/ensurer.go index 6688f71..f8b5857 100644 --- a/pkg/webhook/controlplane/ensurer.go +++ b/pkg/webhook/controlplane/ensurer.go @@ -125,7 +125,6 @@ func ensureKubeletCommandLineArgs(command []string, kubeletVersion *semver.Versi if kubeletVersion.LessThan(firstUnsupportedVersion) { command = extensionswebhook.EnsureStringWithPrefix(command, "--cloud-provider=", "external") - command = extensionswebhook.EnsureStringWithPrefix(command, "--enable-controller-attach-detach=", "true") } return command