From be420ca8a644ccfdce866fcbeb5a84d468f8aca5 Mon Sep 17 00:00:00 2001 From: shahargl Date: Thu, 21 Nov 2024 13:27:47 +0200 Subject: [PATCH] fix: haproxy --- charts/keep/Chart.yaml | 4 ++-- charts/keep/templates/ingress-haproxy.yaml | 12 ++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index 3252d0e..692869b 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -1,10 +1,10 @@ apiVersion: v2 name: keep -version: 0.1.40 +version: 0.1.41 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75 -appVersion: 0.29.0 +appVersion: 0.29.2 deprecated: false annotations: app: keep diff --git a/charts/keep/templates/ingress-haproxy.yaml b/charts/keep/templates/ingress-haproxy.yaml index 366946e..172b3d9 100644 --- a/charts/keep/templates/ingress-haproxy.yaml +++ b/charts/keep/templates/ingress-haproxy.yaml @@ -13,21 +13,17 @@ metadata: haproxy-ingress.github.io/timeout-server: "3600s" haproxy-ingress.github.io/timeout-connect: "3600s" haproxy-ingress.github.io/timeout-tunnel: "3600s" - - # WebSocket support - haproxy-ingress.github.io/config-backend: | - timeout tunnel 3600s - option http-keep-alive - http-reuse safe - haproxy-ingress.github.io/ssl-redirect: "false" - # Backend configurations for path rewrites + # Backend configurations for path rewrites + # WebSocket support haproxy-ingress.github.io/config-backend: | acl path_v2 path_beg {{ .Values.global.ingress.backendPrefix }}/ acl path_ws path_beg {{ .Values.global.ingress.websocketPrefix }}/ http-request set-path %[path,regsub(^{{ .Values.global.ingress.backendPrefix }}/,/)] if path_v2 http-request set-path %[path,regsub(^{{ .Values.global.ingress.websocketPrefix }}/,/)] if path_ws + timeout tunnel 3600s + option http-keep-alive + http-reuse safe spec: ingressClassName: haproxy