* Change pushNotifications configuration to enable the use of existing secrets for Bitwarden installation id and key.
Alternative to defining sensitive secret values as a string in values.yaml.
Based on the implementation of the smtp settings.
* Updated documentation for pushNotifications in values.yaml
* Updated README.md to reflect changes in pushNotifications section
* Upped version
---------
Co-authored-by: Lester Guerzon <guerzon@proton.me>
* Reduce all nindents by 6 spaces to align the elements correctly
All nindents in the _podSpec.tpl file should be reduced by 6 spaces because the PodSpec is already aligned by 6 spaces. Otherwise, they would add up and e.g. a sidecar would be prepended with 6+8=14 spaces, which would not work.
* Update version to 0.22.6 in Chart.yaml
This commit changes the way the `app.kubernetes.io/name` and `app.kubernetes.io/instance` labels are generated in the vaultwarden Helm chart. Previously, the `.Values` object was used directly within the template expression, which is not allowed by Helm. This change updates the expression to use the `$` symbol, which correctly references the current values context.
Every time I upgrade this helm chart I got this error
```
Error: UPGRADE FAILED: cannot patch "vaultwarden" with kind StatefulSet: StatefulSet.apps "vaultwarden" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
```
Let's not put all the labels from helper, because they contain also chart version which changes on every upgrade
```
volumeClaimTemplates:
- metadata:
name: vaultwarden-data
labels:
- helm.sh/chart: vaultwarden-0.20.0
+ helm.sh/chart: vaultwarden-0.22.1
app.kubernetes.io/name: vaultwarden
app.kubernetes.io/instance: vaultwarden
- app.kubernetes.io/version: "1.30.1"
+ app.kubernetes.io/version: "1.30.3"
app.kubernetes.io/managed-by: Helm
```
Fixes: https://github.com/guerzon/vaultwarden/issues/58
* Update charts/vaultwarden/Chart.yaml
Co-authored-by: Nicholas Santiago <nicholas.santiago@gmail.com>
---------
Co-authored-by: Nicholas Santiago <nicholas.santiago@gmail.com>
* allow multiple ingress hostnames
* fix: make default for ingress.additionalHostnames blank array
* fix: update default values to shrink diff on PR to upstream
* fix: increment chart version to expose feature add
* docs: provide example of ingress.additionalHostnames in README
This release includes the following:
- Update the application version to `1.30.3`
- Add support for multiple features
- Reorganize values to follow vaultwarden's environment vars template
---------
Signed-off-by: Lester Guerzon <guerzon@proton.me>
- allow disabling the admin token
- minor fix to writing initContainers in template
- update example for signupDomains
- add support for push notifications
- rework storage variable and add support for custom attachments dir
- Makefile for testing
- fix logging configuration
- use alpine image
- move resource config to values.yml
- add readiness probe
- add funding button for repo
Signed-off-by: Lester Guerzon <guerzon@proton.me>
* Create ci-helm-lint-test.yml - adds a linter that runs on all new PRs
* Update .github/workflows/ci-helm-lint-test.yml - add --set=domain arg to ct install