mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Set non-always RestartPolicy for write-pod in pv e2e
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user