github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/clickhouse/charts/common/templates/_labels.tpl (about) 1 {{/* vim: set filetype=mustache: */}} 2 {{/* 3 Kubernetes standard labels 4 */}} 5 {{- define "common.labels.standard" -}} 6 app.kubernetes.io/name: {{ include "common.names.name" . }} 7 helm.sh/chart: {{ include "common.names.chart" . }} 8 app.kubernetes.io/instance: {{ .Release.Name }} 9 app.kubernetes.io/managed-by: {{ .Release.Service }} 10 {{- end -}} 11 12 {{/* 13 Labels to use on deploy.spec.selector.matchLabels and svc.spec.selector 14 */}} 15 {{- define "common.labels.matchLabels" -}} 16 app.kubernetes.io/name: {{ include "common.names.name" . }} 17 app.kubernetes.io/instance: {{ .Release.Name }} 18 {{- end -}}