homek8s/clusters/homek8s
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps c8f0834886 secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12)
Nothing in the cluster was reconciled from the repo: 67 hand-made Secrets and no
managed Secret at all, so a restore of this Git tree produced a cluster that would
not start. This commits the first-party ones as SOPS/age ciphertext and enables
Flux's sops decryptor.

* provider: SOPS + age (chosen over SealedSecrets: Flux already ships the sops
  decryptor, so no extra controller/CRD, and the age key is escrowed off-cluster).
* 29 Secrets across forgejo, siriusdevops, piedmont, sirius-growth, osint,
  metabase and customer1, as apps/base/<ns>/secret-<name>.sops.yaml with
  encrypted_regex ^(data|stringData)$ — names/namespaces stay reviewable.
* each file was generated from the LIVE object and decrypts to a byte-identical
  data map and type, so the first apply is a no-op (not a rotation).
* the CNPG bootstrap secrets (forgejo-pg-app, pg-app, sirius-growth-portal-db)
  are ours, not operator output — bootstrap.initdb.secret points at them, so a
  rebuild has no application password without them.
* forgejo-pull is included despite docs/registry-pull-auth.md calling it
  out-of-band: with imagePullSecrets on every workload it is the one Secret whose
  absence stops the whole cluster from pulling images.
* .gitignore keeps **/*secret*.yaml ignored and re-includes only .sops.yaml, so a
  plaintext Secret still cannot be committed; age.agekey stays ignored.
* excluded on purpose (controller/helm-owned): CNPG *-server/*-replication/*-ca,
  cnpg-system CA+webhook, cert-manager webhook CA, cilium/hubble certs, helm
  release records, prometheus-operator rendered prompts. Full table in
  docs/secrets-sops.md.

Key locations (never in git): Secret flux-system/sops-age (age.agekey) and
/root/sops/homek8s-age.key on the Linode, reached only over the mesh.
2026-11-27 00:18:14 -05:00
..
flux-system Add Flux sync manifests 2026-09-14 23:43:41 -04:00
apps.yaml secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12) 2026-11-27 00:18:14 -05:00
cert-manager.yaml controllers(cert-manager): install cert-manager 1.21.3 for the CNPG-I barman plugin 2026-11-19 17:55:49 -05:00
databases.yaml db(portal): migrate WAL archiving to the CNPG-I Barman Cloud plugin 2026-11-19 17:58:12 -05:00
gateway-api-crds.yaml feat: install Gateway API v1.5.1 CRDs (Cilium 1.20 requires referencegrants v1) 2026-09-15 01:22:46 -04:00
infrastructure.yaml feat: add infrastructure Kustomization for Flux to watch infrastructure/home 2026-09-15 00:21:29 -04:00
monitoring.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00