15 lines
481 B
Go Template
15 lines
481 B
Go Template
{{/* vim: set filetype=mustache: */}}
|
|
{{/*
|
|
Expand the name of the chart.
|
|
*/}}
|
|
{{ define "testapp.name" }}{{ default "testapp" .Values.nameOverride | trunc 63 }}{{ 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 "testapp.fullname" }}
|
|
{{- $name := default "testapp" .Values.nameOverride -}}
|
|
{{ printf "%s-%s" .Release.Name $name | trunc 63 -}}
|
|
{{ end }}
|