From b33b435b60c3ada7b1ef8a0988d670d66fbcb3f5 Mon Sep 17 00:00:00 2001 From: Pavan Date: Thu, 15 Jul 2021 14:51:36 +0530 Subject: [PATCH] bitnami/mongodb - Fix for custom clusterDomain not joining the secondary nodes (#6938) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix for https://github.com/bitnami/charts/issues/6748 * Bumping Chart Version for the change Co-authored-by: ppathard Co-authored-by: Rafael RĂ­os Saavedra --- bitnami/mongodb/Chart.yaml | 2 +- bitnami/mongodb/templates/replicaset/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/mongodb/Chart.yaml b/bitnami/mongodb/Chart.yaml index 7b2108fd2..4bedba8a7 100644 --- a/bitnami/mongodb/Chart.yaml +++ b/bitnami/mongodb/Chart.yaml @@ -26,4 +26,4 @@ name: mongodb sources: - https://github.com/bitnami/bitnami-docker-mongodb - https://mongodb.org -version: 10.22.1 +version: 10.23.0 \ No newline at end of file diff --git a/bitnami/mongodb/templates/replicaset/statefulset.yaml b/bitnami/mongodb/templates/replicaset/statefulset.yaml index 2ff7085c0..ba2beeb3d 100644 --- a/bitnami/mongodb/templates/replicaset/statefulset.yaml +++ b/bitnami/mongodb/templates/replicaset/statefulset.yaml @@ -145,7 +145,7 @@ spec: [alt_names] DNS.1 = $svc DNS.2 = $my_hostname - DNS.3 = $my_hostname.$svc.$MY_POD_NAMESPACE.svc.cluster.local + DNS.3 = $my_hostname.$svc.$MY_POD_NAMESPACE.svc.{{ .Values.clusterDomain }} DNS.4 = localhost DNS.5 = 127.0.0.1 {{- if .Values.externalAccess.service.loadBalancerIPs }}