deploy: use docker.io for unqualified image names

Images that have an unqualified name (no explicit registry) come from
Docker Hub. This can be made explicit by adding docker.io as prefix. In
addition, the default :latest tag has been added too.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit eaeee8ac3d)
This commit is contained in:
Niels de Vos 2020-11-23 14:29:59 +01:00 committed by Madhu Rajanna
parent 4830808592
commit 953c33058f
9 changed files with 10 additions and 10 deletions

View File

@ -188,7 +188,7 @@ metadata:
spec:
containers:
- name: my-container
image: debian
image: docker.io/debian:latest
command: ["/bin/bash", "-c"]
args: [ "tail -f /dev/null" ]
volumeDevices:
@ -215,7 +215,7 @@ metadata:
spec:
containers:
- name: my-container
image: debian
image: docker.io/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: nginx
image: docker.io/nginx:latest
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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