e2e: use official CentOS container location

registry.centos.org is not officially maintained by the CentOS
infrastructure team. The container images on quay.io are the official
once and we should use those instead.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-08-03 12:29:04 +02:00 committed by mergify[bot]
parent 16ec97d8f7
commit e0ac70f8fb
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -6,7 +6,7 @@ metadata:
spec: spec:
containers: containers:
- name: centos - name: centos
image: registry.centos.org/centos:latest image: quay.io/centos/centos:latest
command: ["/bin/sleep", "infinity"] command: ["/bin/sleep", "infinity"]
volumeDevices: volumeDevices:
- name: data - name: data

View File

@ -6,7 +6,7 @@ metadata:
spec: spec:
containers: containers:
- name: centos - name: centos
image: registry.centos.org/centos:latest image: quay.io/centos/centos:latest
command: ["/bin/sleep", "infinity"] command: ["/bin/sleep", "infinity"]
volumeDevices: volumeDevices:
- name: data - name: data