From bc79079e886835af002007e2e04b5d300edcb643 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Sun, 6 Oct 2024 13:53:34 +0100 Subject: [PATCH] Update ingress.yaml --- helm_charts/taxonium-backend/templates/ingress.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/helm_charts/taxonium-backend/templates/ingress.yaml b/helm_charts/taxonium-backend/templates/ingress.yaml index acbe8b50..43223750 100644 --- a/helm_charts/taxonium-backend/templates/ingress.yaml +++ b/helm_charts/taxonium-backend/templates/ingress.yaml @@ -1,4 +1,3 @@ - {{- if .Values.ingress.enabled -}} apiVersion: networking.k8s.io/v1 kind: Ingress @@ -18,15 +17,13 @@ spec: - host: {{ .Values.hostname | quote }} http: paths: - {{- range .Values.ingress.hosts[0].paths }} - - path: {{ .path }} - pathType: {{ .pathType }} + - path: / + pathType: Prefix backend: service: - name: {{ $.Release.Name }}-taxonium-backend + name: {{ .Release.Name }}-taxonium-backend port: - number: {{ $.Values.service.port }} - {{- end }} + number: {{ .Values.service.port }} {{- with .Values.ingress.tls }} tls: - hosts: