Skip to content

Commit

Permalink
Fix webPort reference in Ingress resource (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanio authored Aug 14, 2024
2 parents dc3d635 + 4ce6d78 commit a5b1287
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 a5b1287

Please sign in to comment.