nixos-servers/kubenix-modules/esrom.nix

23 lines
337 B
Nix
Raw Normal View History

2024-04-13 14:37:18 +00:00
{
kubernetes.resources = {
services.esrom.spec = {
type = "ExternalName";
externalName = "esrom.dmz";
2024-04-14 19:43:31 +00:00
ports.web = {
2024-04-13 14:37:18 +00:00
port = 80;
targetPort = 80;
2024-04-14 19:43:31 +00:00
};
2024-04-13 14:37:18 +00:00
};
};
2024-04-13 14:37:18 +00:00
lab.ingresses.esrom = {
host = "esrom.kun.is";
2024-04-13 14:37:18 +00:00
service = {
name = "esrom";
portName = "web";
2024-04-13 14:37:18 +00:00
};
};
}