secrets: SOPS the backup SSH key + monitoring's hand-made Secrets (F12 part 2) #50
Loading…
Reference in a new issue
No description provided.
Delete branch "secrets/sops-part2"
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?
Part 2 of F12, on the objects deliberately held back until the drill on
siriusdevops/siriusdevops-contactproved the path (it did — deleted 05:29:03Z, Flux recreated it 05:29:05Z, byte-identical data, pod restarted off the recovered Secret,/health200 via localhost, Service DNS and ClusterIP).What this adds (6 Secrets)
cluster-backup-sshinforgejo,sirius-growth,monitoring— three files, one plaintext ed25519 key. A Secret cannot be referenced across namespaces and each backup CronJob mounts its own namespace's copy, so all three must exist and all three must be rotated together. This is the key the nightly off-host backups use, so its absence in a rebuild silently means "no backups".monitoring/grafana-admin,monitoring/grafana-secret-key,monitoring/alertmanager-telegram— the inputs Grafana and the Alertmanager consume.The operator's rendered
prometheus-*/alertmanager-*objects stay excluded: they are rewritten from the CRs on every reconcile, so a second writer in git would only ever lose.The
monitoringFlux Kustomization gains the samedecryptionblock asapps.Verified
All six files decrypt to a byte-identical
datamap andtypeversus the live objects (6/6), so this apply is a no-op, not a rotation.kubectl kustomize monitoring/controllers/homerenders 4 Secrets with unprefixed names innamespace: monitoring;kubectl kustomize apps/homestill renders clean.Full inventory, the exclusion table with reasons, key escrow locations and the drill transcript:
docs/secrets-sops.md.