File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
bitnami/nginx-ingress-controller/templates Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,17 @@ Create a default fully qualified default backend name.
4343We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
4444*/} }
4545{ {- define " nginx-ingress.defaultBackend.fullname" -} }
46+ { {- if .Values.fullnameOverride -} }
47+ { {- printf " %s-%s" .Values.fullnameOverride .Values.defaultBackend.name | trunc 63 | trimSuffix " -" -} }
48+ { {- else -} }
4649{ {- $name := default .Chart.Name .Values.nameOverride -} }
4750{ {- if contains $name .Release.Name -} }
4851{ {- printf " %s-%s" .Release.Name .Values.defaultBackend.name | trunc 63 | trimSuffix " -" -} }
4952{ {- else -} }
5053{ {- printf " %s-%s-%s" .Release.Name $name .Values.defaultBackend.name | trunc 63 | trimSuffix " -" -} }
5154{ {- end -} }
5255{ {- end -} }
56+ { {- end -} }
5357
5458{ {/*
5559Create the name of the service account to use
You can’t perform that action at this time.
0 commit comments