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
|
|
@ -14,6 +14,13 @@ resources:
|
|||
# Nightly consistent sqlite snapshot of Grafana's dashboards/alerts/users.
|
||||
- grafana-backup.yaml
|
||||
- dashboards
|
||||
# Secrets, SOPS/age-encrypted in git (decrypted by the `monitoring`
|
||||
# Kustomization; key = flux-system/sops-age). See docs/secrets-sops.md.
|
||||
- secret-grafana-admin.sops.yaml
|
||||
- secret-grafana-secret-key.sops.yaml
|
||||
- secret-alertmanager-telegram.sops.yaml
|
||||
- secret-cluster-backup-ssh.sops.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: kube-prometheus-stack-values
|
||||
files:
|
||||
|
|
|
|||
Loading…
Reference in a new issue