Repository navigation
Preview TLS: opt-in wildcard mode (#276) - #277
Conversation
🧊 Thermo-nuclear review (round 1) — REQUESTCHANGES ·
|
- traefikLabelKeys derives wildcard domain keys structurally instead of validating a placeholder hostname (drops the hidden throw path) - TraefikTls models wildcard-implies-certResolver; dead arm removed - single parseBooleanEnv for the gateway boolean knobs - drop redundant suffix check and unreachable non-Error fallback
🧊 Thermo-nuclear review (round 2) — APPROVE ·
|
Closes #276
Why the change
Per-preview ACME issuance spends the CA's 50-certificates-per-domain weekly budget until no new preview gets HTTPS, so an opt-in gateway mode declares one wildcard per preview suffix and every preview host becomes a certificate-store hit with zero new orders per deploy.
Special things to note
SPROUT_TRAEFIK_WILDCARD_TLSunset, emitted labels are byte-identical to today and no existing deployment changes behaviour.SPROUT_TRAEFIK_CERTRESOLVER(boot fails naming it) and that resolver must be DNS-01 — a wildcard can never validate over HTTP-01, and boot logs a warning naming the docs section because the challenge type is outside sprout's view.Change outline
New gateway knob flowing into the existing TLS policy seam:
Label emission per router (suffix = hostname minus first label):
Fail-fast control flow:
Shallow file tree with responsibilities: