homek8s/monitoring/controllers/home/kustomization.yaml
Sirius DevOps a4cc2d87bc 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.
2026-11-27 00:30:24 -05:00

29 lines
898 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- namespace.yaml
- repository.yaml
- release.yaml
- httproute.yaml
- gateway-probe.yaml
- garage.yaml
- prune-alerts.yaml
# Flow-loss gate + material-loss alerts for the Hubble sensor (audit F10).
- hubble-loss-gate.yaml
# 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:
- values.yaml=values.yaml
configurations:
- kustomizeconfig.yaml