diff --git a/stable/percona/Chart.yaml b/stable/percona/Chart.yaml index 8be79c20b9..5ecfa95d0a 100644 --- a/stable/percona/Chart.yaml +++ b/stable/percona/Chart.yaml @@ -1,5 +1,5 @@ name: percona -version: 0.1.0 +version: 0.2.0 description: free, fully compatible, enhanced, open source drop-in replacement for MySQL keywords: - mysql diff --git a/stable/percona/templates/_helpers.tpl b/stable/percona/templates/_helpers.tpl index f7877c321f..97e2014981 100644 --- a/stable/percona/templates/_helpers.tpl +++ b/stable/percona/templates/_helpers.tpl @@ -1,16 +1,17 @@ {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} {{- define "name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 24 | trimSuffix "-" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. -We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} {{- define "fullname" -}} {{- $name := default .Chart.Name .Values.nameOverride -}} -{{- printf "%s-%s" .Release.Name $name | trunc 24 | trimSuffix "-" -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} {{- end -}}