From 8910ecbde9abfe1eb52bff02f0f3c855f72288c3 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 24 Apr 2022 23:50:58 +0300 Subject: [PATCH] fix(mongodb): dont set initial primary host (#2557) * fix(mongodb): dont set initial primary host * hmm * test again * revert --- charts/dependency/mongodb/Chart.yaml | 2 +- charts/dependency/mongodb/values.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/dependency/mongodb/Chart.yaml b/charts/dependency/mongodb/Chart.yaml index c3bd0e65afe..c1a53060fb1 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.1.3 +version: 0.1.4 annotations: truecharts.org/catagories: | - database diff --git a/charts/dependency/mongodb/values.yaml b/charts/dependency/mongodb/values.yaml index 4901e950ddb..acfbac66fdd 100644 --- a/charts/dependency/mongodb/values.yaml +++ b/charts/dependency/mongodb/values.yaml @@ -123,7 +123,5 @@ env: MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}" MONGODB_REPLICA_SET_MODE: "{{ .Values.mongodbReplicasetMode }}" MONGODB_REPLICA_SET_NAME: "{{ .Values.mongodbReplicasetName }}" - MONGODB_ADVERTISED_HOSTNAME: "{{ .Release.Name }}-mongodb" + MONGODB_ADVERTISED_HOSTNAME: "localhost" MONGODB_ADVERTISED_PORT_NUMBER: "27017" - MONGODB_INITIAL_PRIMARY_HOST: "{{ .Release.Name }}-mongodb" - MONGODB_INITIAL_PRIMARY_PORT_NUMBER: "27017"