metabase

by dariobit

Helm chartv0.0.1Verified publisher

Metabase chart

About this chart

metabase

Helm chart to create a Metabase instance.

Introduction

This chart defines Metabase with commonly used Kubernetes resources using the Helm package manager.

Essential resources

These resources will always be provisioned, as they are essential to define what we consider an "application".

  • deployment
  • service

Togglable resources

These resources can be configured or totally skipped depending on your business needs.

  • configmap
    • The attributes defined in config will automatically be loaded as environment variables to the target pod.
  • externalsecret -> secret
    • An external secret can be defined with the externalSecret setting. Its generated secret's data values will be loaded as environment variables to the target pod.
  • ingress
    • Rules to open external access to the workload. Can be defined with ingress.
  • serviceaccount
    • Configure a service account for the pods. Defined with serviceAccount.

Installing the Chart

Add the parcellab charts repo:

helm repo add parcellab https://charts.parcellab.dev

Install the chart:

helm install --name my-metabase-name parcellab/metabase

Uninstalling the Chart

To delete the deployed chart:

helm uninstall my-metabase-name

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

Updating the Chart

You can update the chart values and trigger a pod reload. If the configmap changes, it will automatically retrieve the new values.

helm upgrade -f values.yaml my-metabase-name parcellab/metabase

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.0.1 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