nix: inline the tls alias instead of a local let-binding
This commit is contained in:
parent
f09a942395
commit
6271d5db13
2 changed files with 8 additions and 4 deletions
|
|
@ -99,8 +99,10 @@ let
|
|||
unitName = "authelia-${instance}";
|
||||
stateDir = "/var/lib/${unitName}";
|
||||
|
||||
tlsCfg = deployCfg.hive-controller.tls;
|
||||
caTrust = import ./lib/hive-ca-trust.nix { inherit lib tlsCfg gatewayCfg; };
|
||||
caTrust = import ./lib/hive-ca-trust.nix {
|
||||
inherit lib gatewayCfg;
|
||||
tlsCfg = deployCfg.hive-controller.tls;
|
||||
};
|
||||
# `swarm-authelia-bridge` verifies the gateway when it introspects by name.
|
||||
# Nothing in this container trusted the swarm CA, which is a runtime file no
|
||||
# build-time option can name — so an https call out of here could only ever
|
||||
|
|
|
|||
Loading…
Reference in a new issue