🔧(helm) fix the path prefix of the backend ingress

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.
This commit is contained in:
Baptiste Massemin
2025-05-19 19:12:14 +02:00
committed by aleb_the_flash
parent 48e6cef763
commit 922a968418
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
apiVersion: v2
type: application
name: meet
version: 0.0.7
version: 0.0.8

View File

@@ -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 }}