From ae46362ce77916e3143d55e3f2b4828b34b4fbbc Mon Sep 17 00:00:00 2001 From: Michael Welles Date: Tue, 21 Jul 2026 11:28:01 -0400 Subject: [PATCH] fix(dgraph): trim the trailing dash when fullname truncates at 24 chars --- charts/dgraph/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/dgraph/templates/_helpers.tpl b/charts/dgraph/templates/_helpers.tpl index 66137b39e..b67eb870f 100644 --- a/charts/dgraph/templates/_helpers.tpl +++ b/charts/dgraph/templates/_helpers.tpl @@ -14,7 +14,7 @@ We truncate at 24 chars because some Kubernetes name fields are limited to this {{- .Values.fullnameOverride | trunc 24 | trimSuffix "-" -}} {{- else -}} {{- $name := default .Chart.Name .Values.nameOverride -}} -{{- printf "%s-%s" .Release.Name $name | trunc 24 -}} +{{- printf "%s-%s" .Release.Name $name | trunc 24 | trimSuffix "-" -}} {{- end -}} {{- end -}} {{/*