mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +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>
(cherry picked from commit 168526a906
)
This commit is contained in:
parent
9999f67a2b
commit
c449feaa95
@ -274,7 +274,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