Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(helm): haproxy #78

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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