From 642d96dcb4591b692d459bd3553b2c5a2eff5f34 Mon Sep 17 00:00:00 2001 From: HirazawaUi <695097494plus@gmail.com> Date: Thu, 18 Dec 2025 19:45:38 +0800 Subject: [PATCH] clean up unused constant --- cmd/kubeadm/app/constants/constants.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go index 02b0d615c71..1d217c8701e 100644 --- a/cmd/kubeadm/app/constants/constants.go +++ b/cmd/kubeadm/app/constants/constants.go @@ -478,12 +478,6 @@ var ( Effect: v1.TaintEffectNoSchedule, } - // ControlPlaneToleration is the toleration to apply on the PodSpec for being able to run that Pod on the control-plane - ControlPlaneToleration = v1.Toleration{ - Key: LabelNodeRoleControlPlane, - Effect: v1.TaintEffectNoSchedule, - } - // ControlPlaneComponents defines the control-plane component names ControlPlaneComponents = []string{KubeAPIServer, KubeControllerManager, KubeScheduler} -- 2.43.0