fix(init): use new mongo shell (#214)

This commit is contained in:
Stavros Kois
2022-08-29 12:32:39 +03:00
committed by GitHub
parent 99b8df3946
commit a4dd185a22
2 changed files with 2 additions and 2 deletions

View File

@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 10.5.2
version: 10.5.3

View File

@@ -118,7 +118,7 @@ before chart installation.
{{- end }}
{{- if .Values.mongodb.enabled }}
until
echo "db.runCommand(\"ping\")" | mongo --host ${MONGODB_HOST} --port 27017 ${MONGODB_DATABASE} --quiet;
echo "db.runCommand(\"ping\")" | mongosh --host ${MONGODB_HOST} --port 27017 ${MONGODB_DATABASE} --quiet;
do sleep 2;
done
{{- end }}