Skip to content

Commit

Permalink
CLOUD-343 Limit chart name length
Browse files Browse the repository at this point in the history
  • Loading branch information
cap1984 authored and delgod committed Jul 29, 2019
1 parent 38193c8 commit 1ece6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pxc-db/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If release name contains chart name it will be used as a full name.
Create chart name and version as used by the chart label.
*/}}
{{- define "pxc-database.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 21 | trimSuffix "-" -}}
{{- end -}}

{{/*
Expand Down

0 comments on commit 1ece6d0

Please sign in to comment.