Files
common/helm/templates/_labels.tpl
2025-10-20 14:18:25 +02:00

15 lines
509 B
Smarty

{{- define "common.labels.standard" }}
helm.sh/chart: {{ include "common.names.chart" . }}
app.kubernetes.io/name: {{ include "common.names.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Chart.AppVersion }}
app.kubernetes.io/version: {{ . | quote }}
{{- end }}
{{- end }}
{{- define "common.labels.matchLabels" }}
app.kubernetes.io/name: {{ include "common.names.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}