From 3724525b94c4825ae026976dfb6d81b05d238767 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 8 Sep 2020 20:45:18 +0200 Subject: Remove latest in all images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Kubernetes default pull policy is IfNotPresent unless the image tag is :latest in which case the default policy is Always. IfNotPresent causes the Kubelet to skip pulling an image if it already exists [1] [1] https://kind.sigs.k8s.io/docs/user/quick-start/ Change-Id: I83dac6165d2bbef165ca852dd03e5b76a5356f2f Signed-off-by: Cédric Ollivier (cherry picked from commit 44492e0da74473460ff6a9f1323c5df3a2af943e) --- functest_kubernetes/ims/astaire-depl.yaml | 2 +- functest_kubernetes/ims/bono-depl.yaml | 2 +- functest_kubernetes/ims/cassandra-depl.yaml | 2 +- functest_kubernetes/ims/chronos-depl.yaml | 2 +- functest_kubernetes/ims/ellis-depl.yaml | 2 +- functest_kubernetes/ims/homer-depl.yaml | 2 +- functest_kubernetes/ims/homestead-depl.yaml | 2 +- functest_kubernetes/ims/homestead-prov-depl.yaml | 2 +- functest_kubernetes/ims/ims.py | 2 +- functest_kubernetes/ims/ralf-depl.yaml | 2 +- functest_kubernetes/ims/sprout-depl.yaml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/functest_kubernetes/ims/astaire-depl.yaml b/functest_kubernetes/ims/astaire-depl.yaml index d8696d6f..06237293 100644 --- a/functest_kubernetes/ims/astaire-depl.yaml +++ b/functest_kubernetes/ims/astaire-depl.yaml @@ -18,7 +18,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-astaire:latest" + - image: "ollivier/clearwater-astaire" name: astaire ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/bono-depl.yaml b/functest_kubernetes/ims/bono-depl.yaml index 14dedacc..fb799322 100644 --- a/functest_kubernetes/ims/bono-depl.yaml +++ b/functest_kubernetes/ims/bono-depl.yaml @@ -18,7 +18,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-bono:latest" + - image: "ollivier/clearwater-bono" name: bono ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/cassandra-depl.yaml b/functest_kubernetes/ims/cassandra-depl.yaml index a28919c7..570ef4a3 100644 --- a/functest_kubernetes/ims/cassandra-depl.yaml +++ b/functest_kubernetes/ims/cassandra-depl.yaml @@ -17,7 +17,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup etcd; do echo waiting for etcd to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-cassandra:latest" + - image: "ollivier/clearwater-cassandra" name: cassandra ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/chronos-depl.yaml b/functest_kubernetes/ims/chronos-depl.yaml index 6ad7cf06..1eb55016 100644 --- a/functest_kubernetes/ims/chronos-depl.yaml +++ b/functest_kubernetes/ims/chronos-depl.yaml @@ -20,7 +20,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-chronos:latest" + - image: "ollivier/clearwater-chronos" name: chronos ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/ellis-depl.yaml b/functest_kubernetes/ims/ellis-depl.yaml index bfa38474..2e6cedc7 100644 --- a/functest_kubernetes/ims/ellis-depl.yaml +++ b/functest_kubernetes/ims/ellis-depl.yaml @@ -20,7 +20,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-ellis:latest" + - image: "ollivier/clearwater-ellis" name: ellis ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/homer-depl.yaml b/functest_kubernetes/ims/homer-depl.yaml index 2cdb5929..5690f1f2 100644 --- a/functest_kubernetes/ims/homer-depl.yaml +++ b/functest_kubernetes/ims/homer-depl.yaml @@ -17,7 +17,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-homer:latest" + - image: "ollivier/clearwater-homer" name: homer ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/homestead-depl.yaml b/functest_kubernetes/ims/homestead-depl.yaml index 3215ba5e..8d38b7e8 100644 --- a/functest_kubernetes/ims/homestead-depl.yaml +++ b/functest_kubernetes/ims/homestead-depl.yaml @@ -21,7 +21,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup astaire; do echo waiting for astaire to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-homestead:latest" + - image: "ollivier/clearwater-homestead" name: homestead ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/homestead-prov-depl.yaml b/functest_kubernetes/ims/homestead-prov-depl.yaml index fc2cd565..d8c72371 100644 --- a/functest_kubernetes/ims/homestead-prov-depl.yaml +++ b/functest_kubernetes/ims/homestead-prov-depl.yaml @@ -18,7 +18,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-homestead-prov:latest" + - image: "ollivier/clearwater-homestead-prov" name: homestead-prov ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py index b741f6b6..85f215ae 100644 --- a/functest_kubernetes/ims/ims.py +++ b/functest_kubernetes/ims/ims.py @@ -34,7 +34,7 @@ class Vims(testcase.TestCase): # pylint: disable=too-many-instance-attributes """ watch_timeout = 1200 metadata_name = "env-vars" - test_image_name = "ollivier/clearwater-live-test:latest" + test_image_name = "ollivier/clearwater-live-test" test_container_name = "live-test" __logger = logging.getLogger(__name__) diff --git a/functest_kubernetes/ims/ralf-depl.yaml b/functest_kubernetes/ims/ralf-depl.yaml index 95a26b7c..9dcf5faa 100644 --- a/functest_kubernetes/ims/ralf-depl.yaml +++ b/functest_kubernetes/ims/ralf-depl.yaml @@ -18,7 +18,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-ralf:latest" + - image: "ollivier/clearwater-ralf" name: ralf ports: - containerPort: 22 diff --git a/functest_kubernetes/ims/sprout-depl.yaml b/functest_kubernetes/ims/sprout-depl.yaml index 30461776..c3ce558a 100644 --- a/functest_kubernetes/ims/sprout-depl.yaml +++ b/functest_kubernetes/ims/sprout-depl.yaml @@ -24,7 +24,7 @@ spec: image: busybox:1.28 command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done'] containers: - - image: "ollivier/clearwater-sprout:latest" + - image: "ollivier/clearwater-sprout" name: sprout ports: - containerPort: 22 -- cgit 1.2.3-korg