Commit Graph
2 Commits
Author SHA1 Message Date
Thore Cimbal 62d4bf6630 chore: set Gitea PAT for TURN secret rotation job
Auto-Deploy on Push / verify-and-notify (push) Canceled after 0s
2026-07-28 21:22:14 +02:00
Thore CimbalandClaude Sonnet 5 947eaab71c feat(coturn): add automated TURN shared-secret rotation CronJob
Auto-Deploy on Push / verify-and-notify (push) Canceled after 0s
Closes issue #38's automation half (architecture fix + first rotation
already landed in earlier commits this session). Monthly CronJob
(rohana.axion1337.de/sorb/axion-secret-rotation:v1 - alpine + git/sops/
jq/age) that:

- generates a new secret
- re-encrypts coturn-secret.yaml and synapse-turn-secret.yaml using the
  scoped rotation-only age key (added as an additional recipient in an
  earlier commit) - never touches the repo's master sops-age key
- bumps the turn-secret-checksum (HelmRelease annotation) and rotated-at
  (coturn Deployment annotation) so merging actually restarts both
  consumers, reusing the existing checksum-annotation pattern already in
  this repo rather than inventing a new mechanism
- opens a Pull Request rather than pushing straight to main - a human
  reviews and merges, keeping a checkpoint before production picks up new
  credentials while still automating the tedious coordination work

Needs a Gitea PAT (repo write scope) filled into
turn-secret-rotation-secret.yaml's gitea-token key before first use.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 21:20:21 +02:00