vaultwarden-helm

Values reference

Configuration keys, defaults, and accepted options for chart 1.0.0.

Download default values · Browse example overrides

Application and image

KeyDefaultType or optionsDescription
nameOverride"" stringOverride the workload base name used in resource names and selector labels. Keep the same value when upgrading.
fullnameOverride"" stringOverride the full resource name. Keep the same value when upgrading an existing release.
commonLabels{} objectAdditional labels for the resources rendered by this chart.
replicaCount1 integerNumber of Vaultwarden Pods. Keep one replica for normal operation or use zero for offline maintenance.
image.repository"docker.io/vaultwarden/server" stringContainer registry and repository for Vaultwarden.
image.tag"" stringVaultwarden image tag. Leave empty to use the chart application version. Pin a tag when migrating an existing installation.
image.digest"" stringOptional SHA-256 image digest. A digest takes precedence over the image tag.
image.pullPolicy"IfNotPresent" "Always" / "IfNotPresent" / "Never"When Kubernetes should pull the Vaultwarden image.
imagePullSecrets[] arrayNames of existing image registry Secrets in the release namespace, supplied as Kubernetes local object references.

Vaultwarden and credentials

KeyDefaultType or optionsDescription
vaultwarden.domain"http://localhost:8080" stringClient-facing origin, including the scheme. Use the exact public HTTPS origin when enabling an Ingress or HTTPRoute.
vaultwarden.bindAddress"0.0.0.0" stringAddress Rocket listens on inside the Pod. Choose :: for an IPv6-only Pod network.
vaultwarden.signupsAllowedfalse booleanAllow public account registration. WARNING: anyone who can reach the service can create an account. Enable only while bootstrapping the first user.
vaultwarden.invitationsAllowedtrue booleanAllow organization administrators to invite users when public registration is disabled.
vaultwarden.webVaultEnabledtrue booleanServe Vaultwarden’s browser UI. Leave enabled for browser-based access.
vaultwarden.adminToken.existingSecret"" stringName of an existing Secret holding the admin token as an Argon2 PHC hash (generate one with vaultwarden hash). Leave empty to disable the admin UI.
vaultwarden.adminToken.key"ADMIN_TOKEN" stringKey containing the admin token in the existing Secret.
database.type"sqlite" "sqlite" / "postgresql" / "mysql"Database backend. SQLite stores the database under /data. PostgreSQL and MySQL/MariaDB require an external service and a Secret-backed URL.
database.existingSecret"" stringName of the existing Secret holding the PostgreSQL or MySQL/MariaDB connection URL, such as postgresql://user:password@host:5432/vaultwarden.
database.key"DATABASE_URL" stringKey holding the connection URL in the database Secret.
smtp.enabledfalse booleanSend outgoing email through an SMTP relay. Provide the host and sender address when enabled.
smtp.host"" stringHostname of the SMTP relay. Required when SMTP is enabled.
smtp.from"" stringSender email address accepted by the relay. Required when SMTP is enabled.
smtp.security"starttls" "starttls" / "force_tls" / "off"SMTP transport security mode supported by Vaultwarden. The default mode is starttls. WARNING: off sends credentials and mail unencrypted.
smtp.portnull null / integerExplicit SMTP port. Null lets Vaultwarden select its default for the configured security mode.
smtp.existingSecret"" stringOptional existing Secret containing SMTP credentials. Leave empty for a relay that does not require authentication.
smtp.usernameKey"SMTP_USERNAME" stringKey containing the username in the SMTP credentials Secret.
smtp.passwordKey"SMTP_PASSWORD" stringKey containing the password in the SMTP credentials Secret.
env{} objectNon-sensitive Vaultwarden environment overrides. Values are converted to strings. Use Secret references for credentials.
extraEnv[] arrayAdditional native Kubernetes env entries, including Secret and ConfigMap key references.
envFrom[] arrayNative Kubernetes envFrom entries that import variables from existing Secrets or ConfigMaps.

Storage

KeyDefaultType or optionsDescription
persistence.enabledtrue booleanKeep /data on a PVC. WARNING: when disabled, /data is an emptyDir and every vault, attachment and signing key is lost when the Pod is replaced.
persistence.existingClaim"" stringName of an existing PVC in the release namespace. The chart mounts this claim without managing its lifecycle.
persistence.storageClassnull string / nullStorageClass for a new claim. Null selects the cluster default. An empty string explicitly requests no StorageClass.
persistence.accessModes["ReadWriteOnce"] arrayKubernetes access modes requested for a new data claim. Use a mode supported by the storage driver.
persistence.size"5Gi" stringRequested capacity for a chart-created PVC. Changing this value does not resize an existing claim on storage that disallows expansion.
persistence.retaintrue booleanKeep the chart-created PVC after Helm uninstall. Backups are still required.
persistence.annotations{} objectAdditional annotations on the PVC created by the chart.
extraVolumes[] arrayAdditional Kubernetes volumes for configuration, certificates, or CSI Secret mounts.
extraVolumeMounts[] arrayAdditional Vaultwarden container mounts. Give volumes and mount paths unique names.

