traefik-default-trusted-proxy-ips

by EugenMayer

Helm chartv0.1.7App 1.0.0

Traefik default trusted proxies

About this chart

WAT

Currently based on https://github.com/zekihan/traefik-real-ip

Install

Be sure to deploy the https://github.com/zekihan/traefik-real-ip within traefik

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-trusted-proxy-ips 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-trusted-proxy-ips 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-trusted-proxy-ips is pinned at v0.1.7 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