Skip to content

Commit 1942134

Browse files
authored
Merge pull request kubernetes#127119 from Jefftree/compat-version/cleanup-apiserver-example
Remove example feature gate from pkg/apiserver/kube_features.go
2 parents 05df9f4 + 79deb21 commit 1942134

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

staging/src/k8s.io/apiserver/pkg/features/kube_features.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,8 @@ func init() {
300300
// To add a new feature, define a key for it above and add it here. The features will be
301301
// available throughout Kubernetes binaries.
302302
//
303-
// Entries are alphabetized and separated from each other with blank lines to avoid sweeping gofmt changes
304-
// when adding or removing one entry.
303+
// Entries are alphabetized.
305304
var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate.VersionedSpecs{
306-
// Example:
307-
// EmulationVersion: {
308-
// {Version: version.MustParse("1.30"), Default: false, PreRelease: featuregate.Alpha},
309-
// },
310-
311305
AnonymousAuthConfigurableEndpoints: {
312306
{Version: version.MustParse("1.31"), Default: false, PreRelease: featuregate.Alpha},
313307
{Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.Beta},

0 commit comments

Comments
 (0)