grant-bootstrap re-applies the granter and restarts failed policy units; setup treats a refused granting unit as not done
This commit is contained in:
parent
ae37c228b1
commit
c7d37ca455
1 changed files with 271 additions and 33 deletions
|
|
@ -724,7 +724,7 @@ Prints the unseal or recovery keys and the root token to stdout, once, and store
|
|||
|
||||
Bootstrap the granter: the one-time step that lets `swarm-bao-granter-role` write every `swarm-*` policy and role.
|
||||
|
||||
Reads the root token from a hidden prompt, or from stdin when stdin isn't a terminal; never from an argument or an environment variable. Writes the `bao-bootstrap` policy, places a 24h grant token for the granter unit and restarts it, so run it as root on the host running that unit. Says so and does nothing when the granter exists already.
|
||||
Reads the root token from a hidden prompt, or from stdin when stdin isn't a terminal; never from an argument or an environment variable. Writes the `bao-bootstrap` policy, places a 24h grant token for the granter unit and restarts it, so run it as root on the host running that unit. When the granter exists already it runs the same steps again, which is how a change to the granter's policy reaches an existing store, then resets and restarts the failed `swarm-bao-*-policy` units.
|
||||
|
||||
**Usage:** `swarmctl bao grant-bootstrap [OPTIONS]`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue