Merge pull request #109279 from pohly/fstype-csi-ephemeral

storage e2e: set fstype for CSI ephemeral inline volumes
This commit is contained in:
Kubernetes Prow Robot 2022-05-03 19:30:39 -07:00 committed by GitHub
commit 108222ef72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,9 @@ func CreateVolumeResource(driver TestDriver, config *PerTestConfig, pattern Test
VolumeAttributes: attributes,
},
}
if pattern.FsType != "" {
r.VolSource.CSI.FSType = &pattern.FsType
}
}
default:
framework.Failf("VolumeResource doesn't support: %s", pattern.VolType)