chore(mongodb): adjust init (#2329)

* chore(mongodb): adjust init

* all probes
This commit is contained in:
Stavros Kois
2022-03-28 23:40:02 +03:00
committed by GitHub
parent 453a6769dd
commit 596c0b2159
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com
type: application
version: 0.0.2
version: 0.0.3
annotations:
truecharts.org/catagories: |
- database
+3 -3
View File
@@ -61,7 +61,7 @@ probes:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\").ok" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
- echo "db.runCommand(\"ping\")" | mongo --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\").ok" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
- echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
# -- Startup probe configuration
# @default -- See below
startup:
@@ -93,7 +93,7 @@ probes:
command:
- /bin/bash
- -ec
- echo "db.runCommand(\"ping\").ok" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
- echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet
mongodbPassword: "testpass"
mongodbUsername: "test"