nix: point three modules' tlsCfg alias at the current hive-controller path
This commit is contained in:
parent
9f8df505c6
commit
f09a942395
3 changed files with 3 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ let
|
||||||
unitName = "authelia-${instance}";
|
unitName = "authelia-${instance}";
|
||||||
stateDir = "/var/lib/${unitName}";
|
stateDir = "/var/lib/${unitName}";
|
||||||
|
|
||||||
tlsCfg = hyperhiveCfg.tls;
|
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 tlsCfg gatewayCfg; };
|
||||||
# `swarm-authelia-bridge` verifies the gateway when it introspects by name.
|
# `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
|
# Nothing in this container trusted the swarm CA, which is a runtime file no
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ let
|
||||||
networkCfg = config.services.hyperhive.network;
|
networkCfg = config.services.hyperhive.network;
|
||||||
hyperhiveCfg = config.services.hyperhive;
|
hyperhiveCfg = config.services.hyperhive;
|
||||||
gatewayCfg = hyperhiveCfg.gateway;
|
gatewayCfg = hyperhiveCfg.gateway;
|
||||||
tlsCfg = hyperhiveCfg.tls;
|
tlsCfg = deployCfg.hive-controller.tls;
|
||||||
autheliaCfg = hyperhiveCfg.swarm.authelia;
|
autheliaCfg = hyperhiveCfg.swarm.authelia;
|
||||||
vmCfg = hyperhiveCfg.swarm.victoriametrics;
|
vmCfg = hyperhiveCfg.swarm.victoriametrics;
|
||||||
vlCfg = hyperhiveCfg.swarm.victorialogs;
|
vlCfg = hyperhiveCfg.swarm.victorialogs;
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ let
|
||||||
# `security.pki.certificateFiles`.
|
# `security.pki.certificateFiles`.
|
||||||
caTrust = import ./lib/hive-ca-trust.nix {
|
caTrust = import ./lib/hive-ca-trust.nix {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
tlsCfg = hyperhiveCfg.tls;
|
tlsCfg = deployCfg.hive-controller.tls;
|
||||||
inherit gatewayCfg;
|
inherit gatewayCfg;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue