mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #8746 from justinsb/e2e_restartpolicy_never
e2e: Specify RestartPolicy=Never in empty_dir test
This commit is contained in:
commit
5651bdb237
@ -95,6 +95,7 @@ func testPodWithVolume(path string, source *api.EmptyDirVolumeSource) *api.Pod {
|
||||
},
|
||||
},
|
||||
},
|
||||
RestartPolicy: api.RestartPolicyNever,
|
||||
Volumes: []api.Volume{
|
||||
{
|
||||
Name: volumeName,
|
||||
|
@ -135,7 +135,8 @@ func testPodWithHostVol(path string, source *api.HostPathVolumeSource) *api.Pod
|
||||
},
|
||||
},
|
||||
},
|
||||
Volumes: mount(source),
|
||||
RestartPolicy: api.RestartPolicyNever,
|
||||
Volumes: mount(source),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user