mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
collect kube versions into a single file
This commit is contained in:
parent
f251d55857
commit
7fb2bf9578
10 changed files with 25023 additions and 16805 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue