test/chart/templates/_helpers.tpl
ston1th 10ad216fcf
All checks were successful
the build was successful
fixed helm chart
2019-01-18 21:54:13 +01:00

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 }}