diff --git a/Chart.yaml b/Chart.yaml index 4bb084e..3f834a7 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: servicetpl description: A Helm chart for services running on Kubernetes -version: 0.13.0 +version: 0.14.0 diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 88ed5af..dead4fb 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -1,10 +1,5 @@ {{/* vim: set filetype=mustache: */}} {{/* -Expand the name of the chart. -*/}} -{{- define "service_template.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} {{/* Create a default fully qualified app name. @@ -48,7 +43,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} Selector labels */}} {{- define "service_template.selectorLabels" -}} -app.kubernetes.io/name: {{ include "service_template.name" . }} +app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} app: {{ .Release.Name }} {{- end }}