diff --git a/charts/flagsmith/templates/_helpers.tpl b/charts/flagsmith/templates/_helpers.tpl index fd0f385..b59470b 100644 --- a/charts/flagsmith/templates/_helpers.tpl +++ b/charts/flagsmith/templates/_helpers.tpl @@ -196,7 +196,7 @@ Postgres hostname PgBouncer hostname */}} {{- define "flagsmith.pgbouncer.hostname" -}} -{{- printf "%s-%s" .Release.Name "pgbouncer" -}}.{{ include "flagsmith.namespace" . }}.svc.cluster.local +{{- template "flagsmith.fullname" . }}-pgbouncer.{{ include "flagsmith.namespace" . }}.svc.cluster.local {{- end -}} {{/*