Commit b152d435 authored by Masaki Kimura's avatar Masaki Kimura

Update fsType parameter for csi v1.0 provisioner

parent 732eb695
...@@ -316,7 +316,7 @@ func (g *gcePDCSIDriver) GetDynamicProvisionStorageClass(fsType string) *storage ...@@ -316,7 +316,7 @@ func (g *gcePDCSIDriver) GetDynamicProvisionStorageClass(fsType string) *storage
parameters := map[string]string{"type": "pd-standard"} parameters := map[string]string{"type": "pd-standard"}
if fsType != "" { if fsType != "" {
parameters["fsType"] = fsType parameters["csi.storage.k8s.io/fstype"] = fsType
} }
return testsuites.GetStorageClass(provisioner, parameters, nil, ns, suffix) return testsuites.GetStorageClass(provisioner, parameters, nil, ns, suffix)
...@@ -422,7 +422,7 @@ func (g *gcePDExternalCSIDriver) GetDynamicProvisionStorageClass(fsType string) ...@@ -422,7 +422,7 @@ func (g *gcePDExternalCSIDriver) GetDynamicProvisionStorageClass(fsType string)
parameters := map[string]string{"type": "pd-standard"} parameters := map[string]string{"type": "pd-standard"}
if fsType != "" { if fsType != "" {
parameters["fsType"] = fsType parameters["csi.storage.k8s.io/fstype"] = fsType
} }
return testsuites.GetStorageClass(provisioner, parameters, nil, ns, suffix) return testsuites.GetStorageClass(provisioner, parameters, nil, ns, suffix)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment