fix(mongodb): dont set initial primary host (#2557)

* fix(mongodb): dont set initial primary host

* hmm

* test again

* revert
This commit is contained in:
Stavros Kois 2022-04-24 23:50:58 +03:00 committed by GitHub
parent 6b0279f571
commit 8910ecbde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb - https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com - https://www.mongodb.com
type: application type: application
version: 0.1.3 version: 0.1.4
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- database - database

View File

@ -123,7 +123,5 @@ env:
MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}" MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}"
MONGODB_REPLICA_SET_MODE: "{{ .Values.mongodbReplicasetMode }}" MONGODB_REPLICA_SET_MODE: "{{ .Values.mongodbReplicasetMode }}"
MONGODB_REPLICA_SET_NAME: "{{ .Values.mongodbReplicasetName }}" MONGODB_REPLICA_SET_NAME: "{{ .Values.mongodbReplicasetName }}"
MONGODB_ADVERTISED_HOSTNAME: "{{ .Release.Name }}-mongodb" MONGODB_ADVERTISED_HOSTNAME: "localhost"
MONGODB_ADVERTISED_PORT_NUMBER: "27017" MONGODB_ADVERTISED_PORT_NUMBER: "27017"
MONGODB_INITIAL_PRIMARY_HOST: "{{ .Release.Name }}-mongodb"
MONGODB_INITIAL_PRIMARY_PORT_NUMBER: "27017"