mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
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:
parent
4830808592
commit
953c33058f
@ -188,7 +188,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: my-container
|
- name: my-container
|
||||||
image: debian
|
image: docker.io/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: debian
|
image: docker.io/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: nginx
|
image: docker.io/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: nginx
|
image: docker.io/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: nginx
|
image: docker.io/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: nginx
|
image: docker.io/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: vault
|
image: docker.io/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: nginx
|
image: docker.io/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: nginx
|
image: docker.io/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: nginx
|
image: docker.io/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