Skip to content
Snippets Groups Projects
Verified Commit 2079ee46 authored by David Hoese's avatar David Hoese
Browse files

Add more sleep to postgis install

parent 2b53bf38
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,10 @@ helm upgrade -v 2 --install -f ${values_base}/values-postgis.yaml $EXTRA_ARGS --
# do a little waiting for the postgres pod to be ready so future stages
# don't fail to communicate with it
echo "Start waiting for postgres: $(date +%Y%m%dT%H%M%S)"
kubectl -n $ns get pods
sleep 5
echo "Done sleeping. Making sure the pod(s) are ready. ${release_name}"
kubectl -n $ns get pods
kubectl wait -n $ns --selector=app.kubernetes.io/instance=${release_name} --timeout 120s --for=condition=Ready pod
status=$?
echo "Done waiting for postgis: $(date +%Y%m%dT%H%M%S) : $status"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment