Remove latest in all images 42/71042/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 8 Sep 2020 18:45:18 +0000 (20:45 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 8 Sep 2020 18:50:13 +0000 (20:50 +0200)
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 <cedric.ollivier@orange.com>
(cherry picked from commit 44492e0da74473460ff6a9f1323c5df3a2af943e)

functest_kubernetes/ims/astaire-depl.yaml
functest_kubernetes/ims/bono-depl.yaml
functest_kubernetes/ims/cassandra-depl.yaml
functest_kubernetes/ims/chronos-depl.yaml
functest_kubernetes/ims/ellis-depl.yaml
functest_kubernetes/ims/homer-depl.yaml
functest_kubernetes/ims/homestead-depl.yaml
functest_kubernetes/ims/homestead-prov-depl.yaml
functest_kubernetes/ims/ims.py
functest_kubernetes/ims/ralf-depl.yaml
functest_kubernetes/ims/sprout-depl.yaml

index d8696d6..0623729 100644 (file)
@@ -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
index 14dedac..fb79932 100644 (file)
@@ -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
index a28919c..570ef4a 100644 (file)
@@ -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
index 6ad7cf0..1eb5501 100644 (file)
@@ -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
index bfa3847..2e6cedc 100644 (file)
@@ -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
index 2cdb592..5690f1f 100644 (file)
@@ -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
index 3215ba5..8d38b7e 100644 (file)
@@ -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
index fc2cd56..d8c7237 100644 (file)
@@ -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
index 772a4bf..780f9af 100644 (file)
@@ -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__)
index 95a26b7..9dcf5fa 100644 (file)
@@ -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
index 3046177..c3ce558 100644 (file)
@@ -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