fix: reuse jd01 cached image for sub2api db wait
This commit is contained in:
@@ -469,7 +469,7 @@ spec:
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- until pg_isready -h ${database.host} -p ${database.port} -U ${database.user} -d ${database.dbName}; do sleep 2; done
|
||||
- until (command -v pg_isready >/dev/null 2>&1 && pg_isready -h ${database.host} -p ${database.port} -U ${database.user} -d ${database.dbName}) || nc -z -w 2 ${database.host} ${database.port}; do sleep 2; done
|
||||
- name: wait-redis
|
||||
image: ${dependencyImages.redis}
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
Reference in New Issue
Block a user