X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fdmaapmr%2Fapp.yaml;h=434e757eb52501cd8a02fec4fd89dcf9d9e18270;hb=93a604b82da289316908c9bfff8380877aaf89e5;hp=1a9d40a52330e7e2a0227bcae8e55fff7b899243;hpb=e85c7e3fd551f217d93357915594980441fc6062;p=nonrtric.git diff --git a/test/simulator-group/dmaapmr/app.yaml b/test/simulator-group/dmaapmr/app.yaml index 1a9d40a5..434e757e 100644 --- a/test/simulator-group/dmaapmr/app.yaml +++ b/test/simulator-group/dmaapmr/app.yaml @@ -113,6 +113,10 @@ spec: - mountPath: /etc/kafka/secrets/jaas/zk_client_jaas.conf subPath: zk_client_jaas.conf name: dmaapmr-zk-client-jaas + initContainers: + - name: init-kafka + image: busybox + command: ['sh', '-c', 'until nslookup $MR_ZOOKEEPER_APP_NAME; do echo waiting for $MR_ZOOKEEPER_APP_NAME; sleep 2; done;'] volumes: - configMap: defaultMode: 420 @@ -160,6 +164,10 @@ spec: - mountPath: /appl/dmaapMR1/etc/cadi.properties subPath: cadi.properties name: dmaapmr-cadi + initContainers: + - name: init-dmaap-mr + image: busybox + command: ['sh', '-c', 'until nslookup $MR_KAFKA_APP_NAME; do echo waiting for $MR_KAFKA_APP_NAME; sleep 2; done;'] volumes: - configMap: defaultMode: 420