diff --git a/library/common/templates/lib/chart/_names.tpl b/library/common/templates/lib/chart/_names.tpl index 707f24563e..04922f75ba 100644 --- a/library/common/templates/lib/chart/_names.tpl +++ b/library/common/templates/lib/chart/_names.tpl @@ -27,8 +27,9 @@ If release name contains chart name it will be used as a full name. {{- if contains $name .Release.Name }} {{- $name = (.Release.Name | trunc 63 | trimSuffix "-") }} {{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- $name = (printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-") }} {{- end }} +{{- print $name -}} {{- end }} {{- end }}