Watch
0
0
Fork
You've already forked hyperhive
0

swarm-bao: move the operator viewer login and the shared bindings out

swarm-bao.nix held 5,146 lines in one module. Move two pieces out, with
no change to what it renders:

- lib/swarm-bao-shared.nix: the bindings more than one concern reads
  (the TLS directory, the granter's login and unit shape, the leaves
  several grants name, the CLI wrapper). swarm-bao.nix and the sibling
  modules import it and inherit what they use.
- swarm-bao-operator-viewer.nix: the store's browser-UI login (the
  operator viewer policy, the oidc auth config and its role), gated as it
  was on the store and its server certificate.

Refs #6820
This commit is contained in:
maia 2026-11-23 21:16:46 +01:00 • committed by mara
commit 5dacfdb320

View file

@ -74,6 +74,7 @@
./swarm-authelia.nix
./swarm-bao-service.nix
./swarm-bao.nix
./swarm-bao-operator-viewer.nix
./swarm-builder.nix
./swarm-claude-login.nix
./swarm-notify-router.nix