mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 23:19:26 +00:00
Revert "Remove GA feature gate ComponentSLIs"
This reverts commit f1af84620b
.
This commit is contained in:
@@ -20,8 +20,17 @@ import (
|
|||||||
"k8s.io/component-base/featuregate"
|
"k8s.io/component-base/featuregate"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
// owner: @logicalhan
|
||||||
|
// kep: https://kep.k8s.io/3466
|
||||||
|
// alpha: v1.26
|
||||||
|
ComponentSLIs featuregate.Feature = "ComponentSLIs"
|
||||||
|
)
|
||||||
|
|
||||||
func featureGates() map[featuregate.Feature]featuregate.FeatureSpec {
|
func featureGates() map[featuregate.Feature]featuregate.FeatureSpec {
|
||||||
return map[featuregate.Feature]featuregate.FeatureSpec{}
|
return map[featuregate.Feature]featuregate.FeatureSpec{
|
||||||
|
ComponentSLIs: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddFeatureGates adds all feature gates used by this package.
|
// AddFeatureGates adds all feature gates used by this package.
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
- name: ComponentSLIs
|
||||||
|
versionedSpecs:
|
||||||
|
- default: true
|
||||||
|
lockToDefault: false
|
||||||
|
preRelease: Beta
|
||||||
|
version: ""
|
||||||
- name: ContextualLogging
|
- name: ContextualLogging
|
||||||
versionedSpecs:
|
versionedSpecs:
|
||||||
- default: true
|
- default: true
|
||||||
|
Reference in New Issue
Block a user