Skip to content

Commit 4a6d318

Browse files
committed
kubeadm: deprecate the RootlessControlPlane feature gate
The feature was left in alpha for a few releases, since k8s started planning on a broader feature UserNamespacesSupport, which is what kubeadm should integrate with. UserNamespacesSupport graduated to beta in 1.30. Once it graduates to GA kubeadm can start using it an remove RootlessControlPlane.
1 parent a310305 commit 4a6d318

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)