Watch
0
0
Fork
You've already forked hyperhive
0

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:
atlas 2026-10-13 08:43:09 +02:00 • committed by mara
commit 1219091788

View file

@ -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;