From 4a1dcc3de8f98547380ca132746face314dc5700 Mon Sep 17 00:00:00 2001 From: NyxErinys Date: Tue, 19 May 2026 03:00:13 -0500 Subject: [PATCH] re add for test --- modules/k3s/deployments/default.nix | 2 +- modules/k3s/deployments/test-ubuntu.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 modules/k3s/deployments/test-ubuntu.nix 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