From 3bbcda617483826b8e6569e12529765231435b0d Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 3 Aug 2021 12:29:04 +0200 Subject: [PATCH] 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 (cherry picked from commit e0ac70f8fba5a93d0759b054af4aae10ed98cb7b) --- e2e/utils.go | 2 +- examples/rbd/block-pod-clone.yaml | 2 +- examples/rbd/raw-block-pod.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/utils.go b/e2e/utils.go index 780c4e7cb..13246077d 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -254,7 +254,7 @@ func validateNormalUserPVCAccess(pvcPath string, f *framework.Framework) error { Containers: []v1.Container{ { Name: "write-pod", - Image: "registry.centos.org/centos:latest", + Image: "quay.io/centos/centos:latest", Command: []string{"/bin/sleep", "999999"}, SecurityContext: &v1.SecurityContext{ RunAsUser: &user, diff --git a/examples/rbd/block-pod-clone.yaml b/examples/rbd/block-pod-clone.yaml index 84eafded4..aa96e4ec8 100644 --- a/examples/rbd/block-pod-clone.yaml +++ b/examples/rbd/block-pod-clone.yaml @@ -6,7 +6,7 @@ metadata: spec: containers: - name: centos - image: registry.centos.org/centos:latest + image: quay.io/centos/centos:latest command: ["/bin/sleep", "infinity"] volumeDevices: - name: data diff --git a/examples/rbd/raw-block-pod.yaml b/examples/rbd/raw-block-pod.yaml index 543bc1ae7..d32ff1659 100644 --- a/examples/rbd/raw-block-pod.yaml +++ b/examples/rbd/raw-block-pod.yaml @@ -6,7 +6,7 @@ metadata: spec: containers: - name: centos - image: registry.centos.org/centos:latest + image: quay.io/centos/centos:latest command: ["/bin/sleep", "infinity"] volumeDevices: - name: data