Skip to content

Commit

Permalink
fix: ingress websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
drikqlis committed Mar 15, 2024
1 parent 97d865e commit 7fbbdfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion charts/vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sources:
- https://github.com/guerzon/vaultwarden
- https://github.com/dani-garcia/vaultwarden
appVersion: "1.30.5"
version: 0.22.22
version: 0.22.23
kubeVersion: ">=1.12.0-0"

dependencies:
Expand Down
17 changes: 1 addition & 16 deletions charts/vaultwarden/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,12 @@ metadata:
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
{{- end }}
annotations:
ingress.kubernetes.io/rewrite-target: /
{{- if $ingress.tls }}
ingress.kubernetes.io/ssl-redirect: "true"
{{- end }}
{{- if $ingress.additionalAnnotations }}
{{- toYaml $ingress.additionalAnnotations | nindent 4 }}
{{- end }}
{{- if $ingress.nginxIngressAnnotations }}
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Request-Id: $req_id";
nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/limit-connections: "25"
nginx.ingress.kubernetes.io/limit-rps: "15"
nginx.ingress.kubernetes.io/proxy-body-size: 1024m
nginx.ingress.kubernetes.io/proxy-connect-timeout: "10"
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800"
nginx.org/websocket-services: {{ include "vaultwarden.fullname" $ }}
nginx.ingress.kubernetes.io/websocket-services: {{ include "vaultwarden.fullname" $ }}
{{- if $ingress.nginxAllowList }}
nginx.ingress.kubernetes.io/whitelist-source-range: {{ $ingress.nginxAllowList }}
{{- end }}
Expand Down

0 comments on commit 7fbbdfc

Please sign in to comment.