mirror of https://github.com/k3s-io/k3s
Update/fix feature-gate comments
parent
991b07e60d
commit
fe643590ba
|
@ -34,14 +34,14 @@ const (
|
||||||
// a featureSpec entry to knownFeatures.
|
// a featureSpec entry to knownFeatures.
|
||||||
|
|
||||||
// allAlphaGate is a global toggle for alpha features. Per-feature key
|
// allAlphaGate is a global toggle for alpha features. Per-feature key
|
||||||
// values override the default set by allAlphaGate, if they come later in the
|
// values override the default set by allAlphaGate. Examples:
|
||||||
// specification of gates. Examples:
|
|
||||||
// AllAlpha=false,NewFeature=true will result in newFeature=true
|
// AllAlpha=false,NewFeature=true will result in newFeature=true
|
||||||
// AllAlpha=true,NewFeature=false will result in newFeature=false
|
// AllAlpha=true,NewFeature=false will result in newFeature=false
|
||||||
allAlphaGate = "AllAlpha"
|
allAlphaGate = "AllAlpha"
|
||||||
externalTrafficLocalOnly = "AllowExtTrafficLocalEndpoints"
|
externalTrafficLocalOnly = "AllowExtTrafficLocalEndpoints"
|
||||||
dynamicKubeletConfig = "DynamicKubeletConfig"
|
dynamicKubeletConfig = "DynamicKubeletConfig"
|
||||||
dynamicVolumeProvisioning = "DynamicVolumeProvisioning"
|
dynamicVolumeProvisioning = "DynamicVolumeProvisioning"
|
||||||
|
// TODO: Define gate/accessor for AppArmor
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -99,7 +99,8 @@ type FeatureGate interface {
|
||||||
// alpha: v1.3
|
// alpha: v1.3
|
||||||
DynamicVolumeProvisioning() bool
|
DynamicVolumeProvisioning() bool
|
||||||
|
|
||||||
// TODO: Define accessors for each non-API alpha feature.
|
// owner: mtaufen
|
||||||
|
// alpha: v1.4
|
||||||
DynamicKubeletConfig() bool
|
DynamicKubeletConfig() bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue