Commit 15d02afe authored by Matthew Wong's avatar Matthew Wong

Set non-always RestartPolicy for write-pod in pv e2e

parent be1996ee
...@@ -649,6 +649,7 @@ func makeWritePod(ns string, pvcName string) *api.Pod { ...@@ -649,6 +649,7 @@ func makeWritePod(ns string, pvcName string) *api.Pod {
}, },
}, },
}, },
RestartPolicy: api.RestartPolicyOnFailure,
Volumes: []api.Volume{ Volumes: []api.Volume{
{ {
Name: "nfs-pvc", Name: "nfs-pvc",
......
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