diff --git a/lib/fudo/domains.nix b/lib/fudo/domains.nix index f066bc0..d7e7dba 100644 --- a/lib/fudo/domains.nix +++ b/lib/fudo/domains.nix @@ -84,6 +84,24 @@ let default = null; }; + kubernetes = let + kubeOpts.options = { + masters = mkOption { + type = listOf str; + description = "Master Kubernetes hosts."; + }; + + nodes = mkOption { + type = listOf str; + description = "List of Kubernetes nodes."; + }; + }; + in mkOption { + type = nullOr (submodule kubeOpts); + description = "Kubernetes configuration."; + default = null; + }; + backplane = mkOption { type = nullOr (submodule { options = {