diff --git a/universalmessaging/examples/post-init/values.yaml b/universalmessaging/examples/post-init/values.yaml index 4569911..bc7562e 100644 --- a/universalmessaging/examples/post-init/values.yaml +++ b/universalmessaging/examples/post-init/values.yaml @@ -17,4 +17,8 @@ jobs: - -c - >- echo Deploying Assets in UM [$DEPLOYMENT] ...; - runUMTool.sh CreateConnectionFactory -rname=nsp://$DEPLOYMENT:9000 -factoryname=local_um -factorytype=default -connectionurl=nsp://$DEPLOYMENT:9000 -durabletype=S + until [ "$response" = "0" ] || [ "$response" = "48" ] ; do + runUMTool.sh CreateConnectionFactory -rname=nsp://$DEPLOYMENT:9000 -factoryname=local_um -factorytype=default -connectionurl=nsp://$DEPLOYMENT:9000 -durabletype=S; + response=$?; + sleep 10; + done \ No newline at end of file