From 31159078d29b6e12cebc29a64526be90027469a6 Mon Sep 17 00:00:00 2001 From: El Mehdi Bouamama Date: Fri, 30 Aug 2024 15:29:08 +0100 Subject: [PATCH] Fix: Support GCE in ingress path Compatbility with GKE / GCE, where GCE requires a path that contains /* to function and here we can't use the /* and it messes up the ingress. NB: let the user choose his own path, if he wants more complicated paths then he will do it on his own after consulting the documentation Signed-off-by: El Mehdi Bouamama --- charts/kubernetes-dashboard/templates/networking/ingress.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/charts/kubernetes-dashboard/templates/networking/ingress.yaml b/charts/kubernetes-dashboard/templates/networking/ingress.yaml index 883a8d323f96..f0c6679a71ab 100644 --- a/charts/kubernetes-dashboard/templates/networking/ingress.yaml +++ b/charts/kubernetes-dashboard/templates/networking/ingress.yaml @@ -62,11 +62,7 @@ spec: - host: {{ $host }} http: paths: - {{- if not (eq $.Values.app.ingress.path "/") }} - - path: {{ $.Values.app.ingress.path }}(/|$)(.*) - {{- else }} - path: {{ $.Values.app.ingress.path }} - {{- end }} pathType: {{ $.Values.app.ingress.pathType }} backend: service: