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: