cheeztv: terminate public cheeztv.unkin.net TLS with the LE *.unkin.net wildcard #417
Reference in New Issue
Block a user
Delete Branch "benvin/cheeztv-le-wildcard"
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?
why: cheeztv.unkin.net needs a publicly-trusted cert; DNS-01 via the delegated acme.unkin.net zone is now working (staging wildcard verified end-to-end in ~70s). A single centrally-managed wildcard avoids per-host CNAMEs and LE duplicate-order rate limits.
Reworked per review: the .unkin.net LE wildcard is now a single centrally-managed Certificate (wildcard-unkin-net) in the cert-manager namespace, carrying emberstack reflector source annotations via spec.secretTemplate.annotations so its secret is auto-reflected into cheeztv (append future consumers to the comma-separated reflection--namespaces lists). Dropped the per-namespace cheeztv Certificate and pointed the public cheeztv gateway listener at the reflected wildcard-unkin-net-tls.
Re-review of
00ea8af: the rework matches the requested centrally-managed design.Verified against the diff/repo tree at head:
apps/base/cert-manager/certificate_wildcard-unkin-net.yaml— Certificatewildcard-unkin-netin nscert-manager,dnsNames: ["*.unkin.net"],issuerRefClusterIssuerletsencrypt(confirmed PROD:acme-v02.api.letsencrypt.org, not staging),secretName: wildcard-unkin-net-tls.secretTemplate.annotationsreflector keys are spelled correctly per the emberstack convention:reflection-allowed,reflection-allowed-namespaces,reflection-auto-enabled,reflection-auto-namespaces, all scoped tocheeztv.apps/base/cert-manager/kustomization.yaml.apps/base/cheeztv/certificate.yamland its kustomization entry are gone (net no-op vsmain, confirmed viacontentsAPI at head — 404 on the file, kustomization has no reference).cheeztvgateway listener now pointscertificateRefsatwildcard-unkin-net-tls; thecheeztv-internalgateway is untouched, still onvault-issuer/cheeztv-internal-tls.*.unkin.netdnsName and exactly one Certificate on ClusterIssuerletsencrypt(prod) — no stray per-namespace prod wildcard order remains.00ea8af: kubeconform, pre-commit, vector-test all success.One non-blocking nit: the PR body (Why/How) still describes the old, abandoned design — a per-namespace
cheeztv-wildcard-tlsCertificate living inapps/base/cheeztv/certificate.yaml, which no longer exists. Only the comment thread documents the actual rework. Since this repo's default merge style is squash, the PR title+body becomes the permanent commit message — worth updating the body to match the shipped centrally-managed design before merge so git history doesn't record the wrong approach.