@@ -282,11 +282,23 @@ func testEtcd3StoragePath(t g.GinkgoTInterface, oc *exutil.CLI, etcdClient3Fn fu
282282 // Apply output of git diff origin/release-1.XY origin/release-1.X(Y+1) test/integration/etcd/data.go. This is needed
283283 // to apply the right data depending on the kube version of the running server. Replace this with the next current
284284 // and rebase version next time. Don't pile them up.
285- if strings .HasPrefix (version .Minor , "27 " ) {
285+ if strings .HasPrefix (version .Minor , "29 " ) {
286286 for k , a := range map [schema.GroupVersionResource ]etcddata.StorageData {
287287 // Added etcd data.
288288 // TODO: When rebase has started, add etcd storage data has been added to
289289 // k8s.io/kubernetes/test/integration/etcd/data.go in the 1.27 release.
290+
291+ // compare https://github.com/kubernetes/kubernetes/pull/121089
292+ gvr ("flowcontrol.apiserver.k8s.io" , "v1" , "flowschemas" ): {
293+ Stub : `{"metadata": {"name": "fs-3"}, "spec": {"priorityLevelConfiguration": {"name": "name1"}}}` ,
294+ ExpectedEtcdPath : "/registry/flowschemas/fs-3" ,
295+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3" , "FlowSchema" ),
296+ },
297+ gvr ("flowcontrol.apiserver.k8s.io" , "v1" , "prioritylevelconfigurations" ): {
298+ Stub : `{"metadata": {"name": "conf5"}, "spec": {"type": "Limited", "limited": {"nominalConcurrencyShares":3, "limitResponse": {"type": "Reject"}}}}` ,
299+ ExpectedEtcdPath : "/registry/prioritylevelconfigurations/conf5" ,
300+ ExpectedGVK : gvkP ("flowcontrol.apiserver.k8s.io" , "v1beta3" , "PriorityLevelConfiguration" ),
301+ },
290302 } {
291303 if _ , preexisting := etcdStorageData [k ]; preexisting {
292304 t .Errorf ("upstream etcd storage data already has data for %v. Update current and rebase version diff to next rebase version" , k )
0 commit comments