mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Set non-always RestartPolicy for write-pod in pv e2e
This commit is contained in:
parent
be1996ee64
commit
15d02afea5
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user