cluster/services/consul: set bootstrap_expect

This commit is contained in:
Max Headroom 2024-07-16 22:56:25 +02:00
parent fa36c5879c
commit d720ba41a6

View file

@ -23,6 +23,7 @@ in
bind_addr = hl.ipv4; bind_addr = hl.ipv4;
ports.serf_lan = hl.port; ports.serf_lan = hl.port;
retry_join = map (hostName: hostLinks.${hostName}.consul.tuple) (cfg.otherNodes.agent hostName); retry_join = map (hostName: hostLinks.${hostName}.consul.tuple) (cfg.otherNodes.agent hostName);
bootstrap_expect = builtins.length cfg.nodes.agent;
}; };
}; };