Skip to content

Commit

Permalink
fix: haproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Nov 21, 2024
1 parent d07cf7e commit be420ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/keep/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 4 additions & 8 deletions charts/keep/templates/ingress-haproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be420ca

Please sign in to comment.