metabase

by Das Meta

Helm chartv0.1.0App 0.63.1

Metabase deployment built on the DasMeta base chart

About this chart

Metabase

Metabase is the default visualisation provider for the data-analytics platform. This chart is a thin wrapper around the published dasmeta/base chart; it deploys Metabase only and does not create its application database, users, grants, DNS, ingress controller, or secrets.

Prerequisites

  • A PostgreSQL application database and an application user, provisioned outside this chart.
  • A Kubernetes Secret containing Metabase runtime configuration. At minimum it must contain MB_DB_TYPE=postgres and MB_DB_CONNECTION_URI.
  • An ingress controller and DNS record if public access is enabled.

Install

helm repo add dasmeta https://dasmeta.github.io/helm
helm upgrade --install metabase dasmeta/metabase \
  --namespace analytics --create-namespace \
  --version 0.1.0 \
  -f examples/metabase/minimal.yaml

The example references example-metabase-runtime; create it through the platform secret-management flow before installing. Do not place credentials in Helm values.

Key values

All application values are nested under base because this chart depends on dasmeta/base.

KeyPurpose
base.envFromReferences the Secret containing MB_* runtime settings.
base.ingressEnables and configures external access.
base.resourcesConfigures Metabase resource requests and limits.
base.fullnameOverrideProvides a stable service name.

Validate locally

From the repository root:

helm template metabase charts/metabase -f examples/metabase/minimal.yaml

Deploy metabase with OpenTenant

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