Wait for the postgres pod to enter the ready state before starting containers (#861)

This commit is contained in:
Christian Adams
2022-04-06 08:29:53 -04:00
committed by GitHub
parent 5f76d4917e
commit 575e594314
4 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,7 @@
until:
- "postgres_pod['resources'] | length"
- "postgres_pod['resources'][0]['status']['phase'] == 'Running'"
- "postgres_pod['resources'][0]['status']['containerStatuses'][0]['ready'] == true"
delay: 5
retries: 60