Install kubernetes.

This commit is contained in:
Tom Alexander
2025-12-08 20:33:41 -05:00
parent c1c510e392
commit 514e67ac50
10 changed files with 309 additions and 21 deletions

View File

@@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
control_plane.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install control_plane.";
};
};
config = lib.mkIf config.me.control_plane.enable {
me.kubernetes.enable = true;
me.kube_apiserver.enable = true;
};
}