set pod to disabled

This commit is contained in:
NyxErinys 2026-05-18 01:26:57 -05:00
parent 13ca7b2517
commit d5edaa944b
2 changed files with 18 additions and 0 deletions

View file

@ -36,6 +36,9 @@ in
clusterInit = mkIf cfg.initServer true; clusterInit = mkIf cfg.initServer true;
serverAddr = mkIf (!cfg.initServer) "https://10.5.0.103:6443"; serverAddr = mkIf (!cfg.initServer) "https://10.5.0.103:6443";
manifests = import ./manifests.nix { inherit lib cfg inputs; }; manifests = import ./manifests.nix { inherit lib cfg inputs; };
disable = [
"test-ubuntu"
];
}; };
}; };
} }

View file

@ -0,0 +1,15 @@
{cfg, lib, inputs, ...}:
{
ubuntu.content = {
apiVersion = "v1";
kind = "Pod";
metadata.name = "test-ubuntu";
spec.containers = [
{
name = "test-ubuntu";
image = "ubuntu:latest";
command = [ "tail" "-f" "/dev/null" ];
}
];
};
}