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
1 changed files with 115 additions and 69 deletions
|
|
@ -36,7 +36,7 @@ let
|
|||
# repeated at each site would let the guard and the config drift apart, which
|
||||
# is the failure this guard exists to prevent.
|
||||
# The read-only `producerName` option in ./swarm-otel-service.nix, not a bare
|
||||
# literal — `swarm-controller.nix` needs the identical string to build the
|
||||
# literal — `glue-controller-env.nix` needs the identical string to build the
|
||||
# same audience/endpoint, and a value bound once (rather than copy-pasted at
|
||||
# both sites) is the only way the two can't drift apart.
|
||||
swarmTierName = cfg.producerName;
|
||||
|
|
|
|||
Loading…
Reference in a new issue