From 596c0b21591a533488277e57ced015312b637757 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 28 Mar 2022 23:40:02 +0300 Subject: [PATCH] chore(mongodb): adjust init (#2329) * chore(mongodb): adjust init * all probes --- charts/dependency/mongodb/Chart.yaml | 2 +- charts/dependency/mongodb/values.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/dependency/mongodb/Chart.yaml b/charts/dependency/mongodb/Chart.yaml index ae58af2ffa4..6186954184e 100644 --- a/charts/dependency/mongodb/Chart.yaml +++ b/charts/dependency/mongodb/Chart.yaml @@ -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 diff --git a/charts/dependency/mongodb/values.yaml b/charts/dependency/mongodb/values.yaml index 3e3d51fc2f2..73a3c95d7c5 100644 --- a/charts/dependency/mongodb/values.yaml +++ b/charts/dependency/mongodb/values.yaml @@ -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"