fix(mongodb): use new mongo shell (#3608)

* fix(mongodb): use new mongo shell

* no message
This commit is contained in:
Stavros Kois
2022-08-29 11:32:55 +02:00
committed by GitHub
parent 6b2cb30155
commit 1d418839f6
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com
type: application
version: 1.0.60
version: 2.0.0
annotations:
truecharts.org/catagories: |
- database
+4 -4
View File
@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/mongodb
pullPolicy: IfNotPresent
tag: 5.0.10@sha256:0629317721b4d71e5eef1179903a6f81b520b801fe91e641afb9a39fb2fb56bd
tag: 6.0.1@sha256:b38b216be6c0a243aa8b5a2a293d62d455375f99cf1ef4c314e308a432612190
controller:
# -- Set the controller type.
@@ -61,7 +61,7 @@ probes:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
- echo "db.runCommand(\"ping\")" | mongosh --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
# -- Redainess probe configuration
# @default -- See below
@@ -78,7 +78,7 @@ probes:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
- echo "db.runCommand(\"ping\")" | mongosh --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
# -- Startup probe configuration
# @default -- See below
@@ -94,7 +94,7 @@ probes:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
- echo "db.runCommand(\"ping\")" | mongosh --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
mongodbPassword: "testpass"
mongodbUsername: "test"
+1
View File
@@ -86,6 +86,7 @@ words:
- minio
- modelstore
- modports
- mongosh
- mountpoint
- multihost
- neko