baserow

by Baserow

Helm chartv1.1.3App 2.4.3Verified publisher

The open platform to create scalable databases and applications—without coding.

About this chart

Baserow Helm Chart

Baserow is an open-source no-code database tool and Airtable alternative. It is a modern database tool that allows you to create a database, web-based application, and API without code. It is built on top of Django and Vue.js and is designed to be easily deployed to a platform like Kubernetes.

This chart can have dependencies on other charts, such as PostgreSQL, Redis, Minio, and Caddy. The chart can be configured to use an existing instance of these services or deploy them as part of the Baserow deployment.

Installing the Chart

To install the chart with the release name my-baserow run the following commands:

From repo

helm repo add baserow-chart https://baserow.github.io/baserow-chart
helm install my-baserow baserow-chart/baserow --namespace baserow --create-namespace --values config.yaml

From source code

helm dependency update
helm install my-baserow . --namespace baserow --create-namespace
helm upgrade my-baserow . --namespace baserow

Minimal configuration

Make the following changes to the values file to deploy the Baserow application with the default configuration.

global:
  baserow:
    domain: "your-baserow-domain.com"
    backendDomain: "api.your-baserow-domain.com"
    objectsDomain: "objects.your-baserow-domain.com"

Using existing Postgres and Redis

You can use the following configuration to use an existing Postgres database and Redis cluster.

redis:
  enabled: false

postgresql:
  enabled: false

Add the following configuration to the backendSecrets to use an existing managed database and Redis cluster.

backendSecrets:
  DATABASE_HOST: "my-baserow-baserow-backend-postgresql"
  DATABASE_PORT: "5432"
  DATABASE_NAME: "baserow"
  DATABASE_USER: "baserow"
  DATABASE_PASSWORD: "password"
  REDIS_HOST: "my-baserow-baserow-backend-redis"
  REDIS_PORT: "6379"
  REDIS_PASSWORD: "password"

Inbound email receiver

Enable the email receiver to use the "Start workflow by email" automation trigger. The chart creates a persistent volume for mox, an internal web API service used by the backend, and a LoadBalancer service which exposes SMTP on port 25.

baserow-email-receiver:
  enabled: true

backendConfigMap:
  BASEROW_INBOUND_EMAIL_DOMAIN: inbound.example.com

backendSecrets:
  BASEROW_INBOUND_EMAIL_WEBHOOK_SECRET: replace-with-a-long-random-secret

Point the MX record for inbound.example.com to the external address of the <release>-baserow-email-receiver-smtp service. If the MX record points to a different hostname, like mx.inbound.example.com, set BASEROW_INBOUND_EMAIL_SMTP_HOSTNAME to that hostname in backendConfigMap. The SMTP service type, annotations, port, and persistent storage settings can all be overridden under baserow-email-receiver.

The SMTP service uses externalTrafficPolicy: Local so mox sees the real sender IP, which it needs to evaluate SPF and DMARC correctly. The mox data volume is kept when the release is uninstalled because it holds the webhook retry queue; delete the <release>-baserow-email-receiver PVC manually if you no longer need it. Mox must be started as root, so the email receiver pod is not compatible with namespaces enforcing the restricted Pod Security Standard.

Caddy Ingress Configuration

Caddy is a web server that can be used as an ingress controller. When using Caddy, set the ingress configuration to use Caddy as the ingress controller. Make note of the onDemandAsk configuration, which is used to trigger on-demand TLS certificates. Pointed here to the health check endpoint of caddy itself to always create new certificates. On production workloads set it to the backend api endpoint to check if the domain exists in the database.

caddy:
  enabled: true
  ingressController:
    className: caddy
    config:
      email: "[email protected]"
      proxyProtocol: true
      experimentalSmartSort: false
      onDemandTLS: true
      onDemandAsk: http://:9765/healthz

Autoscaling configuration

For each Baserow component, a HorizontalPodAutoscaler can be configured individually. The following example enables autoscaling on the wsgi backend deployment.

baserow-backend-wsgi:
  autoscaling:
    enabled: true
    minReplicas: 2
    maxReplicas: 10 
    targetCPUUtilizationPercentage: 80
    targetMemoryUtilizationPercentage: 80
      onDemandAsk: "http://my-baserow-baserow-backend-wsgi/api/builder/domains/ask-public-domain-exists/"

AI and Embeddings Configuration

Baserow supports multiple AI providers for generative AI features and the AI assistant. The embeddings service powers semantic search for the AI assistant's documentation lookup feature. For more documentation check the Baserow AI documentation.

Configure providers and models

After deployment, configure shared connections under Admin tools > AI providers, or workspace connections under the workspace's Settings > AI providers. Add models, select their available features, and run Test model. Choose Kuma's default under AI features; AI Fields and AI Agent actions keep their own model selections.

The provider connection/model environment variables are deprecated. Upgrading to Baserow 2.4 imports them once into Admin tools > AI providers, and after that Baserow no longer reads them. See Upgrading to Baserow 2.4. The migrate job must carry the same AI variables as the backend, which it does by default through the shared backend config map and secret. global.baserow.assistantLLMModel is also deprecated but is not imported: Kuma keeps using it until you make a model available to Kuma and select it under AI features. Keep existing settings until the imported configuration is verified, including the rollback window. Vertex AI, and Bedrock through the pod's IAM role, have no equivalent in AI providers; keep their environment configuration for Kuma, as described in the AI assistant guide.

