chore(mongodb): adjust init (#13)

This commit is contained in:
Stavros Kois
2022-03-28 23:39:51 +03:00
committed by GitHub
parent 46df59b9fe
commit 69e3d20f76
2 changed files with 2 additions and 2 deletions

View File

@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 9.2.2
version: 9.2.3

View File

@@ -25,7 +25,7 @@ This template ensures pods with mongodb dependency have a delayed start
args:
- >
until
echo "db.runCommand(\"ping\").ok" | mongo --host ${MONGODB_HOST} --port 27017 ${MONGODB_DATABASE} --quiet;
echo "db.runCommand(\"ping\")" | mongo --host ${MONGODB_HOST} --port 27017 ${MONGODB_DATABASE} --quiet;
do sleep 2;
done
imagePullPolicy: IfNotPresent