24 lines
583 B
Smarty
Executable File
24 lines
583 B
Smarty
Executable File
{{/* vim: set filetype=mustache: */}}
|
|
{{/*
|
|
Expand the name of the chart.
|
|
*/}}
|
|
{{- define "name" -}}
|
|
{{- default .Chart.Name | trunc 60 | trimSuffix "-" -}}
|
|
{{- end -}}
|
|
|
|
{{/*
|
|
Create a default fully qualified app name.
|
|
We truncate at 60 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
|
*/}}
|
|
{{- define "fullname" -}}
|
|
{{- $name := .Values.nameOverride -}}
|
|
{{- printf "%s-%s" .Chart.Name $name | trunc 60 | trimSuffix "-" -}}
|
|
{{- end -}}
|
|
|
|
{{/*
|
|
Deployment environment
|
|
*/}}
|
|
{{- define "environment" -}}
|
|
{{- default .Release.Namespace -}}
|
|
{{- end -}}
|