cluster/services/ways: limit test to 3 nodes
This commit is contained in:
parent
88fa396e31
commit
7e2f7e3fde
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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" = {};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue