KubeZero/charts/kubezero-lib/templates/_helpers.tpl

10 lines
281 B
Smarty
Raw Normal View History

2020-05-19 10:14:11 +00:00
{{- /*
Common set of labels
*/ -}}
2020-05-19 10:26:27 +00:00
{{- define "kubezero-lib.labels" -}}
2020-05-19 10:14:11 +00:00
app.kubernetes.io/name: {{ .name }}
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: kubezero
{{- end -}}