Skip to content

Commit

Permalink
Merge pull request #80145 from Nordix/kubeadm-ds-feature-gate
Browse files Browse the repository at this point in the history
Adds kubeadm feature-gate for dual-stack (IPv6DualStack)
  • Loading branch information
k8s-ci-robot committed Jul 15, 2019
2 parents b8a10b4 + 79e7a4c commit 768acf6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/kubeadm/app/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ 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" +
"\tUse kubeadm-config to select which DNS addon to install."

// 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
Expand Down

0 comments on commit 768acf6

Please sign in to comment.