Skip to content

Commit

Permalink
🔥 (vaultwarden): Remove dedicated WebSocket port
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 28, 2023
1 parent 37ef6a9 commit 82b4b1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions charts/vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ dependencies:
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Update ghcr.io/dani-garcia/vaultwarden Docker tag to v1.29.1
- kind: removed
description: BREAKING - Remove dedicated WebSocket port
artifacthub.io/links: |-
- name: App Source
url: https://github.com/dani-garcia/vaultwarden
Expand Down
4 changes: 3 additions & 1 deletion charts/vaultwarden/templates/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ env:
ROCKET_PORT: {{ quote .Values.service.main.ports.http.port }}

{{- with .Values.service.main.ports.websocket }}
WEBSOCKET_ENABLED: {{ default .enabled "true" | quote }}
WEBSOCKET_ENABLED: {{ quote .enabled }}
{{- if .enabled }}
WEBSOCKET_PORT: {{ quote .port }}
{{- end }}
{{- end }}

{{- if .Values.postgresql.enabled }}
{{- with .Values.postgresql }}
Expand Down
9 changes: 1 addition & 8 deletions charts/vaultwarden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ service:
http:
port: 80
websocket:
enabled: false
port: 3012

ingress:
Expand All @@ -47,14 +48,6 @@ ingress:
# pathType: Prefix
# service:
# port: 80
# - path: /notifications/hub/negotiate
# pathType: Prefix
# service:
# port: 80
# - path: /notifications/hub
# pathType: Prefix
# service:
# port: 3012

persistence:
# -- Configure persistence settings for the chart under this key.
Expand Down

0 comments on commit 82b4b1c

Please sign in to comment.