Skip to content

Vaultwarden

vaultwarden logo

Version: 0.14.1 Type: application AppVersion: 1.32.3-alpine

Unofficial Bitwarden compatible server written in Rust.

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.22.0-0

Dependencies

Repository Name Version
https://bjw-s.github.io/helm-charts common 1.5.1
https://charts.bitnami.com/bitnami mariadb 16.0.2
https://charts.bitnami.com/bitnami postgresql 14.0.5

Installing the Chart

To install the chart with the release name vaultwarden

helm install vaultwarden oci://ghcr.io/gabe565/charts/vaultwarden

Traditional

helm repo add gabe565 https://charts.gabe565.com
helm repo update
helm install vaultwarden gabe565/vaultwarden

Uninstalling the Chart

To uninstall the vaultwarden deployment

helm uninstall vaultwarden

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the bjw-s common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install vaultwarden \
  --set env.TZ="America/New York" \
    gabe565/vaultwarden

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install vaultwarden gabe565/vaultwarden -f values.yaml

Custom configuration

The Vaultwarden chart requires the /data folder to exist. In order to provide this, some type of storage needs to be implemented. For testing purposes, the following config snippet will work:

persistence:
  data:
    enabled: true
    type: emptyDir

Values

Important: When deploying an application Helm chart you can add more values from the bjw-s common library chart here

Key Type Default Description
controller.strategy string "RollingUpdate" Set the controller upgrade strategy
env object See values.yaml environment variables. [ref]
env.ADMIN_TOKEN string "" Token for the admin interface, preferably use a long random string. If not set, the admin panel is disabled. [ref]
image.pullPolicy string "IfNotPresent" image pull policy
image.repository string "ghcr.io/dani-garcia/vaultwarden" image repository
image.tag string "1.32.3-alpine" image tag
ingress.main object See values.yaml Enable and configure ingress settings for the chart under this key.
mariadb object See values.yaml Enable and configure mariadb database subchart under this key. For more options see mariadb chart documentation
persistence.data object See values.yaml Configure persistence settings for the chart under this key.
podSecurityContext.fsGroup int 65534 Volume binds will be granted to nobody group
podSecurityContext.runAsGroup int 65534 Run as nobody group
podSecurityContext.runAsUser int 65534 Run as nobody user
postgresql object See values.yaml Enable and configure postgresql database subchart under this key. For more options see postgresql chart documentation
service.main object See values.yaml Configures service settings for the chart. Normally this does not need to be modified.

Autogenerated from chart metadata using helm-docs