Set all image tags
[functest-kubernetes.git] / functest_kubernetes / ims / sprout-depl.yaml
index ab4d8ac..5e18248 100644 (file)
@@ -13,9 +13,18 @@ spec:
         service: sprout
         snmp: enabled
     spec:
+      initContainers:
+        - name: wait-on-ralf
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup ralf; do echo waiting for ralf to start ...; sleep 2; done']
+        - name: wait-on-chronos
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup chronos; do echo waiting for chronos to start ...; sleep 2; done']
+        - name: wait-on-homestead
+          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"
-        imagePullPolicy: Always
+      - image: "ollivier/clearwater-sprout:hunter"
         name: sprout
         ports:
         - containerPort: 22
@@ -38,7 +47,7 @@ spec:
         volumeMounts:
         - name: sproutlogs
           mountPath: /var/log/sprout
-      - image: busybox
+      - image: busybox:1.28
         name: tailer
         command: [ "tail", "-F", "/var/log/sprout/sprout_current.txt" ]
         volumeMounts: