aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/ellis-depl.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-07-06 20:09:41 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-06 20:09:41 +0200
commit68b2a9ac43003840ae0b88bf3b2cd6c1fc10db21 (patch)
treeb193f89b82929f9c0e3cbf2855016616a03586d3 /functest_kubernetes/ims/ellis-depl.yaml
parentbfd0063c81f5d5d4fad2389832c8f1479a28f73d (diff)
Manage Ims service dependencies
Change-Id: I6647d9acfabd2ce2d12ff2f30393c2de8f6165ff Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/ims/ellis-depl.yaml')
-rw-r--r--functest_kubernetes/ims/ellis-depl.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/functest_kubernetes/ims/ellis-depl.yaml b/functest_kubernetes/ims/ellis-depl.yaml
index 694c813a..166774b6 100644
--- a/functest_kubernetes/ims/ellis-depl.yaml
+++ b/functest_kubernetes/ims/ellis-depl.yaml
@@ -12,6 +12,10 @@ spec:
labels:
service: ellis
spec:
+ initContainers:
+ - name: wait-on-cassandra
+ image: busybox:1.28
+ command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
containers:
- image: "ollivier/clearwater-ellis:latest"
imagePullPolicy: Always