Standardize component.name & component.fullname functions

Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
juan131
2019-07-10 11:59:36 +02:00
parent 54123018c8
commit 775948eb27
139 changed files with 732 additions and 269 deletions

View File

@@ -3,7 +3,7 @@
Expand the name of the chart.
*/}}
{{- define "kafka.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*