(1.0.4) devops: remove conditional fullname template logic from templates/_helpers.tpl
Some checks failed
package-helm-chart / package-helm-chart (push) Failing after 7s
Some checks failed
package-helm-chart / package-helm-chart (push) Failing after 7s
This commit is contained in:
parent
67fbb0f98b
commit
7c1c0dc72e
@ -12,11 +12,6 @@ If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "wordpress-website.fullname" -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||
{{- if contains $name .Release.Name }}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user