Adds kubeadm feature-gate for dual-stack (IPv6DualStack).

Issue: #1612
This commit is contained in:
Arvinderpal Wander 2019-07-14 11:12:10 -07:00
parent f9a7ca8bab
commit 79e7a4c0da

View File

@ -31,6 +31,8 @@ const (
// CoreDNS is GA in v1.11
CoreDNS = "CoreDNS"
// IPv6DualStack is expected to be alpha in v1.16
IPv6DualStack = "IPv6DualStack"
)
var coreDNSMessage = "featureGates:CoreDNS has been removed in v1.13\n" +
@ -38,7 +40,8 @@ var coreDNSMessage = "featureGates:CoreDNS has been removed in v1.13\n" +
// InitFeatureGates are the default feature gates for the init command
var InitFeatureGates = FeatureList{
CoreDNS: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.Deprecated}, HiddenInHelpText: true, DeprecationMessage: coreDNSMessage},
CoreDNS: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.Deprecated}, HiddenInHelpText: true, DeprecationMessage: coreDNSMessage},
IPv6DualStack: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
}
// Feature represents a feature being gated