glue: the controller's authelia and otel environment moves out of the controller module
The authelia and swarm-otel co-location reads (swarm-controller.nix autheliaEnv, otelEnv) move into glue-controller-env.nix.
This commit is contained in:
parent
4a36e53982
commit
1219091788
9 changed files with 115 additions and 69 deletions
|
|
@ -37,7 +37,7 @@ in
|
|||
# omitted `grant_types` means authorization-code alone.
|
||||
kind = "machine";
|
||||
# Its own id as its own permitted audience. The controller mints a
|
||||
# token for `SWARM_CONTROLLER_OTEL_AUDIENCE` (./swarm-controller.nix),
|
||||
# token for `SWARM_CONTROLLER_OTEL_AUDIENCE` (./glue-controller-env.nix),
|
||||
# and ./swarm-otel.nix's `oidc/swarm` authenticator checks for this
|
||||
# same id; either half without the other is a 401 several layers from
|
||||
# this line.
|
||||
|
|
|
|||
Loading…
Reference in a new issue