mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
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>
(cherry picked from commit 1f18e876f0
)
This commit is contained in:
parent
953c33058f
commit
12ff7b7c98
@ -188,7 +188,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: my-container
|
- name: my-container
|
||||||
image: docker.io/debian:latest
|
image: docker.io/library/debian:latest
|
||||||
command: ["/bin/bash", "-c"]
|
command: ["/bin/bash", "-c"]
|
||||||
args: [ "tail -f /dev/null" ]
|
args: [ "tail -f /dev/null" ]
|
||||||
volumeDevices:
|
volumeDevices:
|
||||||
@ -215,7 +215,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: my-container
|
- name: my-container
|
||||||
image: docker.io/debian:latest
|
image: docker.io/library/debian:latest
|
||||||
command: ["/bin/bash", "-c"]
|
command: ["/bin/bash", "-c"]
|
||||||
args: [ "tail -f /dev/null" ]
|
args: [ "tail -f /dev/null" ]
|
||||||
volumeDevices:
|
volumeDevices:
|
||||||
|
@ -17,7 +17,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www/html
|
mountPath: /var/lib/www/html
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www/html
|
mountPath: /var/lib/www/html
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www/html
|
mountPath: /var/lib/www/html
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www
|
mountPath: /var/lib/www
|
||||||
|
@ -39,7 +39,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: vault
|
- name: vault
|
||||||
image: docker.io/vault:latest
|
image: docker.io/library/vault:latest
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 100
|
runAsUser: 100
|
||||||
env:
|
env:
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www/html
|
mountPath: /var/lib/www/html
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www/html
|
mountPath: /var/lib/www/html
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: web-server
|
- name: web-server
|
||||||
image: docker.io/nginx:latest
|
image: docker.io/library/nginx:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: mypvc
|
- name: mypvc
|
||||||
mountPath: /var/lib/www/html
|
mountPath: /var/lib/www/html
|
||||||
|
Loading…
Reference in New Issue
Block a user