mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Fix expected version for csidriver
Add a comment about GA feature
This commit is contained in:
parent
c6fd25d100
commit
73611a473f
@ -172,6 +172,7 @@ const (
|
|||||||
// owner: @saad-ali
|
// owner: @saad-ali
|
||||||
// alpha: v1.12
|
// alpha: v1.12
|
||||||
// beta: v1.14
|
// beta: v1.14
|
||||||
|
// GA: v1.18
|
||||||
// Enable all logic related to the CSIDriver API object in storage.k8s.io
|
// Enable all logic related to the CSIDriver API object in storage.k8s.io
|
||||||
CSIDriverRegistry featuregate.Feature = "CSIDriverRegistry"
|
CSIDriverRegistry featuregate.Feature = "CSIDriverRegistry"
|
||||||
|
|
||||||
|
@ -519,6 +519,7 @@ func GetEtcdStorageDataForNamespace(namespace string) map[schema.GroupVersionRes
|
|||||||
etcdStorageData[gvr("storage.k8s.io", "v1", "csidrivers")] = StorageData{
|
etcdStorageData[gvr("storage.k8s.io", "v1", "csidrivers")] = StorageData{
|
||||||
Stub: `{"metadata": {"name": "csid2"}, "spec": {"attachRequired": true, "podInfoOnMount": true}}`,
|
Stub: `{"metadata": {"name": "csid2"}, "spec": {"attachRequired": true, "podInfoOnMount": true}}`,
|
||||||
ExpectedEtcdPath: "/registry/csidrivers/csid2",
|
ExpectedEtcdPath: "/registry/csidrivers/csid2",
|
||||||
|
ExpectedGVK: gvkP("storage.k8s.io", "v1beta1", "CSIDriver"),
|
||||||
}
|
}
|
||||||
|
|
||||||
return etcdStorageData
|
return etcdStorageData
|
||||||
|
Loading…
Reference in New Issue
Block a user