Files
home-network-k3s-impl/platform/cert-manager
jakman85andClaude Opus 4.8 275ac466b2 wire Cloudflare DNS token secrets + exempt *.sops.yaml from yamllint
- Rename the committed encrypted secrets to canonical cloudflare-api-token.sops.yaml
  (cert-manager + external-dns namespaces) and uncomment the resource lines in both
  kustomizations, so cert-manager DNS-01 + ExternalDNS get the token at reconcile.
- Exempt **/*.sops.yaml from ci/yamllint.yaml: SOPS re-emits encrypted files with its
  own indentation + long ENC[...] lines (never hand-edited), which was failing the lint
  gate on main after the secrets were committed. Same treatment as **/vault.yml.

Both Secrets confirmed present + encrypted in the platform build; gate PASS.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-08-17 00:35:45 -05:00
..

platform/cert-manager

cert-manager — trusted TLS via Let's Encrypt, ACME DNS-01 (Cloudflare).

What this stub is

Flux HelmRelease + two ClusterIssuers (letsencrypt-staging, letsencrypt-prod — both mandated by ADR-0006). DNS-01 against the keithjackson.dev zone validates domain control without exposing the service (works for internal-only services, R-TLS-03) and enables the wildcard *.home.keithjackson.dev cert defined in ../gateway.

Contract (Issuer + Gateway TLS)

Part of the "Issuer + Gateway TLS" interface (roadmap/workstreams.md, WS-SEC + WS-NET): the wildcard Certificate (in gateway/) references the issuer named by ${ACME_CLUSTER_ISSUER} and its secret is consumed by the Gateway HTTPS listener.

Secrets

The Cloudflare API token is referenced by name (cloudflare-api-token) and committed SOPS-encrypted (WS-SEC, OQ-4, ADR-0007). No plaintext token in git.

TODO (later phases)

  • OQ-4 (resolved to Cloudflare): WS-SEC provisions the scoped Cloudflare token, SOPS-encrypted.
  • Set the ACME account email.
  • Phase 2 (WS-SEC): issue the wildcard cert; prove a trusted, non-self-signed cert at *.home.keithjackson.dev (R-TLS-01/03, Phase-2 exit gate).