From 95383ac406de371485df9ce44643a4817cebeaba Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Wed, 11 Sep 2024 22:02:16 +0200 Subject: [PATCH] [GRIST] Fix Missing path --- charts/grist/templates/ingress.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/charts/grist/templates/ingress.yaml b/charts/grist/templates/ingress.yaml index c74d2d4..1308186 100644 --- a/charts/grist/templates/ingress.yaml +++ b/charts/grist/templates/ingress.yaml @@ -83,6 +83,20 @@ spec: - host: {{ .host | quote }} http: paths: + - path: {{ $.Values.ingress.path | quote }} + {{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }} + pathType: Prefix + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ include "grist.home.fullname" $ }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ include "grist.home.fullname" $ }} + servicePort: {{ $svcPort }} + {{- end }} - path: /dw {{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix