re add for test
This commit is contained in:
parent
d62d3f07aa
commit
4a1dcc3de8
2 changed files with 16 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{ cfg, lib, inputs, ... }:
|
{ cfg, lib, inputs, ... }:
|
||||||
let
|
let
|
||||||
manifests = [
|
manifests = [
|
||||||
|
./test-ubuntu.nix
|
||||||
];
|
];
|
||||||
imported = map ( n: import n { inherit cfg lib inputs; } ) manifests;
|
imported = map ( n: import n { inherit cfg lib inputs; } ) manifests;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
15
modules/k3s/deployments/test-ubuntu.nix
Normal file
15
modules/k3s/deployments/test-ubuntu.nix
Normal file
|
|
@ -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" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue