traefik-default-middlewares

by EugenMayer

Helm chartv0.1.1App 1.0.0

Traefik default middlewares

About this chart

WAT

Deploys default middlewares for traefik routes that can be used by general routes

Install

helm repo add eugenmayer https://eugenmayer.github.io/helm-charts/
helm install eugenmayer/traefik-default-middlewares

Why

Since Middleware is a CRD you cannot deploy Traefik via the helm-chart AND also deploy this configuration since it won't be known in the same deployment (in terraform). It is pragmatic to have a simple config chart deploying that specific CRD, so you can depend on it.

Deploy traefik-default-middlewares with OpenTenant

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