feat(host): move secrets, forgejo paths and drill app name to bitborg #745

Sammanfogat
supernaut sammanfogade 4 incheckningar från feat/pre-rename-names in i main 2026-10-14 13:39:37 +00:00
Ägare

Move the names that carry no stored data to bitborg before the host rename (#584).

  • 15 podman secrets gitborg-* become bitborg-*. Each role creates the new secret, restarts its unit on it, then removes the old one. Forgejo removes the old PostgreSQL secret only once the postgres unit uses the new one.
  • Forgejo's container-internal paths move to /etc/bitborg and /run/bitborg. The host-side mount is unchanged; Forgejo rewrites its server hooks with the current config path on start.
  • The drill's app name is bitborg-restore-drill.
  • Backup verify and the drill accept both portal dump names (backup_web_dump_names) and both restic host tags (backup_restic_hosts). The writers are unchanged until #736 and #584.
  • legacy_secret_prefix is the only new gitborg literal; it is used only to remove old secrets.

Apply: full site.yml, staging then prod. Restarts Postgres, Forgejo, the portal and Grafana once each. Then run verify and the drill.

Closes #735

Move the names that carry no stored data to `bitborg` before the host rename (#584). - 15 podman secrets `gitborg-*` become `bitborg-*`. Each role creates the new secret, restarts its unit on it, then removes the old one. Forgejo removes the old PostgreSQL secret only once the postgres unit uses the new one. - Forgejo's container-internal paths move to `/etc/bitborg` and `/run/bitborg`. The host-side mount is unchanged; Forgejo rewrites its server hooks with the current config path on start. - The drill's app name is `bitborg-restore-drill`. - Backup verify and the drill accept both portal dump names (`backup_web_dump_names`) and both restic host tags (`backup_restic_hosts`). The writers are unchanged until #736 and #584. - `legacy_secret_prefix` is the only new `gitborg` literal; it is used only to remove old secrets. Apply: full `site.yml`, staging then prod. Restarts Postgres, Forgejo, the portal and Grafana once each. Then run verify and the drill. Closes #735
supernaut lade till 3 incheckningar 2026-10-14 12:49:15 +00:00
Rename the podman secrets for postgres, forgejo, web and grafana to
bitborg-*. Each role creates the new secret, restarts its unit on it,
then removes the old one. The kanidm provision token stays until kanidm
is removed.

Forgejo reads app.ini from /etc/bitborg and /run/bitborg in the
container. The drill's scratch forgejo is bitborg-restore-drill.

Backup verify and the drill accept both portal dump names and both
restic host tags, so archives from before and after the rename stay
restorable. The writers are unchanged.

Closes #735
fix(forgejo): keep the old postgres secret until its unit uses the new one
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m11s
8be330f012
supernaut lade till 1 incheckning 2026-10-14 13:32:45 +00:00
Merge remote-tracking branch 'origin/main' into feat/pre-rename-names
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m12s
5b3b2f4c0c
supernaut sammanfogade incheckning 4441047023 till main 2026-10-14 13:39:37 +00:00
supernaut tog bort grenen feat/pre-rename-names 2026-10-14 13:39:37 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!745
Ingen beskrivning angiven.