keep the operator matrix admin grant record in nats kv, not on disk
This commit is contained in:
parent
c24f3c3d88
commit
28d847cb7e
1 changed files with 312 additions and 87 deletions
|
|
@ -126,8 +126,10 @@ The swarm's control plane. The swarm UI and `swarmctl` are its clients.
|
|||
→ [`docs/4-implementation/swarm/credentials-reference.md`](../docs/4-implementation/swarm/credentials-reference.md).
|
||||
|
||||
It reads its configuration once at startup, from the environment the nix module
|
||||
sets. It keeps the webhook HMAC secret in the secret store and
|
||||
`operator-matrix-admins.json` in its state directory.
|
||||
sets. It keeps the webhook HMAC secret in the secret store and the
|
||||
operator admin sync's granted set in the `operator-matrix-admins` KV bucket,
|
||||
which this daemon alone reads and writes. Its state directory holds only files
|
||||
it can rebuild.
|
||||
The job graph lives in memory; hive status and wanted state live in the swarm
|
||||
queue, so both survive a restart.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue