diff --git a/chart/templates/ingress-redirects.yaml b/chart/templates/ingress-redirects.yaml
index 828f902394290a15c16432c2e1d08a6f62ed40bf..79e5c18d72f4398b78370e8d53dbb407732ae516 100644
--- a/chart/templates/ingress-redirects.yaml
+++ b/chart/templates/ingress-redirects.yaml
@@ -22,6 +22,7 @@ spec:
 {{- end }}
   rules:   
 {{- $dot := . }}
+{{- $values := .Values }}
 {{- range $host := .Values.service.redirectHosts }}
   - host: {{ $host }}
     http:
@@ -29,7 +30,7 @@ spec:
       - path: /
         backend:
           serviceName: {{ template "fullname" $dot }}
-          servicePort: {{ .Values.service.externalPort }}
+          servicePort: {{ $values.service.externalPort }}
 {{- end -}}
 {{- end }}
 {{- end }}
\ No newline at end of file