From d914edf3e0953817594ba1d9d49f89fa50057ffd Mon Sep 17 00:00:00 2001 From: Lukas Magauer <42647570+lumarel@users.noreply.github.com> Date: Thu, 20 Apr 2023 05:35:36 +0200 Subject: [PATCH] The ingress resulted in a double slash, if there is are slashes at the end of the ingress_path variable (#1374) Co-authored-by: lumarel --- roles/installer/templates/networking/ingress.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/installer/templates/networking/ingress.yaml.j2 b/roles/installer/templates/networking/ingress.yaml.j2 index cf3ec787..3d79c934 100644 --- a/roles/installer/templates/networking/ingress.yaml.j2 +++ b/roles/installer/templates/networking/ingress.yaml.j2 @@ -34,7 +34,7 @@ spec: port: number: 80 {% if ingress_controller|lower == "contour" %} - - path: '{{ ingress_path }}/websocket' + - path: '{{ ingress_path.rstrip("/") }}/websocket' pathType: '{{ ingress_path_type }}' backend: service: