Skip to content

Commit bb97163

Browse files
authored
Merge pull request kubernetes#127787 from Jefftree/remove-ga-feature-componentslis
Remove GA feature gate ComponentSLIs
2 parents ae617c3 + f1af846 commit bb97163

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

staging/src/k8s.io/component-base/metrics/features/kube_features.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,8 @@ import (
2020
"k8s.io/component-base/featuregate"
2121
)
2222

23-
const (
24-
// owner: @logicalhan
25-
// kep: https://kep.k8s.io/3466
26-
// alpha: v1.26
27-
ComponentSLIs featuregate.Feature = "ComponentSLIs"
28-
)
29-
3023
func featureGates() map[featuregate.Feature]featuregate.FeatureSpec {
31-
return map[featuregate.Feature]featuregate.FeatureSpec{
32-
ComponentSLIs: {Default: true, PreRelease: featuregate.Beta},
33-
}
24+
return map[featuregate.Feature]featuregate.FeatureSpec{}
3425
}
3526

3627
// AddFeatureGates adds all feature gates used by this package.

test/featuregates_linter/test_data/unversioned_feature_list.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
- name: ComponentSLIs
2-
versionedSpecs:
3-
- default: true
4-
lockToDefault: false
5-
preRelease: Beta
6-
version: ""
71
- name: ContextualLogging
82
versionedSpecs:
93
- default: true

0 commit comments

Comments
 (0)