e2e: use docker.io/library as prefix for official images

Docker Hub offers a way to pull official images without any project
prefix, like "docker.io/vault:latest". This does a redirect to the
images located under "docker.io/library".

By using the full qualified image name, a redirect gets removed while
pulling the images. This reduces the likelyhood of hittin Docker Hub
pull rate-limits.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-11-26 13:38:10 +01:00 committed by mergify[bot]
parent 954ac97d22
commit 1f18e876f0
9 changed files with 10 additions and 10 deletions

View File

@ -196,7 +196,7 @@ metadata:
spec:
containers:
- name: my-container
image: docker.io/debian:latest
image: docker.io/library/debian:latest
command: ["/bin/bash", "-c"]
args: [ "tail -f /dev/null" ]
volumeDevices:
@ -223,7 +223,7 @@ metadata:
spec:
containers:
- name: my-container
image: docker.io/debian:latest
image: docker.io/library/debian:latest
command: ["/bin/bash", "-c"]
args: [ "tail -f /dev/null" ]
volumeDevices:

View File

@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html

View File

@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html

View File

@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html

View File

@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www

View File

@ -39,7 +39,7 @@ spec:
spec:
containers:
- name: vault
image: docker.io/vault:latest
image: docker.io/library/vault:latest
securityContext:
runAsUser: 100
env:

View File

@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html

View File

@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html

View File

@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: web-server
image: docker.io/nginx:latest
image: docker.io/library/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html