baikal

by QuenchWorks

Helm chartv0.0.5App 0.13.0GPL-3.0-onlyVerified publisher

Baikal: a lightweight CalDAV and CardDAV server with a web admin, with the config, database and an optional first user created at install and the data on a volume. Hardened by QuenchWorks: nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Baikal

Hardened Baikal: a lightweight CalDAV and CardDAV server on sabre/dav with a web admin, on SQLite. The image runs the release on Wolfi php-8.5-fpm and QuenchWorks' nginx; it runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.

Install

helm install dav oci://ghcr.io/quenchworks/charts/baikal --set davUser.username=alice
kubectl get secret dav-baikal -o jsonpath='{.data.dav-password}' | base64 -d   # alice's DAV password

The install wizard never shows: the chart writes the config, creates the database and, with davUser.username, a first user with a default calendar and address book. Add more users in /admin/.

Configuration

KeyDefaultWhat it does
adminPasswordgeneratedThe /admin password (used once, on the first start)
davUser.username, davUser.email, davUser.passwordnone, generated passwordAn optional first DAV user
davAuthTypeDigestHTTP auth for clients: Digest or Basic (use Basic with TLS)
timezoneUTCThe server time zone
tls.enabledfalseHTTPS on 8080 (existing Secret, cert-manager or a Helm-made CA)
persistence.size1Giconfig/ and the SQLite database

Verify the image

cosign verify ghcr.io/quenchworks/images/baikal \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy baikal with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has baikal 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 chartbaikal is pinned at v0.0.5 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