From 09f4304d5fefc78ff5885e6fccb7bf1a626da15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Tue, 14 Oct 2025 22:25:12 +0200 Subject: [PATCH] trivial: remove dead code --- main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.go b/main.go index ebf2fc9a..6d47f947 100644 --- a/main.go +++ b/main.go @@ -179,12 +179,5 @@ func cloudInitializer(config *config.CompletedConfig) cloudprovider.Interface { klog.Fatalf("Cloud provider is nil") } - if !cloud.HasClusterID() { - if config.ComponentConfig.KubeCloudShared.AllowUntaggedCloud { - klog.Warning("detected a cluster without a ClusterID. A ClusterID will be required in the future. Please tag your cluster to avoid any future issues") - } else { - klog.Fatalf("no ClusterID found. A ClusterID is required for the cloud provider to function properly. This check can be bypassed by setting the allow-untagged-cloud option") - } - } return cloud }