swarmctl: drop agent mint-identity and its controller route
Re-creating an agent mints its store identity the same way, so the
backfill verb and the `POST /api/agents/{name}/identity` route that only
it called go. The `MintAgentIdentity` job node stays: agent creation and
the renewal pass still queue it.
Part of #4765 (c).
This commit is contained in:
parent
cf763da178
commit
207484dfa6
7 changed files with 6 additions and 302 deletions
|
|
@ -117,19 +117,6 @@ crate does not link it, and there is no wire-type crate between them.
|
|||
Two fields out, two in, both ends validating — a drift shows up as a
|
||||
400 naming the field.
|
||||
|
||||
## `agent mint-identity`
|
||||
|
||||
```console
|
||||
# swarmctl agent mint-identity ruth
|
||||
```
|
||||
|
||||
`POST /api/agents/{name}/identity` on the swarm-controller. Re-runs the
|
||||
store-identity mint for one agent that already exists — the backfill for an
|
||||
agent the swarm never created, such as the manager agent `hive-c0re` makes at
|
||||
startup. It re-mints the agent's store certificate, which the agent picks up
|
||||
the next time its container boots, and leaves an existing queue secret alone.
|
||||
Queues and returns, like `agent create`.
|
||||
|
||||
## `agent mint-forge-token`
|
||||
|
||||
```console
|
||||
|
|
|
|||
Loading…
Reference in a new issue