Merge "Update Keystore cert"
[oom.git] / kubernetes / aai / charts / aai-elasticsearch / resources / bin / wait_until_started.sh
1 #!/bin/sh
2 RET=1
3
4 while [[ RET -ne 0 ]]; do
5     echo "Waiting for Elasticsearch to become ready before running sgadmin..."
6     curl -XGET -k "https://localhost:{{ .Values.service.internalPort }}/" >/dev/null 2>&1
7     RET=$?
8     sleep 5
9 done