Commit c864ba17 authored by Maxime Guyot's avatar Maxime Guyot

Add fullnameOverride

parent f6bff5da
......@@ -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 -}}
`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment