Commit 522b236f authored by Sandro Mathys's avatar Sandro Mathys
Browse files

minor formatting change

parent 07ffcdc8
......@@ -2,7 +2,7 @@
Expand the name of the chart.
*/}}
{{- define "shibboleth-sp.name" -}}
{{- default .Chart.Name (tpl .Values.nameOverride .) | trunc 63 | trimSuffix "-" }}
{{- default .Chart.Name ( tpl .Values.nameOverride . ) | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
......@@ -13,9 +13,9 @@ If release name contains chart name it will be used as a full name.
*/}}
{{- define "shibboleth-sp.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- (tpl .Values.fullnameOverride .) | trunc 54 | trimSuffix "-" }}
{{- tpl .Values.fullnameOverride . | trunc 54 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name (tpl .Values.nameOverride .) }}
{{- $name := default .Chart.Name ( tpl .Values.nameOverride . ) }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 54 | trimSuffix "-" }}
{{- else }}
......
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