Files
heimdall/templates/_helpers.tpl
2025-08-23 10:35:48 +02:00

17 lines
467 B
Smarty

{{/*
Return the name of the chart
*/}}
{{- define "heimdall.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Return the full name of the release
*/}}
{{- define "heimdall.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name (include "heimdall.name" .) | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}