harmony/examples/rust/webapp/helm/harmony-example-rust-webapp-chart/templates/_helpers.tpl
Willem 78e595e696
All checks were successful
Run Check Script / check (pull_request) Successful in 1m37s
feat: added alert manager routes to openshift cluster monitoring
2025-11-17 15:22:43 -05:00

17 lines
486 B
Smarty

{{/*
Expand the name of the chart.
*/}}
{{- define "chart.name" -}}
{{- 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).
*/}}
{{- define "chart.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}