From 922a9684187b6ae703b46c472ded8bbe6947303f Mon Sep 17 00:00:00 2001 From: Baptiste Massemin <55845846+bmassemin@users.noreply.github.com> Date: Mon, 19 May 2025 19:12:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(helm)=20fix=20the=20path=20prefix?= =?UTF-8?q?=20of=20the=20backend=20ingress?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current path is `/api/v`, and it doesn't work with `ingress-nginx`. I'm not sure if other ingress controllers work with this prefix, but changing it to `/api/` will work for `ingress-nginx` and likely for others as well. --- src/helm/meet/Chart.yaml | 2 +- src/helm/meet/templates/ingress.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helm/meet/Chart.yaml b/src/helm/meet/Chart.yaml index 5ae56737..234636f9 100644 --- a/src/helm/meet/Chart.yaml +++ b/src/helm/meet/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 type: application name: meet -version: 0.0.7 +version: 0.0.8 diff --git a/src/helm/meet/templates/ingress.yaml b/src/helm/meet/templates/ingress.yaml index ea8729d2..220f9fe6 100644 --- a/src/helm/meet/templates/ingress.yaml +++ b/src/helm/meet/templates/ingress.yaml @@ -60,7 +60,7 @@ spec: serviceName: {{ include "meet.frontend.fullname" . }} servicePort: {{ .Values.frontend.service.port }} {{- end }} - - path: /api/v + - path: /api/ {{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix {{- end }} @@ -96,7 +96,7 @@ spec: serviceName: {{ include "meet.frontend.fullname" $ }} servicePort: {{ $.Values.frontend.service.port }} {{- end }} - - path: /api/v + - path: /api/ {{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix {{- end }}