mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
kubeadm: add feature gate EtcdLearnerMode alpha
This commit is contained in:
parent
fa8ef76a8b
commit
861db2348e
@ -33,12 +33,15 @@ const (
|
|||||||
PublicKeysECDSA = "PublicKeysECDSA"
|
PublicKeysECDSA = "PublicKeysECDSA"
|
||||||
// RootlessControlPlane is expected to be in alpha in v1.22
|
// RootlessControlPlane is expected to be in alpha in v1.22
|
||||||
RootlessControlPlane = "RootlessControlPlane"
|
RootlessControlPlane = "RootlessControlPlane"
|
||||||
|
// EtcdLearnerMode is expected to be in alpha in v1.26
|
||||||
|
EtcdLearnerMode = "EtcdLearnerMode"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitFeatureGates are the default feature gates for the init command
|
// InitFeatureGates are the default feature gates for the init command
|
||||||
var InitFeatureGates = FeatureList{
|
var InitFeatureGates = FeatureList{
|
||||||
PublicKeysECDSA: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
|
PublicKeysECDSA: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
|
||||||
RootlessControlPlane: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
|
RootlessControlPlane: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
|
||||||
|
EtcdLearnerMode: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
|
||||||
}
|
}
|
||||||
|
|
||||||
// Feature represents a feature being gated
|
// Feature represents a feature being gated
|
||||||
|
Loading…
Reference in New Issue
Block a user