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