@@ -228,61 +228,61 @@ func GetEtcdStorageDataForNamespace(namespace string) map[schema.GroupVersionRes
228
228
gvr ("flowcontrol.apiserver.k8s.io" , "v1beta1" , "flowschemas" ): {
229
229
Stub : `{"metadata": {"name": "va2"}, "spec": {"priorityLevelConfiguration": {"name": "name1"}}}` ,
230
230
ExpectedEtcdPath : "/registry/flowschemas/va2" ,
231
- ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3 " , "FlowSchema" ),
231
+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1 " , "FlowSchema" ),
232
232
},
233
233
// --
234
234
235
235
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1beta1
236
236
gvr ("flowcontrol.apiserver.k8s.io" , "v1beta1" , "prioritylevelconfigurations" ): {
237
237
Stub : `{"metadata": {"name": "conf2"}, "spec": {"type": "Limited", "limited": {"assuredConcurrencyShares":3, "limitResponse": {"type": "Reject"}}}}` ,
238
238
ExpectedEtcdPath : "/registry/prioritylevelconfigurations/conf2" ,
239
- ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3 " , "PriorityLevelConfiguration" ),
239
+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1 " , "PriorityLevelConfiguration" ),
240
240
},
241
241
// --
242
242
243
243
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1beta2
244
244
gvr ("flowcontrol.apiserver.k8s.io" , "v1beta2" , "flowschemas" ): {
245
245
Stub : `{"metadata": {"name": "fs-1"}, "spec": {"priorityLevelConfiguration": {"name": "name1"}}}` ,
246
246
ExpectedEtcdPath : "/registry/flowschemas/fs-1" ,
247
- ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3 " , "FlowSchema" ),
247
+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1 " , "FlowSchema" ),
248
248
},
249
249
// --
250
250
251
251
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1beta2
252
252
gvr ("flowcontrol.apiserver.k8s.io" , "v1beta2" , "prioritylevelconfigurations" ): {
253
253
Stub : `{"metadata": {"name": "conf3"}, "spec": {"type": "Limited", "limited": {"assuredConcurrencyShares":3, "limitResponse": {"type": "Reject"}}}}` ,
254
254
ExpectedEtcdPath : "/registry/prioritylevelconfigurations/conf3" ,
255
- ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3 " , "PriorityLevelConfiguration" ),
255
+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1 " , "PriorityLevelConfiguration" ),
256
256
},
257
257
// --
258
258
259
259
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1beta3
260
260
gvr ("flowcontrol.apiserver.k8s.io" , "v1beta3" , "flowschemas" ): {
261
261
Stub : `{"metadata": {"name": "fs-2"}, "spec": {"priorityLevelConfiguration": {"name": "name1"}}}` ,
262
262
ExpectedEtcdPath : "/registry/flowschemas/fs-2" ,
263
+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1" , "FlowSchema" ),
263
264
},
264
265
// --
265
266
266
267
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1beta3
267
268
gvr ("flowcontrol.apiserver.k8s.io" , "v1beta3" , "prioritylevelconfigurations" ): {
268
269
Stub : `{"metadata": {"name": "conf4"}, "spec": {"type": "Limited", "limited": {"nominalConcurrencyShares":3, "limitResponse": {"type": "Reject"}}}}` ,
269
270
ExpectedEtcdPath : "/registry/prioritylevelconfigurations/conf4" ,
271
+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1" , "PriorityLevelConfiguration" ),
270
272
},
271
273
// --
272
274
273
275
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1
274
276
gvr ("flowcontrol.apiserver.k8s.io" , "v1" , "flowschemas" ): {
275
277
Stub : `{"metadata": {"name": "fs-3"}, "spec": {"priorityLevelConfiguration": {"name": "name1"}}}` ,
276
278
ExpectedEtcdPath : "/registry/flowschemas/fs-3" ,
277
- ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3" , "FlowSchema" ),
278
279
},
279
280
// --
280
281
281
282
// k8s.io/kubernetes/pkg/apis/flowcontrol/v1
282
283
gvr ("flowcontrol.apiserver.k8s.io" , "v1" , "prioritylevelconfigurations" ): {
283
284
Stub : `{"metadata": {"name": "conf5"}, "spec": {"type": "Limited", "limited": {"nominalConcurrencyShares":3, "limitResponse": {"type": "Reject"}}}}` ,
284
285
ExpectedEtcdPath : "/registry/prioritylevelconfigurations/conf5" ,
285
- ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3" , "PriorityLevelConfiguration" ),
286
286
},
287
287
// --
288
288
0 commit comments