egress: the forward chain allows each agent's declared ssh connections
This commit is contained in:
parent
934da6f31f
commit
8ece0b7e0b
1 changed files with 1110 additions and 20 deletions
|
|
@ -298,6 +298,14 @@ in
|
|||
HIVE_SQUID_PROXY = config.services.hyperhive.deploy.hive-controller.squid.listen;
|
||||
HIVE_EGRESS_NO_PROXY = lib.concatStringsSep "," egressDirectHosts;
|
||||
}
|
||||
//
|
||||
lib.optionalAttrs (config.services.hyperhive.deploy.hive-controller.egress.connectionsFile != null)
|
||||
{
|
||||
# Where `workers::egress_connections` renders the SSH connections each agent
|
||||
# may open, for the egress forward chain.
|
||||
HIVE_EGRESS_CONNECTIONS_FILE =
|
||||
config.services.hyperhive.deploy.hive-controller.egress.connectionsFile;
|
||||
}
|
||||
// lib.optionalAttrs (haveBaoClientIdentity && baoDeploy.serverCaFile != null) {
|
||||
# Absent means the system trust store — right for a deployment with a real
|
||||
# CA, wrong for the self-signed one ../glue-bao-tls.nix mints, which is why
|
||||
|
|
|
|||
Loading…
Reference in a new issue