From fc5b3e2dfb60e911f42490ba8c00a0720606bc00 Mon Sep 17 00:00:00 2001 From: HirazawaUi <695097494plus@gmail.com> Date: Mon, 7 Oct 2024 22:57:04 +0800 Subject: [PATCH] add NodeLocalCRISocket feature gate --- cmd/kubeadm/app/features/features.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/kubeadm/app/features/features.go b/cmd/kubeadm/app/features/features.go index efbd78cdddc..8defd6036f2 100644 --- a/cmd/kubeadm/app/features/features.go +++ b/cmd/kubeadm/app/features/features.go @@ -40,6 +40,8 @@ const ( WaitForAllControlPlaneComponents = "WaitForAllControlPlaneComponents" // ControlPlaneKubeletLocalMode is expected to be in alpha in v1.31, beta in v1.32 ControlPlaneKubeletLocalMode = "ControlPlaneKubeletLocalMode" + // NodeLocalCRISocket is expected to be in alpha in v1.32, beta in v1.33, ga in v1.35 + NodeLocalCRISocket = "NodeLocalCRISocket" ) // InitFeatureGates are the default feature gates for the init command @@ -56,6 +58,7 @@ var InitFeatureGates = FeatureList{ EtcdLearnerMode: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.GA, LockToDefault: true}}, WaitForAllControlPlaneComponents: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}}, ControlPlaneKubeletLocalMode: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}}, + NodeLocalCRISocket: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}}, } // Feature represents a feature being gated