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: add flag to enable notifications service #110

Merged
merged 1 commit into from
Aug 27, 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
2 changes: 1 addition & 1 deletion charts/vaultwarden/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: guerzon
email: [email protected]
url: https://github.com/guerzon
version: 0.24.2
version: 0.24.3
kubeVersion: ">=1.12.0-0"
1 change: 1 addition & 0 deletions charts/vaultwarden/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ helm -n $NAMESPACE uninstall $RELEASE_NAME

| Name | Description | Value |
| ----------------------------------------------------- | ----------------------------------------------------------------------------------- | -------------------------------- |
| `pushNotifications.enabled` | Enable the push notification service | `false` |
| `pushNotifications.existingSecret` | Name of an existing secret containing the Bitwarden installation id and key | `""` |
| `pushNotifications.installationId.value` | Bitwarden installation id string | `""` |
| `pushNotifications.installationId.existingSecretKey` | When using an existing secret, specify the key which contains the installation id. | `""` |
Expand Down
2 changes: 1 addition & 1 deletion charts/vaultwarden/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ data:
INVITATION_ORG_NAME: {{ .Values.invitationOrgName | quote }}
ICON_BLACKLIST_NON_GLOBAL_IPS: {{ .Values.iconBlacklistNonGlobalIps | quote }}
IP_HEADER: {{ .Values.ipHeader | quote }}
{{- if .Values.pushNotifications }}
{{- if .Values.pushNotifications.enabled }}
PUSH_ENABLED: "true"
{{- with .Values.pushNotifications.relayUri }}
PUSH_RELAY_URI: {{ . | quote }}
Expand Down
13 changes: 8 additions & 5 deletions charts/vaultwarden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,18 +297,21 @@ database:
## Refer to https://github.com/dani-garcia/vaultwarden/wiki/Enabling-Mobile-Client-push-notification for details
##

pushNotifications:
pushNotifications:
## @param pushNotifications.enabled Enable the push notification service
##
enabled: false
## @param pushNotifications.existingSecret Name of an existing secret containing the Bitwarden installation id and key
##
existingSecret: ""
installationId:
installationId:
## @param pushNotifications.installationId.value Bitwarden installation id string
## Example: installationIdGoesHere
##
value: ""
## @param pushNotifications.installationId.existingSecretKey When using an existing secret, specify the key which contains the installation id.
## Example: INSTALLATION_ID
##
##
existingSecretKey: ""
installationKey:
## @param pushNotifications.installationKey.value Bitwarden installation key string
Expand All @@ -321,11 +324,11 @@ pushNotifications:
existingSecretKey: ""
## @param pushNotifications.relayUri Change Bitwarden relay uri.
## Refer to https://github.com/dani-garcia/vaultwarden/wiki/Enabling-Mobile-Client-push-notification for details
##
##
relayUri: "https://push.bitwarden.com"
## @param pushNotifications.identityUri Change Bitwarden identity uri.
## Refer to https://github.com/dani-garcia/vaultwarden/wiki/Enabling-Mobile-Client-push-notification for details
##
##
identityUri: "https://identity.bitwarden.com"

## @section Scheduled jobs
Expand Down
Loading