collect kube versions into a single file

This commit is contained in:
Bryton Hall 2022-08-13 21:39:56 -04:00
parent f251d55857
commit 7fb2bf9578
10 changed files with 25023 additions and 16805 deletions

View file

@ -8,6 +8,7 @@
...
}:
with lib; let
versions = (import ../versions.nix).versions;
cfg = config.kubernetes;
gvkKeyFn = type: "${type.group}/${type.version}/${type.kind}";
@ -272,8 +273,8 @@ in {
options.kubernetes = {
version = mkOption {
description = "Kubernetes version to use";
type = types.enum ["1.19" "1.20" "1.21" "1.23" "1.24"];
default = "1.24";
type = types.enum versions;
default = lib.lists.last versions;
};
namespace = mkOption {