See issue id for details.
Change-Id: Iea807608f7bd315a28032b640f3aa9370adc17eb
Issue-ID: OOM-971
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
{{/*
Resolve the name of a chart's service.
{{/*
Resolve the name of a chart's service.
- The default will be the chart name, unless
- overridden in the service configuration.
+ The default will be the chart name (or .Values.nameOverride if set).
+ And the use of .Values.service.name overrides all.
- .Values.service.name : override default service (ie. chart) name
*/}}
- .Values.service.name : override default service (ie. chart) name
*/}}
Expand the service name for a chart.
*/}}
{{- define "common.servicename" -}}
Expand the service name for a chart.
*/}}
{{- define "common.servicename" -}}
- {{- default .Chart.Name .Values.service.name | trunc 63 | trimSuffix "-" -}}
+ {{- $name := default .Chart.Name .Values.nameOverride -}}
+ {{- default $name .Values.service.name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
\ No newline at end of file
{{- end -}}
\ No newline at end of file