diff --git a/Chart.yaml b/Chart.yaml index 7c04fa9..fe562f6 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -14,4 +14,4 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.4.2 +version: 0.4.1 diff --git a/templates/_name.tpl b/templates/_name.tpl index 52031c6..b06b6ad 100644 --- a/templates/_name.tpl +++ b/templates/_name.tpl @@ -18,9 +18,9 @@ If release name contains chart name it will be used as a full name. {{- else }} {{- $name := default .Chart.Name .Values.nameOverride }} {{- if contains $name .Release.Name }} - {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} - {{- else }} {{- .Release.Name | trunc 63 | trimSuffix "-" }} + {{- else }} + {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} {{- end }} {{- end }} {{- end }}