]> git.feebdaed.xyz Git - 0xmirror/kubernetes.git/commitdiff
clean up unused constant
authorHirazawaUi <695097494plus@gmail.com>
Thu, 18 Dec 2025 11:45:38 +0000 (19:45 +0800)
committerHirazawaUi <695097494plus@gmail.com>
Thu, 18 Dec 2025 11:45:38 +0000 (19:45 +0800)
cmd/kubeadm/app/constants/constants.go

index 02b0d615c7187b63d2ba8a75d611b0e38ac4e51f..1d217c8701ec1a7856c9d7cbd1d8339337dcdc16 100644 (file)
@@ -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}