Commit 15ef56b8 authored by Waqar Ahmed's avatar Waqar Ahmed

Properly render full name if name is a substring of release name

parent c3255243
......@@ -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 }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment