mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
e2e: use centos as image for normal user validation
Reduce the number of images that get pulled from Docker Hub. Use the official CentOS container registry instead. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
8d86bac9b7
commit
168526a906
@ -276,7 +276,7 @@ func validateNormalUserPVCAccess(pvcPath string, f *framework.Framework) error {
|
|||||||
Containers: []v1.Container{
|
Containers: []v1.Container{
|
||||||
{
|
{
|
||||||
Name: "write-pod",
|
Name: "write-pod",
|
||||||
Image: "alpine",
|
Image: "registry.centos.org/centos:latest",
|
||||||
Command: []string{"/bin/sleep", "999999"},
|
Command: []string{"/bin/sleep", "999999"},
|
||||||
SecurityContext: &v1.SecurityContext{
|
SecurityContext: &v1.SecurityContext{
|
||||||
RunAsUser: &user,
|
RunAsUser: &user,
|
||||||
|
Loading…
Reference in New Issue
Block a user