decap-cms

by m11s

Helm chartv0.5.2App 0.2.11-s3Verified publisher

Deploy a multi-tenant Decap CMS with optional S3 or MinIO uploads, served by path prefix

About this chart

decap-cms

Helm chart for running the m11s multi-tenant Decap CMS image.

The chart stores tenant configuration in tenants.json, mounts it into the pod, and the image generates one /admin/config.yml per hostname at startup.

Example

tenants:
  - slug: example
    gitlabRepo: example/products/site
    gitlabBranch: main
    gitlabAppId: xxx
    uploadUrl: https://proxy.example.com/upload
    postsFolder: website/src/content/posts
  - slug: blog
    gitlabRepo: example/products/blog
    gitlabBranch: main
    gitlabAppId: yyy
    uploadUrl: https://proxy-blog.example.com/upload

httpRoute:
  enabled: true
  parentRefs:
    - name: public
      namespace: gateway

postsFolder is relative to the Git repository root and defaults to posts.

Existing ConfigMap

existingTenantsConfigMap: decap-cms-tenants

The ConfigMap must contain a tenants.json key.

Existing PVC

existingTenantsPersistentVolumeClaim: decap-cms-tenants

The PVC must contain a tenants.json file at its root.

Deploy decap-cms with OpenTenant

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