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>
(cherry picked from commit 168526a906)
This commit is contained in:
Madhu Rajanna 2020-11-19 14:49:59 +05:30 committed by mergify[bot]
parent 9999f67a2b
commit c449feaa95

View File

@ -274,7 +274,7 @@ func validateNormalUserPVCAccess(pvcPath string, f *framework.Framework) error {
Containers: []v1.Container{
{
Name: "write-pod",
Image: "alpine",
Image: "registry.centos.org/centos:latest",
Command: []string{"/bin/sleep", "999999"},
SecurityContext: &v1.SecurityContext{
RunAsUser: &user,