run: --no-login-link keeps the sign-in link out of the terminal

The link holds the admin token. Where the terminal is a log (containers) it
would end up in log storage; the notice then only says where the token file
is. The Kubernetes manifest uses it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
2026-11-18 11:56:29 +01:00
co-authored by Claude Sonnet 5.5
parent 819df6d512
commit dbd95bb8ef
5 changed files with 45 additions and 11 deletions
+6 -5
View File
@@ -72,11 +72,12 @@ so:
- **One replica only.** A second pod would be a second node with its own
identity, not a copy.
- **The sign-in link is in the log.** `allmende run` prints the owner sign-in
link, token included, to the terminal, which in Kubernetes is the pod log.
A bootstrap node does not need it; if your logs are shared, read the token
from `/data/admin.token` yourself and rotate it by recovering the identity
(`allmende recover`) if it was exposed.
- **No sign-in link in the log.** `allmende run` normally prints the owner
sign-in link (it holds the admin token) to the terminal, which in Kubernetes
is the pod log. The manifest passes `--no-login-link`, so it is left out.
When you do want to sign in, read the token yourself and open
`http://localhost:8080/#/login/<token>` through the port-forward below:
`kubectl -n allmende exec allmende-0 -- cat /data/admin.token`
- **The web UI** is not published by default. For a look at it:
`kubectl -n allmende port-forward svc/allmende-http 8080:8080`. To publish
it, enable `ingress.yaml` in `base/kustomization.yaml` (read its note first:
+1
View File
@@ -45,6 +45,7 @@ spec:
--public \
--no-default-bootstrap \
--no-mdns \
--no-login-link \
--http 0.0.0.0:8080 \
--listen /ip4/0.0.0.0/tcp/4001 \
--listen /ip4/0.0.0.0/udp/4001/quic-v1 \