mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Increased the name truncation in _helpers.tpl to 63 (#983)
This commit is contained in:
committed by
Lachlan Evenson
parent
97c156c958
commit
70ef71ce61
@@ -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
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user