Skip to content

Commit 25b3912

Browse files
authored
Merge pull request kubernetes#124997 from neolit123/1.31-deprecate-rootless-cp-fg
kubeadm: deprecate the RootlessControlPlane feature gate
2 parents c9cfc74 + 4a6d318 commit 25b3912

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmd/kubeadm/app/features/features.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ var InitFeatureGates = FeatureList{
4747
DeprecationMessage: "The PublicKeysECDSA feature gate is deprecated and will be removed when v1beta3 is removed." +
4848
" v1beta4 supports a new option 'ClusterConfiguration.EncryptionAlgorithm'.",
4949
},
50-
RootlessControlPlane: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
50+
RootlessControlPlane: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha},
51+
DeprecationMessage: "Deprecated in favor of the core kubelet feature UserNamespacesSupport which is beta since 1.30." +
52+
" Once UserNamespacesSupport graduates to GA, kubeadm will start using it and RootlessControlPlane will be removed.",
53+
},
5154
EtcdLearnerMode: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.Beta}},
5255
WaitForAllControlPlaneComponents: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
5356
}

0 commit comments

Comments
 (0)