Fix expected version for csidriver

Add a comment about GA feature
This commit is contained in:
Hemant Kumar 2020-03-03 22:00:30 -05:00 committed by Christian Huffman
parent c6fd25d100
commit 73611a473f
2 changed files with 2 additions and 0 deletions

View File

@ -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"

View File

@ -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