21 lines
484 B
Smarty
21 lines
484 B
Smarty
{{/*
|
|
Common labels
|
|
*/}}
|
|
{{- define "metadata.labels" -}}
|
|
helm.sh/chart: {{ include "chart.chart" . }}
|
|
{{ include "chart.selectorLabels" . }}
|
|
{{- if .Chart.AppVersion }}
|
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
|
{{- end }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
{{- end }}
|
|
|
|
{{/*
|
|
Selector labels
|
|
*/}}
|
|
{{- define "metadata.selectorLabels" -}}
|
|
app.kubernetes.io/name: {{ include "chart.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
{{- end }}
|
|
|