Skip to content

Commit

Permalink
Update chart helper truncate length (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Oct 16, 2017
1 parent 0a669ee commit d3fd120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/voyager/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Expand the name of the chart.
*/}}
{{- define "name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Expand All @@ -12,5 +12,5 @@ We truncate at 45 chars because some Kubernetes name fields are limited to this
*/}}
{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" $name .Release.Name | trunc 45 -}}
{{- printf "%s-%s" $name .Release.Name | trunc 63 -}}
{{- end -}}

0 comments on commit d3fd120

Please sign in to comment.