mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
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)
This commit is contained in:
commit
d7e6458eab
@ -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