secrets: SOPS the backup SSH key and monitoring's hand-made Secrets (F12, part 2)
Completes F12 on the objects deliberately held back until the delete-and-reconcile drill on siriusdevops/siriusdevops-contact had proved the path works (it did: deleted 05:29:03Z, recreated by Flux 05:29:05Z, byte-identical, pod restarted off the recovered Secret and /health 200 — see docs/secrets-sops.md). * cluster-backup-ssh in forgejo, sirius-growth and monitoring — three files, one plaintext ed25519 key: a Secret cannot cross namespaces and each backup CronJob mounts its own namespace's copy, so all three must exist and all three must be rotated together. * monitoring/grafana-admin, monitoring/grafana-secret-key and monitoring/alertmanager-telegram, which are the *inputs* the prometheus-operator and Grafana consume; the operator's rendered prometheus-*/alertmanager-* objects stay excluded (a second writer would fight it). * monitoring Kustomization gains the same sops decryption block as apps. All six files were generated from the live objects and decrypt to a byte-identical data map and type, so this apply is a no-op.
This commit is contained in:
parent
f2c6de0ccb
commit
a4cc2d87bc
7 changed files with 92 additions and 10 deletions
|
|
@ -12,5 +12,11 @@ spec:
|
|||
name: flux-system
|
||||
path: ./monitoring/controllers/home
|
||||
prune: true
|
||||
# Grafana's admin/secret-key, the Alertmanager Telegram bot token and the
|
||||
# backup SSH key are committed as SOPS/age ciphertext (secret-*.sops.yaml).
|
||||
decryption:
|
||||
provider: sops
|
||||
secretRef:
|
||||
name: sops-age
|
||||
dependsOn:
|
||||
- name: infrastructure
|
||||
|
|
|
|||
Loading…
Reference in a new issue