diff --git a/charts/wordpress-helm/templates/_helpers.tpl b/charts/wordpress-helm/templates/_helpers.tpl index 3e523fc..ae9a44f 100644 --- a/charts/wordpress-helm/templates/_helpers.tpl +++ b/charts/wordpress-helm/templates/_helpers.tpl @@ -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 }} {{/*