cluster/services/ways: limit test to 3 nodes

This commit is contained in:
Max Headroom 2024-11-16 01:46:37 +01:00
parent 88fa396e31
commit 7e2f7e3fde
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@
enable = true;
deps = [ "nginx" "acme-client" "dns" "certificates" "consul" ];
settings = ./simulacrum/test.nix;
availableNodes = lib.take 3 config.services.ways.nodes.host;
};
};

View file

@ -20,7 +20,7 @@ in
};
};
}
(lib.genAttrs cluster.config.services.ways.nodes.host (lib.const {
(lib.genAttrs cluster.config.services.ways.simulacrum.availableNodes (lib.const {
services.nginx.upstreams.nowhere.servers = {
"${(builtins.head config.nodes.nowhere.networking.interfaces.eth1.ipv4.addresses).address}:8080" = {};
};