Service and routing

KeyDefaultType or optionsDescription
service.type"ClusterIP" "ClusterIP" / "NodePort" / "LoadBalancer"Service exposure type. Keep ClusterIP when an Ingress or Gateway routes traffic to the Service.
service.port80 integerPort exposed by the Kubernetes Service. Ingress and HTTPRoute forward to this Service port.
service.targetPort8080 integerUnprivileged HTTP and WebSocket port on the Vaultwarden container.
service.nodePortnull null / integerFixed node port for a NodePort or LoadBalancer Service. Leave null to use Kubernetes allocation when applicable.
service.annotations{} objectAnnotations on the Service for integrations such as managed load balancers.
service.spec{} objectExtra native Service fields such as ipFamilies or externalTrafficPolicy. The chart supplies the type, selector, and ports.
ingress.enabledfalse booleanCreate a standard Kubernetes Ingress. Requires an Ingress controller and a public HTTPS domain.
ingress.className"" stringName of an installed IngressClass. Leave empty to let the cluster select its default class.
ingress.host"" stringOptional Ingress host override. Leave empty to use the hostname from vaultwarden.domain.
ingress.annotations{} objectController-specific Ingress annotations, such as a certificate issuer.
ingress.tls.secretName"" stringName of the TLS Secret in the release namespace. Leave empty when HTTPS terminates upstream.
httpRoute.enabledfalse booleanCreate a Gateway API HTTPRoute for an existing HTTPS Gateway listener.
httpRoute.annotations{} objectAdditional annotations on the Gateway API HTTPRoute.
httpRoute.hostnames[] arrayHostnames the HTTPRoute accepts. An empty list uses the hostname from vaultwarden.domain.
httpRoute.parentRefs[] arrayGateway listener references. Include the Gateway namespace and listener sectionName when needed.
networkPolicy.enabledfalse booleanCreate a NetworkPolicy for Vaultwarden Pods. Enforcement requires a compatible CNI.
networkPolicy.spec{} objectNetworkPolicy rules. The chart supplies the workload selector. Include policyTypes and allow the proxy and Helm test traffic as appropriate.

Pod identity and scheduling

KeyDefaultType or optionsDescription
serviceAccount.createtrue booleanCreate a ServiceAccount for this release.
serviceAccount.name"" stringCustom ServiceAccount name. With creation disabled, references an existing account or uses the namespace default.
serviceAccount.automountServiceAccountTokenfalse booleanMount Kubernetes API credentials in the Pod. Vaultwarden does not normally need them.
serviceAccount.annotations{} objectAdditional annotations on the ServiceAccount created by this chart.
resources{"requests":{"cpu":"50m","memory":"128Mi"},"limits":{"memory":"512Mi"}} objectNative Kubernetes CPU and memory requests and limits for Vaultwarden.
podSecurityContext{"runAsNonRoot":true,"runAsUser":1000,"runAsGroup":1000,"fsGroup":1000,"fsGroupChangePolicy":"OnRootMismatch","seccompProfile":{"type":"RuntimeDefault"}} objectPod identity and filesystem group. Match the effective UID/GID and volume permissions when reusing a claim.
securityContext{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"capabilities":{"drop":["ALL"]}} objectSecurity settings applied to the Vaultwarden container, including dropped capabilities and read-only root filesystem.
podAnnotations{} objectExtra Pod template annotations. A changed annotation can trigger a rollout.
podLabels{} objectExtra Pod template labels. The chart preserves its workload selector labels.
nodeSelector{} objectNode labels that must match for Kubernetes to schedule the Pod.
tolerations[] arrayNative Kubernetes tolerations for node taints.
affinity{} objectNative node and Pod affinity or anti-affinity rules.
priorityClassName"" stringName of an existing PriorityClass for the Pod.
terminationGracePeriodSeconds30 integerSeconds Kubernetes allows the Pod to stop cleanly.

Health checks

KeyDefaultType or optionsDescription
startupProbe{"httpGet":{"path":"/alive","port":"http"},"periodSeconds":5,"failureThreshold":30} object / nullKubernetes startup probe. Defaults to /alive. Set null to disable it.
readinessProbe{"httpGet":{"path":"/alive","port":"http"},"periodSeconds":10} object / nullKubernetes readiness probe. Defaults to /alive. Set null to disable it.
livenessProbe{"httpGet":{"path":"/alive","port":"http"},"periodSeconds":30} object / nullKubernetes liveness probe. Defaults to /alive. Set null to disable it.
tests.enabledtrue booleanRender a Helm test that checks the Vaultwarden Service health endpoint from inside the cluster.
tests.image"docker.io/busybox:1.37.0" stringImage for the Helm test Pod. It must provide wget on its executable search path.