feat(podman): move postgres onto an internal data network #537
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!537
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/podman-data-network"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
ADR 0042 step 3: Postgres leaves the shared podman network.
bitborg-data,Internal=true, created on the services host only.bitborg-data.bitborgandbitborg-data.bitborg. Caddy, Kanidm, the shim, the runner controller and the monitoring agents can no longer reach Postgres.Naming
The ADR names the tiers
edgeanddata.bitborgstays as the edge tier instead of being renamed. Its name is the unit basename of every container and its subnet feeds both trusted-proxy values, so renaming it is an ADR 0039-sized migration for no isolation gain.Tested
ansible-playbook site.yml --check --diff --limit bitborg-prod --tags podman,postgres,forgejo,billing,web:changed=6 failed=0. The changes are the new network unit, the Postgres unit plus restart, and the Forgejo and web units. The existingbitborgunit is unchanged. Billing is skipped while disabled.podman_networksper host: prod gets both networks, the monitoring VM onlybitborg.--syntax-check,ansible-linton the five roles, prettier and markdownlint clean.Apply (operator)
Expect a short database outage between the Postgres restart and the Forgejo and portal restarts in the same play. Then run the runbook's verify block. Caddy must print
blocked (expected).Refs #465.