[fix-issue-79] add reloader-name template in _helpers.tpl

This commit is contained in:
irti
2019-08-20 14:20:40 +05:00
parent d599340549
commit 0bf2fc66cc
@@ -3,6 +3,10 @@
Expand the name of the chart.
*/}}
{{- define "reloader-name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" | lower -}}
{{- 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).