From f63b7601a283f44eccacb9067a18eff217659860 Mon Sep 17 00:00:00 2001 From: nicklasfrahm Date: Tue, 28 Apr 2020 18:39:35 +0200 Subject: [PATCH] Fix helper for defaultbackend name Signed-off-by: nicklasfrahm --- charts/ingress-nginx/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ingress-nginx/templates/_helpers.tpl b/charts/ingress-nginx/templates/_helpers.tpl index 2a96c448e..c5d221bee 100644 --- a/charts/ingress-nginx/templates/_helpers.tpl +++ b/charts/ingress-nginx/templates/_helpers.tpl @@ -58,7 +58,7 @@ Create a default fully qualified default backend name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} {{- define "ingress-nginx.defaultBackend.fullname" -}} -{{- printf "%s-%s" (include "ingress-nginx.fullname" .) .Values.defaultBackend.name | trunc 63 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "ingress-nginx.fullname" .) "defaultbackend" | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/*