full-setup and the host swarmctl reach the controller as a pod, not through a host socket
This commit is contained in:
parent
df4058d2f7
commit
ee6b5f69f6
1 changed files with 222 additions and 157 deletions
|
|
@ -174,6 +174,9 @@ It prints a generated password once — record it. Keep both flags:
|
|||
it. Without it you log in fine and are then refused.
|
||||
- **`--email`** — the forge won't create an account without one.
|
||||
|
||||
This step writes authelia's users file and calls no controller, so it needs nothing from the controller. The first verb that calls the controller is
|
||||
`swarmctl forge make-admin` in step 3, after `swarmctl login`.
|
||||
|
||||
Fix either afterwards with `swarmctl user update mara --add-group admins
|
||||
--email …`. Details: [`2-handbook/swarm/sso.md`](../2-handbook/swarm/sso.md).
|
||||
|
||||
|
|
@ -186,7 +189,8 @@ needs a real DNS record. → [`2-handbook/swarm/ui.md`](../2-handbook/swarm/ui.m
|
|||
Signing in to the forge once through SSO creates your forge account under the
|
||||
same username. Then, _on the swarm-controller's host_, log `swarmctl` in once. The host's
|
||||
`swarmctl` reaches the controller through the swarm's gateway as your own SSO account, so every
|
||||
verb that calls the controller needs this login:
|
||||
verb that calls the controller (`forge make-admin`, `agent create`, `schedule`, the agent steps of
|
||||
`setup status`) needs this login, and the controller has no socket on the host to use instead:
|
||||
|
||||
```bash
|
||||
swarmctl login
|
||||
|
|
|
|||
Loading…
Reference in a new issue