Revert "expose coredns outside of the cluster"
This reverts commit 0d22f421bc
.
This commit is contained in:
parent
0d22f421bc
commit
c29a9967a0
2 changed files with 0 additions and 27 deletions
|
@ -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 = {
|
||||
|
|
|
@ -24,7 +24,6 @@ in
|
|||
server = [
|
||||
cfg.dmz.ipv4.router
|
||||
"/kun.is/${cfg.dmz.ipv4.services}"
|
||||
"/kubernetes.dmz/192.168.30.133"
|
||||
];
|
||||
|
||||
dhcp-range = [
|
||||
|
|
Loading…
Reference in a new issue