From 7bbed61a0ee07794eb4239711fda84117f854abd Mon Sep 17 00:00:00 2001 From: David Burke Date: Fri, 30 Jul 2021 14:45:31 +0000 Subject: [PATCH] Fix redis URL generation --- templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 9c466b7..a659a8b 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -85,7 +85,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this {{- else -}} {{- $name := default .Chart.Name -}} {{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}}-redis-master {{- else -}} {{- printf "%s-%s" .Release.Name "redis-master" | trunc 63 | trimSuffix "-" -}} {{- end -}}