From 4ce6d7852d2066ec9bb45ee2c2abaa36051efb0a Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 14 Aug 2024 16:50:18 +0100 Subject: [PATCH] Fix webPort reference in Ingress resource Fix the webPort reference in the Ingress resource as the web port for Ingress was pointing at the old configuration and therefore no longer valid. --- charts/dashboard/templates/ingress.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/dashboard/templates/ingress.yaml b/charts/dashboard/templates/ingress.yaml index 9ca6bfd..5b84071 100644 --- a/charts/dashboard/templates/ingress.yaml +++ b/charts/dashboard/templates/ingress.yaml @@ -27,8 +27,8 @@ spec: {{- end }} {{- end }} {{- end }} - {{- $fullName := include "dashboard.fullname" . }} - {{- $svcPort := .Values.service.port }} + {{- $name := include "dashboard.fullname" . }} + {{- $webPort := .Values.service.webPort }} rules: {{- range .Values.ingress.hosts }} - host: {{ .host | quote }} @@ -39,9 +39,9 @@ spec: pathType: {{ .pathType }} backend: service: - name: {{ $fullName }}-frontend + name: {{ $name }}-frontend port: - number: {{ $svcPort }} + number: {{ $webPort }} {{- end }} {{- end }} {{- end }}