HOMELAB-1524: fix(cert): reflect wildcard cert to headscale namespace #498
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Homelab/infra-core!498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "plane/HOMELAB-1524-cert-reflector"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Promotes the wildcard-certificate reflector allowlist from
livetomain: addsheadscale, dropsai(already the state on live via HOMELAB-1327 / HOMELAB-1457).Why
The prod kustomization pins infra-core at
ref=main, so this fix never reached the cluster. Headscale's wildcard cert copy was a stale manual apply that expired 2026-08-14. The 2026-09-03 power outage exposed it:KIMI_API_KEYerror)tailscale-subnet-routerCrashLoopBackOffValid cert was manually re-applied as a stopgap (expires Oct 13). Without this PR, the copy goes stale again at the next cert-manager renewal (~Sept 13).
After merge
cert-manager-configsyncs the Certificate; cert-manager updates source secret annotationsheadscale/wildcard-aaron-reynoza-org-tlscopy so reflector recreates it under managementTicket: HOMELAB-1524
AI Review (HOMELAB-1524)
Verdict: PASS-WITH-NITS
Acceptance Criteria (HOMELAB-1524)
wildcard-certificate.yaml(addsheadscale, dropsai)core/manifests/cert-manager/wildcard-certificate.yaml:23-24— bothreflection-allowed-namespacesandreflection-auto-namespacesnow listheadscaleand no longer listaicert-manager-configsyncs and reflector manages headscale copyheadscale/wildcard-aaron-reynoza-org-tls)tailscale-subnet-routerstays Running; mgmt VM DNS + tailscale healthyDesign Doc Citations
*.aaron.reynoza.orgcert reflected into theheadscalenamespace and mounted at/tls" for the LB at10.10.10.229:4433. This PR restores exactly that documented behavior, which broke because prod pins infra-core atref=main.Open Issues
cilium-secrets(HOMELAB-478 loop), butcilium-secretswas never in either list; the comment guards against a hypothetical future edit. Harmless and arguably useful documentation, but a reader may infer it was removed. Not blocking.airemoval: droppingaimeans reflector will garbage-collect the existing auto-reflected copy in theainamespace on next sync. Ticket scope explicitly sanctions this ("adds headscale, drops ai"), but confirm nothing inaistill mounts the wildcard cert before merge.Diff itself is correct, minimal, and matches the ticket exactly. Merge after CI, then execute the two post-merge verification/deletion steps before closing HOMELAB-1524.
Powered by Kimi k3 · advisory.