feat(bind9): Move to dns k8s namespace
This commit is contained in:
parent
342ba2baeb
commit
7b1958e5c5
4 changed files with 55 additions and 57 deletions
|
@ -69,6 +69,7 @@ Currently, the applications being deployed like this are:
|
|||
- `attic`
|
||||
- `inbucket`
|
||||
- `dnsmasq`
|
||||
- `bind9`
|
||||
|
||||
## Known bugs
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
mkDeployScriptAndManifest = module: applyset: namespace:
|
||||
let
|
||||
kubernetes = (kubenix.evalModules.${system} {
|
||||
specialArgs = { inherit namespace myLib blog-pim; };
|
||||
specialArgs = { inherit namespace myLib blog-pim dns; };
|
||||
|
||||
module = { kubenix, ... }:
|
||||
{
|
||||
|
@ -98,4 +98,6 @@
|
|||
"${self}/kubenix-modules/inbucket.nix" "inbucket" "inbucket";
|
||||
kubenix.dnsmasq = mkDeployScriptAndManifest
|
||||
"${self}/kubenix-modules/dnsmasq.nix" "dnsmasq" "dns";
|
||||
kubenix.bind9 = mkDeployScriptAndManifest
|
||||
"${self}/kubenix-modules/bind9" "bind9" "dns";
|
||||
})
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
let
|
||||
applications = [
|
||||
./media.nix
|
||||
./bind9
|
||||
# ./argo.nix
|
||||
# ./minecraft.nix
|
||||
];
|
||||
|
|
|
@ -41,10 +41,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
deployments.bind9 = {
|
||||
metadata.labels.app = "bind9";
|
||||
|
||||
spec = {
|
||||
deployments.bind9.spec = {
|
||||
selector.matchLabels.app = "bind9";
|
||||
|
||||
template = {
|
||||
|
@ -106,7 +103,6 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
bind9-udp = {
|
||||
|
|
Loading…
Reference in a new issue