mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
storage e2e: set fstype for CSI ephemeral inline volumes
This doesn't affect in-tree testing, but some out-of-tree usage of the pre-defined test patterns with non-default fstype.
This commit is contained in:
parent
c6153a93d0
commit
c681ff2320
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user