Skip to content

Commit

Permalink
fix: flag to enable notifications service (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: Lester Guerzon <[email protected]>
  • Loading branch information
guerzon authored Aug 27, 2024
1 parent cdb0c3d commit 230df8b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
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

0 comments on commit 230df8b

Please sign in to comment.