diff --git a/kubenix-modules/all.nix b/kubenix-modules/all.nix index e0bb302..52f4bf5 100644 --- a/kubenix-modules/all.nix +++ b/kubenix-modules/all.nix @@ -26,6 +26,7 @@ in ./base.nix ./longhorn.nix ./esrom.nix + ./ek2024.nix ./metallb.nix ./cert-manager.nix ./custom/ingress.nix diff --git a/kubenix-modules/ek2024.nix b/kubenix-modules/ek2024.nix new file mode 100644 index 0000000..89b83ea --- /dev/null +++ b/kubenix-modules/ek2024.nix @@ -0,0 +1,22 @@ +{ + kubernetes.resources = { + services.ek2024.spec = { + type = "ExternalName"; + externalName = "ek2024.dmz"; + + ports.web = { + port = 80; + targetPort = 80; + }; + }; + }; + + lab.ingresses.ek2024 = { + host = "ek2024.kun.is"; + + service = { + name = "ek2024"; + portName = "web"; + }; + }; +}