diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index 5731be7..e76d642 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -30,7 +30,15 @@ app.kubernetes.io/instance: {{ .Release.Name }} Labels for a chart-level resource. */}} {{- define "azimuth-identity-operator.labels" -}} -helm.sh/chart: {{ printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | lower | trunc 63 | trimSuffix "-" }} +helm.sh/chart: {{ + printf "%s-%s" .Chart.Name .Chart.Version | + replace "+" "_" | + lower | + trunc 63 | + trimSuffix "-" | + trimSuffix "." | + trimSuffix "_" +}} app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}