Skip to content

Commit

Permalink
Update/fix feature-gate comments
Browse files Browse the repository at this point in the history
  • Loading branch information
j3ffml committed Aug 24, 2016
1 parent 991b07e commit fe64359
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/util/config/feature_gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ const (
// a featureSpec entry to knownFeatures.

// allAlphaGate is a global toggle for alpha features. Per-feature key
// values override the default set by allAlphaGate, if they come later in the
// specification of gates. Examples:
// values override the default set by allAlphaGate. Examples:
// AllAlpha=false,NewFeature=true will result in newFeature=true
// AllAlpha=true,NewFeature=false will result in newFeature=false
allAlphaGate = "AllAlpha"
externalTrafficLocalOnly = "AllowExtTrafficLocalEndpoints"
dynamicKubeletConfig = "DynamicKubeletConfig"
dynamicVolumeProvisioning = "DynamicVolumeProvisioning"
// TODO: Define gate/accessor for AppArmor
)

var (
Expand Down Expand Up @@ -99,7 +99,8 @@ type FeatureGate interface {
// alpha: v1.3
DynamicVolumeProvisioning() bool

// TODO: Define accessors for each non-API alpha feature.
// owner: mtaufen
// alpha: v1.4
DynamicKubeletConfig() bool
}

Expand Down

0 comments on commit fe64359

Please sign in to comment.