mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +00:00
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>
(cherry picked from commit e0ac70f8fb
)
This commit is contained in:
parent
82fd1e5248
commit
3bbcda6174
@ -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,
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user