cert-manager-cloudflare-config

by EugenMayer

Helm chartv1.1.0App 1.0.0

Cert-Manager config for lets encrypt ACME via Cloudflare (DNS01)

About this chart

WAT

Deploys the configuration needed to run ACME DNS01 based certificates in the Cert-Manager, using Cloudflares API as challenge.

Install

helm repo add eugenmayer https://eugenmayer.github.io/helm-charts/
helm install eugenmayer/coredns-private-dns-fix

Why

Since ClusterIssuer is a CRD you cannot deploy Cert-Manager 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 cert-manager-cloudflare-config with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cert-manager-cloudflare-config 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 chartcert-manager-cloudflare-config is pinned at v1.1.0 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