diff --git a/charts/graylog/templates/_helpers.tpl b/charts/graylog/templates/_helpers.tpl index 4097579..1fe83df 100644 --- a/charts/graylog/templates/_helpers.tpl +++ b/charts/graylog/templates/_helpers.tpl @@ -100,7 +100,7 @@ Or use chart dependencies with release name {{- else if .Values.graylog.mongodb.uri }} {{- .Values.graylog.mongodb.uri -}} {{- else }} - {{- printf "mongodb://%s-headless.%s.svc.cluster.local:27017/graylog?replicaSet=rs0" .Release.Name .Release.Namespace -}} + {{- printf "mongodb://%s-mongodb-headless.%s.svc.cluster.local:27017/graylog?replicaSet=rs0" .Release.Name .Release.Namespace -}} {{- end -}} {{- end -}}