From 264d45a56454480ed09638c6b9dfbfe654d57086 Mon Sep 17 00:00:00 2001 From: Chi-En Wu Date: Thu, 23 Apr 2020 15:42:36 +0800 Subject: [PATCH] refactor: remove duplicate template `common.labels` --- templates/_name.tpl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/templates/_name.tpl b/templates/_name.tpl index 49b0d49..4c27502 100644 --- a/templates/_name.tpl +++ b/templates/_name.tpl @@ -32,18 +32,6 @@ Create chart name and version as used by the chart label. {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}} -{{/* -Common labels -*/}} -{{- define "common.labels" -}} -helm.sh/chart: {{ include "common.chart" . }} -{{ include "common.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - {{/* Create the name of the service account to use. */}}