{{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "usma-redis.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Helm required labels */}} {{- define "usma-redis.labels" -}} heritage: {{ .Release.Service }} release: {{ .Release.Name }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} {{- end -}} {{/* matchLabels */}} {{- define "usma-redis.matchLabels" -}} release: {{ .Release.Name }} app: "{{ template "usma-redis.name" . }}" {{- end -}}