forked from mirrors/nixpkgs
k3s: dynamic detection of all k3s packages
This commit is contained in:
parent
f0a6595fe5
commit
0ca947e125
|
@ -3,15 +3,7 @@
|
|||
, lib ? pkgs.lib
|
||||
}:
|
||||
let
|
||||
allK3s = {
|
||||
inherit (pkgs)
|
||||
k3s
|
||||
k3s_1_23
|
||||
k3s_1_24
|
||||
k3s_1_25
|
||||
k3s_1_26
|
||||
;
|
||||
};
|
||||
allK3s = lib.filterAttrs (n: _: lib.strings.hasPrefix "k3s_" n) pkgs;
|
||||
in
|
||||
{
|
||||
# Run a single node k3s cluster and verify a pod can run
|
||||
|
|
Loading…
Reference in a new issue