bitwarden-rs

by Helm

Helm chartv0.1.7App 1.27.0

A Bitwarden server API implementation written in Rust compatible with upstream Bitwarden clients

About this chart

bitwarden-rs

This is a helm chart for bitwarden-rs

TL;DR;

helm install --set server_name=matrix.example.org cronce/bitwarden-rs

Installing the Chart

To install the chart with the release name my-release:

helm install --name my-release cronce/bitwarden-rs

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release --purge

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

Configuration

The following tables lists the configurable parameters of the bitwarden-rs chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repositoryvaultwarden/server
image.tagImage tag. Possible values listed here.1.24.0-alpine
image.pullPolicyImage pull policyIfNotPresent
extraLabelsAdditional labels to apply to all created resources{}
replicasNumber of replica pods to spawn2
service.annotationsAnnotations for Service resource{}
service.typeType of service to deployClusterIP
service.clusterIPClusterIP of service; if blank, it will be selected at random from the cluster CIDR range""
service.ports.httpPort to expose HTTP service80
service.ports.websocketPort to expose websocket service3012
service.externalIPsExternal IPs for service[]
service.loadBalancerIPLoad balancer IP""
service.loadBalancerSourceRangesList of IP CIDRs allowed to access the load balancer (if supported)[]
ingress.enabledWhether or not to deploy the Ingress resourcefalse
ingress.classIngress class (included in annotations)``
ingress.annotationsIngress annotations{}
ingress.pathIngress path/
ingress.hostsIngress accepted hostnames[bitwarden]
ingress.tlsIngress TLS configuration[]
persistence.enabledUse persistent volume to store config/datatrue
persistence.sizeSize of persistent volume claim1Gi
persistence.existingClaimUse an existing PVC to persist config``
persistence.storageClassType of persistent volume claim``
persistence.accessModePVC access modeReadWriteMany
resourcesCPU/Memory resource requests/limits{}
nodeSelectorNode labels for pod assignment{}
tolerationsToleration labels for pod assignment[]
affinityAffinity settings for pod assignment{}

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

helm install --name my-release \
	--set ingress.enabled=true \
	cronce/bitwarden-rs

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

helm install --name my-release -f values.yaml cronce/bitwarden-rs

Read through the values.yaml file.

Deploy bitwarden-rs with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has bitwarden-rs on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbitwarden-rs is pinned at v0.1.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply