(1.0.5) devops: refactor _helpers.tpl: remove comment block, drop $name assignment, and pipe name through trunc 63 and trimsuffix
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
7c1c0dc72e
commit
d77d9f9359
@ -5,13 +5,8 @@ Expand the name of the chart.
|
|||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create a default fully qualified app name.
|
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
|
||||||
If release name contains chart name it will be used as a full name.
|
|
||||||
*/}}
|
|
||||||
{{- define "wordpress-website.fullname" -}}
|
{{- define "wordpress-website.fullname" -}}
|
||||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user