From eaeee8ac3df26841d4e6a5bfbafe1025e3757cbd Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 23 Nov 2020 14:29:59 +0100 Subject: [PATCH] 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 --- examples/README.md | 4 ++-- examples/cephfs/deployment.yaml | 2 +- examples/cephfs/pod-clone.yaml | 2 +- examples/cephfs/pod-restore.yaml | 2 +- examples/cephfs/pod.yaml | 2 +- examples/kms/vault/vault.yaml | 2 +- examples/rbd/pod-clone.yaml | 2 +- examples/rbd/pod-restore.yaml | 2 +- examples/rbd/pod.yaml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/README.md b/examples/README.md index 60d1cbcb1..2be9c1182 100644 --- a/examples/README.md +++ b/examples/README.md @@ -196,7 +196,7 @@ metadata: spec: containers: - name: my-container - image: debian + image: docker.io/debian:latest command: ["/bin/bash", "-c"] args: [ "tail -f /dev/null" ] volumeDevices: @@ -223,7 +223,7 @@ metadata: spec: containers: - name: my-container - image: debian + image: docker.io/debian:latest command: ["/bin/bash", "-c"] args: [ "tail -f /dev/null" ] volumeDevices: diff --git a/examples/cephfs/deployment.yaml b/examples/cephfs/deployment.yaml index 98ab7b14e..227bd9f1e 100644 --- a/examples/cephfs/deployment.yaml +++ b/examples/cephfs/deployment.yaml @@ -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 diff --git a/examples/cephfs/pod-clone.yaml b/examples/cephfs/pod-clone.yaml index ac7e228de..d85af3e32 100644 --- a/examples/cephfs/pod-clone.yaml +++ b/examples/cephfs/pod-clone.yaml @@ -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 diff --git a/examples/cephfs/pod-restore.yaml b/examples/cephfs/pod-restore.yaml index 9f58b3ce1..961a42ec3 100644 --- a/examples/cephfs/pod-restore.yaml +++ b/examples/cephfs/pod-restore.yaml @@ -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 diff --git a/examples/cephfs/pod.yaml b/examples/cephfs/pod.yaml index ca254b84c..51c391392 100644 --- a/examples/cephfs/pod.yaml +++ b/examples/cephfs/pod.yaml @@ -6,7 +6,7 @@ metadata: spec: containers: - name: web-server - image: nginx + image: docker.io/nginx:latest volumeMounts: - name: mypvc mountPath: /var/lib/www diff --git a/examples/kms/vault/vault.yaml b/examples/kms/vault/vault.yaml index f14e701e5..bf128fe25 100644 --- a/examples/kms/vault/vault.yaml +++ b/examples/kms/vault/vault.yaml @@ -39,7 +39,7 @@ spec: spec: containers: - name: vault - image: vault + image: docker.io/vault:latest securityContext: runAsUser: 100 env: diff --git a/examples/rbd/pod-clone.yaml b/examples/rbd/pod-clone.yaml index 150e2f93e..55cbd5d98 100644 --- a/examples/rbd/pod-clone.yaml +++ b/examples/rbd/pod-clone.yaml @@ -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 diff --git a/examples/rbd/pod-restore.yaml b/examples/rbd/pod-restore.yaml index 75510b60b..b4f50a022 100644 --- a/examples/rbd/pod-restore.yaml +++ b/examples/rbd/pod-restore.yaml @@ -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 diff --git a/examples/rbd/pod.yaml b/examples/rbd/pod.yaml index 29c09bc74..9e449abc3 100644 --- a/examples/rbd/pod.yaml +++ b/examples/rbd/pod.yaml @@ -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