mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 06:06:23 -03:00
fix(init): use new mongo shell (#214)
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 10.5.2
|
||||
version: 10.5.3
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user