Merge pull request #3123 from Miouge1/fullnameoverride

Add fullnameOverride
pull/3185/head
Matthew Fisher 7 years ago committed by GitHub
commit 4c21a0e739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -240,7 +240,8 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
*/}}
{{- define "<CHARTNAME>.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- $default := printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- default $default .Values.fullnameOverride -}}
{{- end -}}
`

Loading…
Cancel
Save