|
|
|
@ -162,7 +162,7 @@ const defaultHelpers = `{{/* vim: set filetype=mustache: */}}
|
|
|
|
|
Expand the name of the chart.
|
|
|
|
|
*/}}
|
|
|
|
|
{{- define "name" -}}
|
|
|
|
|
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}}
|
|
|
|
|
{{- default .Chart.Name .Values.nameOverride | trunc 24 | trimSuffix "-" -}}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
|
|
{{/*
|
|
|
|
@ -171,7 +171,7 @@ We truncate at 24 chars because some Kubernetes name fields are limited to this
|
|
|
|
|
*/}}
|
|
|
|
|
{{- define "fullname" -}}
|
|
|
|
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
|
|
|
|
{{- printf "%s-%s" .Release.Name $name | trunc 24 -}}
|
|
|
|
|
{{- printf "%s-%s" .Release.Name $name | trunc 24 | trimSuffix "-" -}}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|