Commit 87af8e08 authored by Michelle Au's avatar Michelle Au

Change default volume source to regular emptydir for e2e volume servers

parent ff626a35
...@@ -244,7 +244,7 @@ func StartVolumeServer(client clientset.Interface, config VolumeTestConfig) *v1. ...@@ -244,7 +244,7 @@ func StartVolumeServer(client clientset.Interface, config VolumeTestConfig) *v1.
mountName := fmt.Sprintf("path%d", i) mountName := fmt.Sprintf("path%d", i)
volumes[i].Name = mountName volumes[i].Name = mountName
if src == "" { if src == "" {
volumes[i].VolumeSource.EmptyDir = &v1.EmptyDirVolumeSource{Medium: v1.StorageMediumMemory} volumes[i].VolumeSource.EmptyDir = &v1.EmptyDirVolumeSource{}
} else { } else {
volumes[i].VolumeSource.HostPath = &v1.HostPathVolumeSource{ volumes[i].VolumeSource.HostPath = &v1.HostPathVolumeSource{
Path: src, Path: src,
......
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