(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

This commit is contained in:
Rebecca Valente 2025-09-23 11:09:45 -03:00
parent 7c1c0dc72e
commit d77d9f9359

View File

@ -5,13 +5,8 @@ Expand the name of the chart.
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- 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" -}}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*