diff options
Diffstat (limited to 'nixos/tests/k3s/default.nix')
-rw-r--r-- | nixos/tests/k3s/default.nix | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/nixos/tests/k3s/default.nix b/nixos/tests/k3s/default.nix index 297b05a4e4a74..7edaf6f38ed28 100644 --- a/nixos/tests/k3s/default.nix +++ b/nixos/tests/k3s/default.nix @@ -7,7 +7,13 @@ let allK3s = lib.filterAttrs (n: _: lib.strings.hasPrefix "k3s_" n) pkgs; in { - # Testing K3s with Etcd backend + airgap-images = lib.mapAttrs ( + _: k3s: import ./airgap-images.nix { inherit system pkgs k3s; } + ) allK3s; + auto-deploy = lib.mapAttrs (_: k3s: import ./auto-deploy.nix { inherit system pkgs k3s; }) allK3s; + containerd-config = lib.mapAttrs ( + _: k3s: import ./containerd-config.nix { inherit system pkgs k3s; } + ) allK3s; etcd = lib.mapAttrs ( _: k3s: import ./etcd.nix { @@ -15,8 +21,9 @@ in inherit (pkgs) etcd; } ) allK3s; - # Run a single node k3s cluster and verify a pod can run - single-node = lib.mapAttrs (_: k3s: import ./single-node.nix { inherit system pkgs k3s; }) allK3s; - # Run a multi-node k3s cluster and verify pod networking works across nodes + kubelet-config = lib.mapAttrs ( + _: k3s: import ./kubelet-config.nix { inherit system pkgs k3s; } + ) allK3s; multi-node = lib.mapAttrs (_: k3s: import ./multi-node.nix { inherit system pkgs k3s; }) allK3s; + single-node = lib.mapAttrs (_: k3s: import ./single-node.nix { inherit system pkgs k3s; }) allK3s; } |