diff --git a/cluster/services/dns/default.nix b/cluster/services/dns/default.nix index 50be452..becb95a 100644 --- a/cluster/services/dns/default.nix +++ b/cluster/services/dns/default.nix @@ -73,6 +73,16 @@ in }; }; + patroni = { + databases.acmedns = {}; + users.acmedns = { + locksmith = { + nodes = config.services.dns.nodes.authoritative; + format = "envFile"; + }; + }; + }; + dns.records = { securedns.consulService = "securedns"; "acme-dns-challenge.internal".consulService = "acme-dns";