mirror of
https://github.com/bitnami/charts.git
synced 2026-03-11 15:37:20 +08:00
[bitnami/mongodb] Change static DNS entry to clusterDomain variable (#15682)
* Change static DNS entry to clusterDomain variable Signed-off-by: Maximilian Brandt <schmexs@gmail.com> * Bump chart version Signed-off-by: Maximilian Brandt <schmexs@gmail.com> --------- Signed-off-by: Maximilian Brandt <schmexs@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ab7a23fa98
commit
e19b3e7729
@@ -26,4 +26,4 @@ name: mongodb
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/mongodb
|
||||
- https://mongodb.org
|
||||
version: 13.9.2
|
||||
version: 13.9.3
|
||||
|
||||
@@ -72,9 +72,9 @@ data:
|
||||
DNS.1 = $svc
|
||||
DNS.2 = $my_hostname
|
||||
{{- if eq .Values.architecture "replicaset" }}
|
||||
DNS.3 = $my_hostname.$svc.$MY_POD_NAMESPACE.svc.cluster.local
|
||||
DNS.3 = $my_hostname.$svc.$MY_POD_NAMESPACE.svc.{{ .Values.clusterDomain }}
|
||||
{{- else }}
|
||||
DNS.3 = $svc.$MY_POD_NAMESPACE.svc.cluster.local
|
||||
DNS.3 = $svc.$MY_POD_NAMESPACE.svc.{{ .Values.clusterDomain }}
|
||||
{{- end }}
|
||||
DNS.4 = localhost
|
||||
IP.0 = ${MY_POD_HOST_IP}
|
||||
|
||||
Reference in New Issue
Block a user