cluster/services/search: add dns records
This commit is contained in:
parent
b24f73bc4b
commit
7d7714db4c
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ depot, ... }:
|
||||
{ config, depot, ... }:
|
||||
|
||||
{
|
||||
services.search = {
|
||||
|
@ -10,4 +10,8 @@
|
|||
address = "https://search.${depot.lib.meta.domain}/healthz";
|
||||
module = "https2xx";
|
||||
};
|
||||
|
||||
dns.records.search.target = map
|
||||
(node: depot.hours.${node}.interfaces.primary.addrPublic)
|
||||
config.services.search.nodes.host;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue