Repository navigation
refactor: one vm per app, weave stays on alastor - #48
Merged
Merged
Conversation
jaspermayone
added a commit
that referenced
this pull request
Oct 21, 2026
* origin/main: refactor: one vm per app, weave stays on alastor (#48) # Conflicts: # hosts/alastor/edge.nix # hosts/warp/configuration.nix
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Weave stays on alastor. It is the only Patchwork app there, with Traefik. Every other app gets its own VM, so an admin of one app cannot read the secrets of another. On a shared VM, sudo and the docker group are root.
batting(VMID 360, 10.100.90.60, 2 GB) for Quiltweft(VMID 361, 10.100.90.61, 2 GB) for Kraterflake.nix,terraform/proxmox,ad/org.json(linuxHosts, so they getlnx-<host>-users/-admins) and the docs.warpis now the misc host (redirects). This PR deleteshosts/warp/weave.nix(never active) and the Weave vhosts on warp.edge-alastornow has an empty route table, and it no longer moves Weave. alastor does not import it today.ad/TIERING.md, the ansible inventory comments,README.mdandsecrets/secrets.nixno longer plan a Weave move to warp.Rollout
feat-patchwork-app-tags(the per-app tailnet tags).tofu apply -target='proxmox_virtual_environment_vm.nixos["batting"]'. hem is not in the state either, so a plain apply also creates hem.tag:patchworkand its app tag.secrets/secrets.nix(ad-join.age), then runagenix -r.Database reach and warp
patchwork_centralcluster are now tailnet only, as seam already was. Before, every VLAN 90 host could reach 5432 on the LAN. Now the tailnet policy picks the clients: alastor (Weave) andtag:patchwork-krater(weft). Nothing used the LAN path.domwas root there.domkeeps a normal login.Test plan
nix build .#checks.aarch64-linux.ad-org .#checks.aarch64-linux.terraform-fmtnixosConfigurations.{batting,weft,warp}evaluate.tofu planshows only the targeted VM.