Secure defaults. Non-root, read-only root filesystem, no capabilities, no service-account token, and public signups off. Meets the restricted Pod Security Standard.
Data you keep. SQLite on a PVC retained across helm uninstall, with a Recreate rollout so only one Pod writes to it.
Credentials stay in Secrets. External PostgreSQL or MySQL, SMTP and the admin token are read from existing Kubernetes Secrets.
HTTPS your way. Standard Ingress or Gateway API HTTPRoute, plus an optional NetworkPolicy.
Validated values. A JSON schema rejects typos and unsafe combinations before anything reaches the cluster.
Verifiable releases. Signed Helm provenance and cosign-signed OCI artifacts from pinned, scanned CI.
Install and verify
You need Kubernetes 1.30+, Helm 3.8+ or 4, and a default StorageClass. To reuse a writable PVC instead, set persistence.existingClaim.
Default install: one Pod with SQLite on a 5Gi PVC that is kept when you uninstall, a private ClusterIP Service reached by port forwarding, and public signups disabled.
Open localhost:8080 while the port forward runs. Public registration is disabled by default. Read how to create the first account and set your public HTTPS origin before giving remote clients access.
Install from GHCR
Every release is also published as an OCI artifact, so no repository needs to be added.
Every chart archive carries Helm provenance signed with key BB3DACD8392CCF518243C1D00418024E75ABC2FC, and OCI artifacts are signed with keyless cosign. Verification steps
Start with private SQLite or choose a values file for your cluster. Copy the YAML into vaultwarden.values.yaml, or download the file and rename it. Replace the placeholders and preview the manifests before installing.
Combine one routing example with your database or storage overrides using multiple -f flags. Helm applies later files over earlier ones. Browse all keys and defaults.
Private SQLite installation
Start one Vaultwarden Pod and store SQLite and vault files on a retained claim. Access it with kubectl port-forward.
Prerequisites
A default StorageClass that provisions writable volumes.
What to change
Set persistence.size for your vault and attachments. Keep this release private while creating the first account.
# The PVC must already exist in this Helm release's namespace.
# For a migration, stop the old Vaultwarden workload before attaching its PVC.
persistence:
enabled: true
existingClaim: vaultwarden-data
External PostgreSQL with SMTP and admin access
Use a Secret-backed database URL and SMTP credentials while keeping vault files on a separate existing PVC.
Prerequisites
PostgreSQL, an SMTP relay, the data PVC, and the database, SMTP, and admin Secrets in the release namespace.
What to change
Replace the claim, Secret names, relay hostname, and sender. The default keys are DATABASE_URL, SMTP_USERNAME, SMTP_PASSWORD, and ADMIN_TOKEN. Remove the smtp or adminToken block if you do not need it.
# For clusters such as OpenShift where policy assigns the Pod UID and group.
# Confirm the storage driver makes /data writable by the assigned identity.
podSecurityContext:
runAsUser: null
runAsGroup: null
fsGroup: null
fsGroupChangePolicy: null
# This policy may also reject the smoke test Pod's fixed UID.
tests:
enabled: false
Existing Secrets
The chart never creates Secrets. It reads these keys from Secrets you create in the release namespace; each key name can be changed with the matching *Key value.
Keep the single quotes, because the hash and URLs contain $ and ?. Restart the Pod after changing a Secret.
Upgrade, uninstall and migrate
Upgrade
Back up the database and /data, read the changelog and the upgrade notes, then run helm upgrade with your values file and an explicit --version. The Deployment uses Recreate, so expect a short interruption.
The data PVC is kept. Reinstall on it with persistence.existingClaim, or back it up and delete it with kubectl -n vaultwarden delete pvc vaultwarden.
Move an existing vault
The migration guide covers reusing an existing PVC, preserving credentials, testing a restore and rolling back. SQLite cutover and independent restore were tested with synthetic data from Guerzon 0.46.4 and Gissilabs 1.4.2.
Community
vaultwarden-helm is MIT-licensed and developed in the open. Issues, examples and pull requests are welcome.