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://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com - https://www.mongodb.com
type: application type: application
version: 1.0.60 version: 2.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- database - database
+4 -4
View File
@@ -1,7 +1,7 @@
image: image:
repository: tccr.io/truecharts/mongodb repository: tccr.io/truecharts/mongodb
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: 5.0.10@sha256:0629317721b4d71e5eef1179903a6f81b520b801fe91e641afb9a39fb2fb56bd tag: 6.0.1@sha256:b38b216be6c0a243aa8b5a2a293d62d455375f99cf1ef4c314e308a432612190
controller: controller:
# -- Set the controller type. # -- Set the controller type.
@@ -61,7 +61,7 @@ probes:
command: command:
- /bin/bash - /bin/bash
- -ec - -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 # -- Redainess probe configuration
# @default -- See below # @default -- See below
@@ -78,7 +78,7 @@ probes:
command: command:
- /bin/bash - /bin/bash
- -ec - -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 # -- Startup probe configuration
# @default -- See below # @default -- See below
@@ -94,7 +94,7 @@ probes:
command: command:
- /bin/bash - /bin/bash
- -ec - -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" mongodbPassword: "testpass"
mongodbUsername: "test" mongodbUsername: "test"
+1
View File
@@ -86,6 +86,7 @@ words:
- minio - minio
- modelstore - modelstore
- modports - modports
- mongosh
- mountpoint - mountpoint
- multihost - multihost
- neko - neko