Skip to content

chore(secrets): prometheus's alert-path keys for the in-house ntfy, encrypted (#136) - #720

Merged
Gerrrt merged 1 commit into
mainfrom
gerrrt/observability-secrets-ntfy-136
Sep 29, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
gerrrt/observability-secrets-ntfy-136

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Sep 29, 2026

Copy link
Copy Markdown
Owner

What changed

secrets/observability.sops.yaml as edited on prometheus during the #136 cutover:

  • Three new keys: ALERTMANAGER_URGENT_EXTERNAL_URL, ALERTMANAGER_SECURITY_EXTERNAL_URL and ALERTMANAGER_NTFY_TOKEN.
  • Three repointed values: the ALERTMANAGER_*_WEBHOOK_URL keys now point at ntfy.matrix.elysium.

Why

The monitoring host's deployment checkout has been dirty since the edit. That raised DeployDrifted, and convergence stopped (ScheduledJobFailed, then "converge has not succeeded in 3h 30m"). Committing the encrypted file makes the checkout clean again. Trinity's equivalent was #717.

Blast radius

  • None at runtime. This is the file prometheus already renders from.

  • After merge, run on prometheus: git checkout -- secrets/observability.sops.yaml && git pull --ff-only && make render && make reload. Convergence resumes on its next hourly run.

  • No change to network segmentation or firewall rules

  • No new port published to a VLAN that could not already reach the service

  • No credential added outside secrets/*.sops.yaml: every value is ENC[AES256_GCM,…]

Verification

  • Encrypted: all 16 top-level values are ENC[AES256_GCM,…]. check-sops-encrypted.sh passes (4 SOPS files, all encrypted).

  • Same recipients: the file is encrypted to the same two age recipients as the version on main, and check_sops_rules.py matches it to its rule.

  • Keys: the key-level diff against main shows exactly the three new keys.

  • Secrets checks pass

  • Deployed: this is the file prometheus runs from

  • Docs: n/a

Refs #136

🤖 Generated with Claude Code

…ncrypted (#136)

secrets/observability.sops.yaml as edited on prometheus during the
cutover:
- Three new keys: ALERTMANAGER_URGENT_EXTERNAL_URL,
  ALERTMANAGER_SECURITY_EXTERNAL_URL and ALERTMANAGER_NTFY_TOKEN.
- The three ALERTMANAGER_*_WEBHOOK_URL values repointed at
  ntfy.matrix.elysium.

Every value is ENC[AES256_GCM,...] to the same two age recipients as
before. check-sops-encrypted.sh and check_sops_rules.py pass.

Committed so the monitoring host's deployment checkout is clean. It had
been dirty since the edit, which raised DeployDrifted and stopped
convergence (ScheduledJobFailed, then "converge has not succeeded in
3h 30m").

Refs #136

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit 3bb18b4 into main Sep 29, 2026
7 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/observability-secrets-ntfy-136 branch September 29, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant