From 73611a473fffcb434d096c2621087c3f6fc01a3f Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Tue, 3 Mar 2020 22:00:30 -0500 Subject: [PATCH] Fix expected version for csidriver Add a comment about GA feature --- pkg/features/kube_features.go | 1 + test/integration/etcd/data.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index db89e8ca048..476355f3929 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -172,6 +172,7 @@ const ( // owner: @saad-ali // alpha: v1.12 // beta: v1.14 + // GA: v1.18 // Enable all logic related to the CSIDriver API object in storage.k8s.io CSIDriverRegistry featuregate.Feature = "CSIDriverRegistry" diff --git a/test/integration/etcd/data.go b/test/integration/etcd/data.go index 3571f0deb11..82ab2b97e6c 100644 --- a/test/integration/etcd/data.go +++ b/test/integration/etcd/data.go @@ -519,6 +519,7 @@ func GetEtcdStorageDataForNamespace(namespace string) map[schema.GroupVersionRes etcdStorageData[gvr("storage.k8s.io", "v1", "csidrivers")] = StorageData{ Stub: `{"metadata": {"name": "csid2"}, "spec": {"attachRequired": true, "podInfoOnMount": true}}`, ExpectedEtcdPath: "/registry/csidrivers/csid2", + ExpectedGVK: gvkP("storage.k8s.io", "v1beta1", "CSIDriver"), } return etcdStorageData