Skip to content

Commit

Permalink
Fix webPort reference in Ingress resource
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonathanio committed Aug 14, 2024
1 parent dc3d635 commit 4ce6d78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/dashboard/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -39,9 +39,9 @@ spec:
pathType: {{ .pathType }}
backend:
service:
name: {{ $fullName }}-frontend
name: {{ $name }}-frontend
port:
number: {{ $svcPort }}
number: {{ $webPort }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 4ce6d78

Please sign in to comment.