blob: f6c221f15d23d9c1faaf09deb95f94a2ec479a92 [file] [log] [blame]
Mike Elliott3e7dc642018-02-12 15:33:55 -05001{{/*
2 Expand the name of a chart.
3*/}}
4{{- define "common.name" -}}
5 {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
6{{- end -}}
7
8{{/*
9 Create a default fully qualified application name.
10 Truncated at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
11*/}}
12{{- define "common.fullname" -}}
13 {{- $name := default .Chart.Name .Values.nameOverride -}}
14 {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
15{{- end -}}