fix(mongodb): make advertisedhostname configurable (#2559)

This commit is contained in:
Stavros Kois
2022-04-24 21:59:58 +00:00
committed by GitHub
parent 3174ae3090
commit 724a39d587
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com
type: application
version: 0.1.4
version: 0.1.5
annotations:
truecharts.org/catagories: |
- database
+2 -1
View File
@@ -102,6 +102,7 @@ mongodbRootPassword: "testroot"
mongodbReplicasetMode: "primary"
mongodbReplicasetName: "rs0"
mongodbReplicasetKey: "testreplicasetkey"
mongodbAdvertisedHostname: "localhost"
existingSecret: ""
envValueFrom:
@@ -123,5 +124,5 @@ env:
MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}"
MONGODB_REPLICA_SET_MODE: "{{ .Values.mongodbReplicasetMode }}"
MONGODB_REPLICA_SET_NAME: "{{ .Values.mongodbReplicasetName }}"
MONGODB_ADVERTISED_HOSTNAME: "localhost"
MONGODB_ADVERTISED_HOSTNAME: "{{ .Values.mongodbAdvertisedHostname }}"
MONGODB_ADVERTISED_PORT_NUMBER: "27017"