chore(mongodb): adjust init (#2329)
* chore(mongodb): adjust init * all probes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user