From b4befecab12d54d2bbdffd904f77223f33eb2106 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Thu, 19 Dec 2024 22:14:22 +0100 Subject: [PATCH] Add `dsekt.addresses.hosts.mjukglass` and CNAME for ldap-proxy --- modules/addresses.nix | 4 +++- profiles/dns.nix | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/addresses.nix b/modules/addresses.nix index e9e7107..ccb50bf 100644 --- a/modules/addresses.nix +++ b/modules/addresses.nix @@ -14,14 +14,16 @@ in options.dsekt.addresses.subnet = opt lib.types.str; config.dsekt.addresses = { - # Must be kept in sync with `local.cluster_hosts` tf hosts = lib.fix (self: { + # Must be kept in sync with `local.cluster_hosts` tf zeus = "10.83.0.2"; poseidon = "10.83.0.3"; hades = "10.83.0.4"; ares = "10.83.0.5"; artemis = "10.83.0.6"; + mjukglass = "10.83.1.1"; + self = self.${config.networking.hostName}; }); diff --git a/profiles/dns.nix b/profiles/dns.nix index a0e8217..87980da 100644 --- a/profiles/dns.nix +++ b/profiles/dns.nix @@ -61,7 +61,8 @@ in )} *.nomad A ${config.dsekt.addresses.hosts.self} - postgres CNAME ares + postgres CNAME ares + ldap-proxy CNAME mjukglass ''; allowQuery = allowedNetworks; };