cluster/services/consul: use separate node group for consul-ready

This commit is contained in:
Max Headroom 2024-07-17 23:22:02 +02:00
parent c922615666
commit 03bfb51682

View file

@ -11,12 +11,17 @@ in
};
});
services.consul = {
nodes.agent = [ "checkmate" "grail" "thunderskin" "VEGAS" "prophet" ];
nixos.agent = [
nodes = {
agent = [ "checkmate" "grail" "thunderskin" "VEGAS" "prophet" ];
ready = config.services.consul.nodes.agent;
};
nixos = {
agent = [
./agent.nix
./remote-api.nix
./ready.nix
];
ready = ./ready.nix;
};
};
dns.records."consul-remote.internal".consulService = "consul-remote";