Add Postgres Database to Milner #40
No reviewers
Labels
No labels
blocked
bug
duplicate
effort
high
effort
low
effort
medium
effort
minimal
enhancement
help wanted
invalid
pr
feedback
pr
reviewing
question
status
backlog
status
document
status
done
status
implement
status
pending
status
planning
status
reviewing
waiting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tepichord/milner!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/35-add-postgres-database"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #35
Automated PR created by forgejo-done adapter.
postgres/README.md and OPERATIONS.md §4d claimed the 50 GiB qcow2 was un-managed via a removed{lifecycle{destroy=false}} block in worker/main.tf. No such block exists (the volume is a normally managed libvirt_volume, matching the Vault and pocket-id volumes), so a full terraform destroy / cleanup.sh does remove it. Describe the actual behaviour and point at the pg_dump runbook instead. Renumbering Vault from §4 to §5 (to make room for Postgres) also left stale references: OPERATIONS.md's state table, bring-up order, and the vault/worker READMEs still pointed at the old section numbers.Merge changes in from main
Naina:
Not a change summary — one heads-up while resolving the merge with
main.Two
storage/references remain onmainand are therefore out of scope for this PR, so I left them untouched:data/README.md:102— the re-provision list still readsstorage/ vault/ woodpecker/, but thestorage/root was removed by the Flux migration.worker/main.tf:275— a comment says/var/mnt/datais the "backing store for thestorage/StorageClasses"; the provisioner is now Flux-managed undergitops/clusters/milner/infrastructure/local-path/.They are stale on
mainindependently of this branch. Happy to clean them up here if you'd prefer, otherwise they belong in a follow-up.Significant architectural changes were made to milner, please merge the changes into this branch and integrate them with the Postgres changes.
Make postgres an app managed by flux + kustomization.
The woodpecker build failed in l1-validate for the following reason:
Are there any services/pods on milner that can swap from their existing file based data storage to database driven with postgres?