parent
cc4589cb14
commit
10ad216fcf
7 changed files with 41 additions and 10 deletions
15
chart/templates/_helpers.tpl
Normal file
15
chart/templates/_helpers.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{/* 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue