initialize heimdall

This commit is contained in:
2025-08-23 10:35:48 +02:00
commit 719051a010
8 changed files with 177 additions and 0 deletions

17
templates/_helpers.tpl Normal file
View File

@@ -0,0 +1,17 @@
{{/*
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 -}}