diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-06 20:09:41 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-06 20:12:13 +0200 |
commit | 86b1cfc23eca3be9432bd94db3d7f56b55fef1bd (patch) | |
tree | 623e2552371a0f40e1a2db100cada44c9c66f9ab /functest_kubernetes/ims/sprout-depl.yaml | |
parent | e77cd928b727c50164c1d550e4dc12fbf5b57399 (diff) |
Manage Ims service dependencies
Change-Id: I6647d9acfabd2ce2d12ff2f30393c2de8f6165ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 68b2a9ac43003840ae0b88bf3b2cd6c1fc10db21)
Diffstat (limited to 'functest_kubernetes/ims/sprout-depl.yaml')
-rw-r--r-- | functest_kubernetes/ims/sprout-depl.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functest_kubernetes/ims/sprout-depl.yaml b/functest_kubernetes/ims/sprout-depl.yaml index ab4d8acf..af6bc660 100644 --- a/functest_kubernetes/ims/sprout-depl.yaml +++ b/functest_kubernetes/ims/sprout-depl.yaml @@ -13,6 +13,10 @@ spec: service: sprout snmp: enabled 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-sprout:latest" imagePullPolicy: Always |