nix: move the egress firewall options under deploy.hive-controller.egress
This commit is contained in:
parent
1cef99e992
commit
7468aa4cff
2 changed files with 148 additions and 31 deletions
|
|
@ -160,7 +160,7 @@ pkgs.testers.runNixOSTest {
|
|||
containers.b = container;
|
||||
|
||||
specialisation.logmode.configuration = {
|
||||
services.hyperhive.network.egress.antiSpoof = lib.mkForce "log";
|
||||
services.hyperhive.deploy.hive-controller.egress.antiSpoof = lib.mkForce "log";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -228,7 +228,8 @@ pkgs.testers.runNixOSTest {
|
|||
# The reject-mode half of the test switches to this at its end. The
|
||||
# forward mode is fixed when the node evaluates; the switch reloads
|
||||
# `hive-egress` with the other ruleset.
|
||||
specialisation.reject.configuration.services.hyperhive.network.egress.forward = "reject";
|
||||
specialisation.reject.configuration.services.hyperhive.deploy.hive-controller.egress.forward =
|
||||
"reject";
|
||||
services.hyperhive.deploy.hive-controller.squid.selfcheck.unrestrictedCanary = "other.t.local";
|
||||
services.hyperhive.deploy.hive-controller.squid.selfcheck.canary = "cache.t.local";
|
||||
services.hyperhive.deploy.hive-controller.squid.baseAllowedDomains = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue