cluster/services/dns: run authoritative nameserver on checkmate

This commit is contained in:
Max Headroom 2023-03-06 16:21:40 +01:00
parent 2b6b6964b7
commit 027d681ede
4 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ in
services.dns = {
nodes = {
master = [ "VEGAS" ];
slave = [ "prophet" ];
slave = [ "checkmate" "prophet" ];
coredns = [ "VEGAS" ];
client = [ "VEGAS" "prophet" ];
};

View file

@ -16,7 +16,7 @@
services.patroni = {
nodes = {
worker = [ "VEGAS" "prophet" ];
haproxy = [ "VEGAS" "prophet" ];
haproxy = [ "checkmate" "VEGAS" "prophet" ];
};
nixos = {
worker = ./worker.nix;

View file

@ -8,7 +8,7 @@ in with hosts;
"cluster/services/dns/pdns-admin-salt.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"cluster/services/dns/pdns-admin-secret.age".publicKeys = max ++ map systemKeys [ VEGAS ];
"cluster/services/dns/pdns-api-key.age".publicKeys = max ++ map systemKeys [ checkmate VEGAS prophet ];
"cluster/services/dns/pdns-db-credentials.age".publicKeys = max ++ map systemKeys [ VEGAS prophet ];
"cluster/services/dns/pdns-db-credentials.age".publicKeys = max ++ map systemKeys [ checkmate VEGAS prophet ];
"cluster/services/hercules-ci-multi-agent/secrets/hci-cache-config.age".publicKeys = max ++ map systemKeys [ VEGAS prophet ];
"cluster/services/hercules-ci-multi-agent/secrets/hci-cache-credentials-prophet.age".publicKeys = max ++ map systemKeys [ prophet ];
"cluster/services/hercules-ci-multi-agent/secrets/hci-cache-credentials-VEGAS.age".publicKeys = max ++ map systemKeys [ VEGAS ];