swarmctl: drop the controller socket target, the host has no socket to reach
This commit is contained in:
parent
087c51eef6
commit
66770d71ba
1 changed files with 174 additions and 599 deletions
|
|
@ -61,7 +61,6 @@ an error.
|
|||
| `SWARMCTL_AUTHELIA_UNIT` | authelia's unit inside that container |
|
||||
| `SWARMCTL_BAO_BOOTSTRAP_TOKEN_FILE` | where `bao grant-bootstrap` places the 24h grant token |
|
||||
| `SWARMCTL_BAO_BOOTSTRAP_POLICY` | the `bao-bootstrap` policy file `bao grant-bootstrap` writes |
|
||||
| `SWARM_CONTROLLER_SOCKET` | a controller socket to use when no swarm is named; the module sets none, as the controller is a pod |
|
||||
| `SWARMCTL_LOGIN_DEFAULT_SWARM` | `https://<swarm domain>` of this host's swarm, for `login` |
|
||||
| `SWARMCTL_SWARM` | the swarm's domain, bare or `https://`: reach the controller there; the module defaults it to this host's swarm |
|
||||
| `SWARMCTL_CA_FILE` | a PEM CA to trust beside the system roots, for `SWARMCTL_SWARM` |
|
||||
|
|
@ -299,8 +298,7 @@ too and needs one `swarmctl login`. The gateway names the sender from the SSO se
|
|||
The controller runs as a pod and has no socket on the host, so the gateway is the only way in. `swarmctl user add`
|
||||
writes authelia's users file and needs no controller, so `swarmctl login` needs only authelia and your SSO account, both there by step 2.
|
||||
|
||||
`--controller-socket` and `SWARM_CONTROLLER_SOCKET` still name a unix socket for a controller reached that way
|
||||
(none the module sets); with neither a swarm nor a socket the verb stops and says to name the swarm.
|
||||
A verb that reaches the controller with no swarm named stops and says to name one.
|
||||
|
||||
`login` finds the swarm's SSO provider itself: the gateway's 401 at `/api/`
|
||||
names a public metadata document (RFC 9728) that names authelia, so `--swarm`
|
||||
|
|
|
|||
Loading…
Reference in a new issue