From 1b4c0d9ade244d4a501202463af46c7f107528d4 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 10 Aug 2024 13:06:59 +0200 Subject: [PATCH] cluster/services/dns: use patroni incandescence --- cluster/services/dns/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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";