diff --git a/docs/dns.md b/docs/dns.md index 2bb2d37..bf6ca18 100644 --- a/docs/dns.md +++ b/docs/dns.md @@ -102,6 +102,7 @@ dig aqi.leeworks.dev +short dig docs.leeworks.dev +short dig status.leeworks.dev +short dig registry.leeworks.dev +short +dig grafana.leeworks.dev +short # Check TLS certificates (once services are deployed) curl -v https://zip.leeworks.dev/health 2>&1 | grep -E "SSL|certificate|issuer" @@ -125,7 +126,7 @@ The following actions require human operator access to the DNS provider: 1. Log into the DNS provider managing `leeworks.dev` 2. Find the cluster ingress IP: `kubectl get svc -n ingress-nginx ingress-nginx-controller` -3. Create/update the 6 A records listed in the table above +3. Create/update the 7 A records listed in the table above 4. Verify propagation: `dig +trace zip.leeworks.dev` DNS propagation typically takes 5–60 minutes. @@ -141,4 +142,5 @@ DNS propagation typically takes 5–60 minutes. - [ ] `docs.leeworks.dev` → DNS record created - [ ] `status.leeworks.dev` → DNS record created - [ ] `registry.leeworks.dev` → DNS record created -- [ ] TLS certificates issued and valid for all 6 subdomains +- [ ] `grafana.leeworks.dev` → DNS record created +- [ ] TLS certificates issued and valid for all 7 subdomains diff --git a/docs/operator-runbook.md b/docs/operator-runbook.md index 727dc08..06ce502 100644 --- a/docs/operator-runbook.md +++ b/docs/operator-runbook.md @@ -188,7 +188,7 @@ kubectl create secret generic gitea-image-automation-token \ ## Phase 4 — DNS for API services (issue #33) -Add DNS A records for all six leeworks.dev subdomains (all point to the same +Add DNS A records for all seven leeworks.dev subdomains (all point to the same cluster ingress IP): | Hostname | Target | @@ -199,6 +199,16 @@ cluster ingress IP): | `docs.leeworks.dev` | `` | | `grafana.leeworks.dev` | `` | | `status.leeworks.dev` | `` | +| `registry.leeworks.dev` | `` | + +Verify DNS propagation: + +```bash +for host in zip holidays aqi docs grafana status registry; do + echo -n "${host}.leeworks.dev: " + dig ${host}.leeworks.dev +short +done +``` cert-manager will obtain Let's Encrypt certificates automatically once DNS propagates (typically minutes, up to 48 h).