Enable Embeddings Service

Enable the embeddings service for the assistant's documentation lookup feature. This setting remains supported and is separate from provider/model configuration.

baserow-embeddings:
  enabled: true

Different Cloud Providers

On different cloud providers, you may need to configure the Object storage, ingress and Load Balancer differently. Below are some examples of how to configure them.

AWS

S3 Config

When deploying to AWS, you can use the following configuration to use S3 for object storage. Make sure to disable minio as it is not needed.

minio:
  enabled: false

backendConfigMap:
  AWS_STORAGE_BUCKET_NAME: "my-baserow-baserow-backend-bucket"
  AWS_S3_CUSTOM_DOMAIN: "my-baserow-baserow-backend-bucket"
  AWS_S3_REGION_NAME: "us-east-1"
  AWS_S3_ENDPOINT_URL: "https://s3.us-east-1.amazonaws.com/my-baserow-baserow-backend-bucket"

AWS Authentication

AWS authentication can be set by service account or environment variables. Below is an example of setting the AWS credentials using the environment variables.

backendSecrets:
  AWS_ACCESS_KEY_ID: "my-access-key"
  AWS_SECRET_ACCESS_KEY: "my-secret-key"

When running on EKS you can also use a service account with an IAM role and permissions. For the service account, you can use the following configuration. To create the corresponding IAM role, refer to the AWS documentation. https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html

global:
  baserow:
    serviceAccount:
      shared: true
      create: true
      name: baserow
      annotations: {}

Ingress

When deploying to AWS, you can use the following configuration to create a Network Load Balancer. For more information about the annotations, refer to the AWS documentation. https://docs.aws.amazon.com/eks/latest/userguide/network-load-balancing.html

ingress:
  enabled: true

caddy:
  enabled: true
  ingressController:
    className: caddy
    config:
      email: "[email protected]"
      proxyProtocol: true
      experimentalSmartSort: false
      onDemandTLS: true
      onDemandAsk: http://:9765/healthz
  loadBalancer:
    externalTrafficPolicy: "Local"
    annotations:
      service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
      service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
      service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip"
      service.beta.kubernetes.io/aws-load-balancer-healthcheck-protocol: "TCP"
      service.beta.kubernetes.io/aws-load-balancer-alpn-policy: "HTTP2Preferred"

Digital ocean

Ingress

When deploying to Digital Ocean, you can use the following configuration to create a Load Balancer. For more information about the annotations, refer to the Digital Ocean documentation. https://docs.digitalocean.com/products/kubernetes/how-to/add-load-balancers/

ingress:
  enabled: true

caddy:
  enabled: true
  ingressController:
    config:
      email: "[email protected]"
      proxyProtocol: true
      experimentalSmartSort: false
      onDemandTLS: true
      onDemandRateLimitInterval: "2m"
      onDemandRateLimitBurst: 5
      onDemandAsk: http://:9765/healthz
  loadBalancer:
    externalTrafficPolicy: "Local"
    annotations:
      service.beta.kubernetes.io/do-loadbalancer-protocol: "http"
      service.beta.kubernetes.io/do-loadbalancer-algorithm: "round_robin"
      service.beta.kubernetes.io/do-loadbalancer-tls-ports: "443"
      service.beta.kubernetes.io/do-loadbalancer-tls-passthrough: "true"
      service.beta.kubernetes.io/do-loadbalancer-redirect-http-to-https: "true"
      service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"

Parameters

Global parameters

NameDescriptionValue
global.baserow.imageRegistryGlobal Docker image registrybaserow
global.baserow.imagePullSecretsGlobal Docker registry secret names as an array[]
global.baserow.image.tagGlobal Docker image tag2.4.3
global.baserow.serviceAccount.sharedSet to true to share the service account between all application components.true
global.baserow.serviceAccount.createSet to true to create a service account to share between all application components.true
global.baserow.serviceAccount.nameConfigure a name for service account to share between all application components.baserow
global.baserow.serviceAccount.annotationsConfigure annotations for the shared service account.{}
global.baserow.serviceAccount.automountServiceAccountTokenAutomount the service account token to the pods.false
global.baserow.backendConfigMapConfigure a name for the backend configmap.backend-config
global.baserow.backendSecretConfigure a name for the backend secret.backend-secret
global.baserow.frontendConfigMapConfigure a name for the frontend configmap.frontend-config
global.baserow.fullnameOverrideName prefix for the Baserow resources, e.g. "baserow" names the components "baserow-backend-wsgi", "baserow-frontend", etc. Defaults to "-baserow".""
global.baserow.sharedConfigMapConfigure a name for the shared configmap.shared-config
global.baserow.envFromConfigure secrets or configMaps to be used as environment variables for all components.[]
global.baserow.domainConfigure the domain for the frontend application.cluster.local
global.baserow.backendDomainConfigure the domain for the backend application. Set it to the same value as global.baserow.domain to serve the API under that domain's /api/ path instead.api.cluster.local
global.baserow.objectsDomainConfigure the domain for the external facing minio api.objects.cluster.local
global.baserow.assistantLLMModelDeprecated. Select the Kuma model under Admin tools > AI providers > AI features. Retained as an environment fallback; explicit disables prevent fallback.""
global.baserow.applicationBuilderDomainsExtra domains routed to the frontend, for Application Builder

Deploy baserow with OpenTenant

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