From fd8fdc940cf6192856c49ee60e756ed27b672f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Lindh=C3=A9?= <7773090+lindhe@users.noreply.github.com> Date: Mon, 20 Jan 2025 11:32:03 +0100 Subject: [PATCH] fix: Use correct service name in Ingress --- charts/invenio/templates/ingress.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/invenio/templates/ingress.yaml b/charts/invenio/templates/ingress.yaml index 3c93f30..d0e3f5d 100644 --- a/charts/invenio/templates/ingress.yaml +++ b/charts/invenio/templates/ingress.yaml @@ -25,7 +25,11 @@ spec: - path: / backend: service: - name: {{ if .Values.haproxy.enabled }}haproxy{{ else }}web{{ end }} + {{- if .Values.haproxy.enabled }} + name: haproxy + {{- else }} + name: {{ include "invenio.fullname" . }}-web + {{- end }} port: name: http pathType: Prefix