homek8s/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters eea80f475e sops: decrypt on every Flux Kustomization + static guard
`spec.decryption` is opt-in per Flux Kustomization, and a secret-*.sops.yaml
under a tree without it is still valid YAML: Flux applies the Secret with
literal ENC[AES256_GCM,...] values and reports success. The Secret is green and
wrong, and the first symptom is an auth failure days later that looks nothing
like a git problem. Only `apps` and `monitoring` had the block; the other six
trees were a trap for the next person to add a Secret there.

- add decryption: {provider: sops, secretRef: sops-age} to cert-manager,
  databases, gateway-api-crds, infrastructure, logging and flux-system
  (8/8 Kustomizations now decrypt; harmless where no encrypted files exist)
- scripts/check-sops-decryption.py + `make check-sops`: static guard that reads
  the live sync path from gotk-sync.yaml, walks each Kustomization's kustomize
  resource graph, and fails when a *.sops.yaml file is under a tree whose owner
  cannot decrypt, is under no reconciled tree, or is not actually encrypted
  (also catches `flux bootstrap` regenerating gotk-sync.yaml without the block)
- .gitattributes marks *.sops.yaml with diff=sopsdiffer; docs/secrets-sops.md
  explains the opt-in trap, the eight Kustomizations and the guard

No secret contents, recipients or keys touched.
2026-11-27 00:57:31 -05:00
..
arm64-runner-dind.md docs(arm64 runner dind): as-built section — what landed, deviations, evidence, rollback drill 2026-10-27 04:02:00 -04:00
cluster-overview.md docs(pitr): the plugin path is real — transcript, layout, metrics, 1.31 gate closed 2026-11-19 18:09:23 -05:00
grafana-persistence.md docs: Grafana persistence + admin-password ownership and recovery path 2026-10-27 01:07:34 -04:00
hubble-event-loss.md docs(hubble): record the measured post-change numbers as-read (F10) 2026-11-27 00:54:14 -05:00
internal-wireguard-services.md fix(networking): make the public gateway :8080 WireGuard-only 2026-11-27 00:09:14 -05:00
kube-apiserver-audit-logging.md audit(policy): drop bodies for secret reads, keep them for writes 2026-11-27 00:49:13 -05:00
logging.md infra(logging): drop osint scrapy item payloads so 8 days fits the PVC 2026-11-27 00:45:42 -05:00
monitoring-dashboards.md monitoring: suppress the dead kubelet_volume_stats rules in kubernetes-storage 2026-10-27 02:22:46 -04:00
pod-security.md secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
registry-pull-auth.md docs(registry): rotate/add-namespace via the SOPS files, not kubectl 2026-11-27 00:22:56 -05:00
secrets-sops.md sops: decrypt on every Flux Kustomization + static guard 2026-11-27 00:57:31 -05:00
site-image-pinning.md apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00