Revert "expose coredns outside of the cluster"

This reverts commit 0d22f421bc.
This commit is contained in:
Pim Kunis 2024-04-03 20:34:13 +02:00
parent 0d22f421bc
commit c29a9967a0
2 changed files with 0 additions and 27 deletions

View file

@ -65,32 +65,6 @@
loadBalancerIP: "192.168.30.128"
'';
};
configMaps.coredns-custom = {
metadata.namespace = "kube-system";
data."external.server" = ''
kubernetes.dmz {
kubernetes
k8s_external kubernetes.dmz
}
'';
};
services.kube-dns-external = {
metadata.namespace = "kube-system";
spec = {
type = "LoadBalancer";
loadBalancerIP = "192.168.30.133";
selector.k8s-app = "kube-dns";
ports = [{
port = 53;
targetPort = 53;
protocol = "UDP";
}];
};
};
};
helm.releases.metallb = {

View file

@ -24,7 +24,6 @@ in
server = [
cfg.dmz.ipv4.router
"/kun.is/${cfg.dmz.ipv4.services}"
"/kubernetes.dmz/192.168.30.133"
];
dhcp-range = [