docs: builder.md says the client secret is re-read on refusal too
The builder reads its queue client secret at start and again when authelia refuses it. The credentials table in builder.md and the swarm-builder README still said it was read only at start.
This commit is contained in:
parent
47d3ccfede
commit
6d7fc0dd99
2 changed files with 7 additions and 6 deletions
|
|
@ -60,9 +60,9 @@ Where it runs and how it's enabled: [`services.md`](services.md#builder).
|
|||
## Credentials
|
||||
|
||||
| What | Where | Who reads it |
|
||||
| ----------------------- | ------------------------------------------------- | ---------------------------------------- |
|
||||
| ----------------------- | ------------------------------------------------- | -------------------------------------------------- |
|
||||
| store leaf | `deploy.bao.builderClient{Cert,Key}File` | nspawn, into the service as a credential |
|
||||
| queue client secret | `secret/swarm/services/swarm-builder/oidc/client` | the builder, at start |
|
||||
| queue client secret | `secret/swarm/services/swarm-builder/oidc/client` | the builder, at start and when authelia refuses it |
|
||||
| forge token (read-only) | `secret/swarm/services/builder/forge/token` | the builder, on every build |
|
||||
|
||||
The token belongs to the `builder` forge account, which swarm-controller
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@ the answer into a `swarm-builder` commit status on the PR's head.
|
|||
|
||||
The container holds one credential: its own store certificate, which nspawn
|
||||
hands in at start without a copy on disk. With it the service reads its
|
||||
queue client secret at start and its read-only forge token at every build.
|
||||
queue client secret at start and again when authelia refuses it, and its
|
||||
read-only forge token at every build.
|
||||
`git` gets the token through a credential helper reading the child's
|
||||
environment, never in a URL or an argument, and the helper answers only an
|
||||
`https` request for the forge's host. Its store role reads exactly
|
||||
|
|
|
|||
Loading…
Reference in a new issue