diff --git a/modules/k3s/deployments/default.nix b/modules/k3s/deployments/default.nix index dae0ce7..4ab7f67 100644 --- a/modules/k3s/deployments/default.nix +++ b/modules/k3s/deployments/default.nix @@ -1,7 +1,7 @@ { cfg, lib, inputs, ... }: let manifests = [ - + ./test-ubuntu.nix ]; imported = map ( n: import n { inherit cfg lib inputs; } ) manifests; in diff --git a/modules/k3s/deployments/test-ubuntu.nix b/modules/k3s/deployments/test-ubuntu.nix new file mode 100644 index 0000000..d0c92f8 --- /dev/null +++ b/modules/k3s/deployments/test-ubuntu.nix @@ -0,0 +1,15 @@ +{cfg, lib, inputs, ...}: +{ + test-ubuntu.content = { + apiVersion = "v1"; + kind = "Pod"; + metadata.name = "test-ubuntu"; + spec.containers = [ + { + name = "test-ubuntu"; + image = "ubuntu:latest"; + command = [ "tail" "-f" "/dev/null" ]; + } + ]; + }; +} \ No newline at end of file