Revert "fix: wrong common.fullname"

This reverts commit 30d024225c.
This commit is contained in:
weian
2022-06-08 09:57:26 +08:00
parent 7c7ce22318
commit 139a585fd2
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 }}