Watch
0
0
Fork
You've already forked hyperhive
0

docs(swarm-ui): state that every quick-link's option defaults to a value

argus (PR #4895): the link table didn't say an entry can exist without
the service running anywhere in the swarm. Every option in the table
defaults to a value, so a reader shouldn't take an entry's presence as
proof the service is up.
This commit is contained in:
atlas 2026-10-02 20:50:15 +02:00
commit 6fd91b0e69

View file

@ -117,6 +117,10 @@ same whichever host runs each service:
| Matrix | `services.hyperhive.swarm.matrix.gatewayHost` | | Matrix | `services.hyperhive.swarm.matrix.gatewayHost` |
| Bao | `services.hyperhive.swarm.bao.ui.domain` | | Bao | `services.hyperhive.swarm.bao.ui.domain` |
Each entry is present whenever its option has a value — every option in
the table defaults to one, so the link appears even on a swarm that runs
no instance of that service.
`nix/host-modules/swarm-controller.nix` builds these entries. `swarm-ui.nix` `nix/host-modules/swarm-controller.nix` builds these entries. `swarm-ui.nix`
adds one more, for this UI's own API docs. An operator can add entries adds one more, for this UI's own API docs. An operator can add entries
directly. An empty list hides the button. directly. An empty list hides the button.