Skip to content

Commit 7705b30

Browse files
authored
Merge pull request kubernetes#102158 from vinayakankugoyal/kubeadm-featuregate
Add a feature-gate to kubeadm to enable/disable rootless control-plane.
2 parents e259943 + c426517 commit 7705b30

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cmd/kubeadm/app/features/features.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@ const (
3232
IPv6DualStack = "IPv6DualStack"
3333
// PublicKeysECDSA is expected to be alpha in v1.19
3434
PublicKeysECDSA = "PublicKeysECDSA"
35+
// RootlessControlPlane is expected to be in alpha in v1.22
36+
RootlessControlPlane = "RootlessControlPlane"
3537
)
3638

3739
// InitFeatureGates are the default feature gates for the init command
3840
var InitFeatureGates = FeatureList{
39-
IPv6DualStack: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.Beta}},
40-
PublicKeysECDSA: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
41+
IPv6DualStack: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.Beta}},
42+
PublicKeysECDSA: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
43+
RootlessControlPlane: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
4144
}
4245

4346
// Feature represents a feature being gated

0 commit comments

Comments
 (0)