aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/astaire-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:11:57 +0200
commit018e15bd3daad54121e9f9a6cf6d904eaf9a705e (patch)
tree21dcddf64d1ff47a64e9ad32935c17869f4b607a /functest_kubernetes/ims/astaire-depl.yaml
parent90832c83da1afbdd97a7f00e9ed37b137d0abce5 (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/astaire-depl.yaml')
-rw-r--r--functest_kubernetes/ims/astaire-depl.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/functest_kubernetes/ims/astaire-depl.yaml b/functest_kubernetes/ims/astaire-depl.yaml
index 288f6ab8..28f70cc5 100644
--- a/functest_kubernetes/ims/astaire-depl.yaml
+++ b/functest_kubernetes/ims/astaire-depl.yaml
@@ -13,6 +13,10 @@ spec:
service: astaire
spec:
terminationGracePeriodSeconds: 120
+ initContainers:
+ - name: wait-on-etcd
+ image: busybox:1.28
+ command: ['sh', '-c', 'until nslookup etcd; do echo waiting for etcd to start ...; sleep 2; done']
containers:
- image: "ollivier/clearwater-astaire:latest"
imagePullPolicy: Always