From 96362ed40034258b16fc2ae44f4e7e9d9d9bb9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=BCven?= Date: Mon, 20 Aug 2018 11:14:34 +0200 Subject: [PATCH] add missing namespace to mongodb notes (#7216) * add missing namespace to mongodb notes * bump stable/mongodb chart version --- stable/mongodb/Chart.yaml | 2 +- stable/mongodb/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/mongodb/Chart.yaml b/stable/mongodb/Chart.yaml index 77c2656820..94abb34cd2 100644 --- a/stable/mongodb/Chart.yaml +++ b/stable/mongodb/Chart.yaml @@ -1,5 +1,5 @@ name: mongodb -version: 4.1.1 +version: 4.1.2 appVersion: 4.0.1 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. keywords: diff --git a/stable/mongodb/templates/NOTES.txt b/stable/mongodb/templates/NOTES.txt index 160da8c743..18b9032ca6 100644 --- a/stable/mongodb/templates/NOTES.txt +++ b/stable/mongodb/templates/NOTES.txt @@ -40,7 +40,7 @@ To get the password for "{{ .Values.mongodbUsername }}" run: To connect to your database run the following command: - kubectl run {{ template "mongodb.fullname" . }}-client --rm --tty -i --image bitnami/mongodb --command -- mongo admin --host {{ template "mongodb.fullname" . }} {{- if .Values.usePassword }} -u root -p $MONGODB_ROOT_PASSWORD{{- end }} + kubectl run --namespace {{ .Release.Namespace }} {{ template "mongodb.fullname" . }}-client --rm --tty -i --image bitnami/mongodb --command -- mongo admin --host {{ template "mongodb.fullname" . }} {{- if .Values.usePassword }} -u root -p $MONGODB_ROOT_PASSWORD{{- end }} To connect to your database from outside the cluster execute the following commands: