Commit d7e6458e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #35131 from wongma7/e2e-pv-restartpolicy

Automatic merge from submit-queue Set non-always RestartPolicy for write-pod in pv e2e Due to https://github.com/kubernetes/kubernetes/pull/34632 the RestartPolicy can't be Always (& it shouldn't be anyway)
parents 5482fe03 15d02afe
......@@ -649,6 +649,7 @@ func makeWritePod(ns string, pvcName string) *api.Pod {
},
},
},
RestartPolicy: api.RestartPolicyOnFailure,
Volumes: []api.Volume{
{
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