Status: Done
As an SRE/DevOps engineer, I want wildcard DNS configured for the preview domain, So that PR environments are automatically accessible via unique URLs.
- Wildcard A record created:
*.k8s-ee.genesluna.dev→168.138.151.63 - DNS propagation verified
- Test subdomain resolves correctly (e.g., test.k8s-ee.genesluna.dev)
- TLS certificate strategy defined (Traefik ACME with DNS-01 via Cloudflare)
Must - Critical for MVP
2
- US-001: Provision VPS Server
- US-002: Install k3s (for Traefik)
| Record | Type | Value | Proxy |
|---|---|---|---|
*.k8s-ee |
A | 168.138.151.63 |
OFF |
k8s-ee |
A | 168.138.151.63 |
OFF |
DNS Provider: Cloudflare
- Strategy: Traefik built-in ACME with DNS-01 challenge
- Provider: Cloudflare (API token stored in
cloudflare-api-tokensecret) - Issuer:
letsencrypt-prod- Let's Encrypt production certificates
| File | Purpose |
|---|---|
k8s/traefik/traefik-config.yaml |
HelmChartConfig for Traefik ACME |
To enable TLS on an IngressRoute, add:
spec:
tls:
certResolver: letsencrypt-prod
domains:
- main: "*.k8s-ee.genesluna.dev"- Cloudflare proxy must be OFF for DNS-01 challenges to work
- Wildcard certificate covers all PR subdomains automatically
- Certificates are stored in Traefik's persistent volume at
/data/acme.json