@@ -38,13 +38,6 @@ const (
38
38
// of code conflicts because changes are more likely to be scattered
39
39
// across the file.
40
40
41
- // owner: @ttakahashi21 @mkimuram
42
- // kep: https://kep.k8s.io/3294
43
- // alpha: v1.26
44
- //
45
- // Enable usage of Provision of PVCs from snapshots in other namespaces
46
- CrossNamespaceVolumeDataSource featuregate.Feature = "CrossNamespaceVolumeDataSource"
47
-
48
41
// owner: @aojea
49
42
// Deprecated: v1.31
50
43
//
@@ -178,6 +171,13 @@ const (
178
171
// Set the scheduled time as an annotation in the job.
179
172
CronJobsScheduledAnnotation featuregate.Feature = "CronJobsScheduledAnnotation"
180
173
174
+ // owner: @ttakahashi21 @mkimuram
175
+ // kep: https://kep.k8s.io/3294
176
+ // alpha: v1.26
177
+ //
178
+ // Enable usage of Provision of PVCs from snapshots in other namespaces
179
+ CrossNamespaceVolumeDataSource featuregate.Feature = "CrossNamespaceVolumeDataSource"
180
+
181
181
// owner: @elezar
182
182
// kep: http://kep.k8s.io/4009
183
183
// alpha: v1.28
@@ -954,17 +954,12 @@ func init() {
954
954
clientfeatures .ReplaceFeatureGates (ca )
955
955
}
956
956
957
- // defaultKubernetesFeatureGates consists of all known Kubernetes-specific feature keys.
958
- // To add a new feature, define a key for it above and add it here. The features will be
959
- // available throughout Kubernetes binaries.
957
+ // defaultKubernetesFeatureGates consists of legacy unversioned Kubernetes-specific feature keys.
958
+ // Please do not add to this file and use pkg/features/versioned_kube_features.go instead.
960
959
//
961
960
// Entries are separated from each other with blank lines to avoid sweeping gofmt changes
962
961
// when adding or removing one entry.
963
962
var defaultKubernetesFeatureGates = map [featuregate.Feature ]featuregate.FeatureSpec {
964
- AllowDNSOnlyNodeCSR : {Default : false , PreRelease : featuregate .Deprecated }, // remove after 1.33
965
-
966
- DisableNodeKubeProxyVersion : {Default : false , PreRelease : featuregate .Deprecated }, // default on in 1.33
967
-
968
963
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
969
964
// unintentionally on either side:
970
965
@@ -1047,8 +1042,12 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
1047
1042
// ...
1048
1043
HPAScaleToZero : {Default : false , PreRelease : featuregate .Alpha },
1049
1044
1045
+ AllowDNSOnlyNodeCSR : {Default : false , PreRelease : featuregate .Deprecated }, // remove after 1.33
1046
+
1050
1047
AllowInsecureKubeletCertificateSigningRequests : {Default : false , PreRelease : featuregate .Deprecated }, // remove in 1.33
1051
1048
1049
+ DisableNodeKubeProxyVersion : {Default : false , PreRelease : featuregate .Deprecated }, // default on in 1.33
1050
+
1052
1051
StorageNamespaceIndex : {Default : true , PreRelease : featuregate .Beta },
1053
1052
1054
1053
RecursiveReadOnlyMounts : {Default : true , PreRelease : featuregate .Beta },
0 commit comments