From 60592d3096dd2ba2ecf1b424ffb42b95601fe63d Mon Sep 17 00:00:00 2001 From: GTrunSec Date: Sat, 2 Apr 2022 12:40:35 -0700 Subject: [PATCH] fmt --- default.nix | 16 +- examples/default.nix | 11 +- examples/nginx-deployment/default.nix | 24 +- examples/nginx-deployment/image.nix | 12 +- examples/nginx-deployment/module.nix | 27 +- examples/nginx-deployment/test.nix | 14 +- flake.nix | 75 +- jobs/default.nix | 5 +- jobs/generators/default.nix | 40 +- jobs/generators/istio/default.nix | 579 +- jobs/generators/k8s/default.nix | 492 +- lib/default.nix | 11 +- lib/docker/default.nix | 14 +- lib/helm/chart2json.nix | 98 +- lib/helm/default.nix | 8 +- lib/helm/fetchhelm.nix | 126 +- lib/helm/test.nix | 10 +- lib/k8s/default.nix | 96 +- lib/upstreamables.nix | 71 +- modules/base.nix | 19 +- modules/docker.nix | 54 +- modules/generated/v1.19.nix | 14214 ++++++--------- modules/generated/v1.20.nix | 14785 +++++++-------- modules/generated/v1.21.nix | 14922 +++++++--------- modules/helm.nix | 84 +- modules/istio-overrides.nix | 17 +- modules/istio.nix | 6631 +++---- modules/k8s.nix | 329 +- modules/submodule.nix | 20 +- modules/submodules.nix | 551 +- modules/testing/default.nix | 32 +- modules/testing/docker.nix | 33 +- modules/testing/driver/kubetestdrv.nix | 23 +- modules/testing/evalTest.nix | 58 +- modules/testing/runtime/local.nix | 14 +- modules/testing/runtime/nixos-k8s.nix | 79 +- modules/testing/test-options.nix | 25 +- .../networking/cluster/kubectl/default.nix | 21 +- .../networking/cluster/kubernetes/default.nix | 40 +- shell.nix | 16 +- tests/default.nix | 45 +- tests/images.nix | 63 +- tests/istio/bookinfo.nix | 120 +- tests/k8s/crd.nix | 28 +- tests/k8s/defaults.nix | 44 +- tests/k8s/deployment.nix | 64 +- tests/k8s/imports.nix | 28 +- tests/k8s/order.nix | 78 +- tests/k8s/simple.nix | 26 +- tests/k8s/submodule.nix | 80 +- tests/submodules/defaults.nix | 84 +- tests/submodules/exports.nix | 40 +- tests/submodules/passthru.nix | 43 +- tests/submodules/simple.nix | 67 +- tests/submodules/versioning.nix | 87 +- 55 files changed, 23668 insertions(+), 30925 deletions(-) diff --git a/default.nix b/default.nix index f6228d8..fec8859 100644 --- a/default.nix +++ b/default.nix @@ -1,9 +1,9 @@ -{ system ? builtins.currentSystem }: -let +{system ? builtins.currentSystem}: let in -( - (import ./compat.nix).flake-compat { - src = ./.; - inherit system; - } -).defaultNix + ( + (import ./compat.nix).flake-compat { + src = ./.; + inherit system; + } + ) + .defaultNix diff --git a/examples/default.nix b/examples/default.nix index b07c25c..6f824eb 100644 --- a/examples/default.nix +++ b/examples/default.nix @@ -1,9 +1,6 @@ -{ system ? builtins.currentSystem -, evalModules ? (import ../. { }).evalModules.${system} -}: - -{ registry ? "docker.io/gatehub" }: - { - nginx-deployment = import ./nginx-deployment { inherit evalModules registry; }; + system ? builtins.currentSystem, + evalModules ? (import ../. {}).evalModules.${system}, +}: {registry ? "docker.io/gatehub"}: { + nginx-deployment = import ./nginx-deployment {inherit evalModules registry;}; } diff --git a/examples/nginx-deployment/default.nix b/examples/nginx-deployment/default.nix index 41d56b6..2b7adf3 100644 --- a/examples/nginx-deployment/default.nix +++ b/examples/nginx-deployment/default.nix @@ -1,10 +1,11 @@ -{ evalModules, registry }: - -let +{ + evalModules, + registry, +}: let # evaluated configuration - config = (evalModules { - module = - { kubenix, ... }: { + config = + (evalModules { + module = {kubenix, ...}: { imports = [ kubenix.modules.testing ./module.nix @@ -16,12 +17,12 @@ let kubernetes.version = "1.21"; testing = { - tests = [ ./test.nix ]; + tests = [./test.nix]; docker.registryUrl = ""; # testing commonalities for tests that exhibit the respective feature common = [ { - features = [ "k8s" ]; + features = ["k8s"]; options = { kubernetes.version = "1.20"; }; @@ -29,10 +30,9 @@ let ]; }; }; - }).config; - -in -{ + }) + .config; +in { inherit config; # config checks diff --git a/examples/nginx-deployment/image.nix b/examples/nginx-deployment/image.nix index 8f57b75..c451233 100644 --- a/examples/nginx-deployment/image.nix +++ b/examples/nginx-deployment/image.nix @@ -1,8 +1,10 @@ -{ dockerTools, nginx }: - +{ + dockerTools, + nginx, +}: dockerTools.buildLayeredImage { name = "nginx"; - contents = [ nginx ]; + contents = [nginx]; extraCommands = '' mkdir -p etc chmod u+w etc @@ -10,9 +12,9 @@ dockerTools.buildLayeredImage { echo "nginx:x:1000:nginx" > etc/group ''; config = { - Cmd = [ "nginx" "-c" "/etc/nginx/nginx.conf" ]; + Cmd = ["nginx" "-c" "/etc/nginx/nginx.conf"]; ExposedPorts = { - "80/tcp" = { }; + "80/tcp" = {}; }; }; } diff --git a/examples/nginx-deployment/module.nix b/examples/nginx-deployment/module.nix index ec20056..45d0a7d 100644 --- a/examples/nginx-deployment/module.nix +++ b/examples/nginx-deployment/module.nix @@ -1,11 +1,14 @@ -{ config, lib, pkgs, kubenix, ... }: - -with lib; -let - nginx = pkgs.callPackage ./image.nix { }; -in { - imports = with kubenix.modules; [ k8s docker ]; + config, + lib, + pkgs, + kubenix, + ... +}: +with lib; let + nginx = pkgs.callPackage ./image.nix {}; +in { + imports = with kubenix.modules; [k8s docker]; docker.images.nginx.image = nginx; @@ -54,10 +57,12 @@ in kubernetes.resources.services.nginx = { spec = { - ports = [{ - name = "http"; - port = 80; - }]; + ports = [ + { + name = "http"; + port = 80; + } + ]; selector.app = "nginx"; }; }; diff --git a/examples/nginx-deployment/test.nix b/examples/nginx-deployment/test.nix index 74cfee0..5bdc358 100644 --- a/examples/nginx-deployment/test.nix +++ b/examples/nginx-deployment/test.nix @@ -1,9 +1,13 @@ -{ config, lib, pkgs, kubenix, test, ... }: - -with lib; - { - imports = [ kubenix.modules.test ./module.nix ]; + config, + lib, + pkgs, + kubenix, + test, + ... +}: +with lib; { + imports = [kubenix.modules.test ./module.nix]; test = { name = "nginx-deployment"; diff --git a/flake.nix b/flake.nix index a3fd895..e190253 100644 --- a/flake.nix +++ b/flake.nix @@ -7,55 +7,59 @@ devshell-flake.url = "github:numtide/devshell"; }; - outputs = { self, nixpkgs, flake-utils, devshell-flake }: - - (flake-utils.lib.eachDefaultSystem (system: - let - + outputs = { + self, + nixpkgs, + flake-utils, + devshell-flake, + }: + (flake-utils.lib.eachDefaultSystem ( + system: let pkgs = import nixpkgs { inherit system; overlays = [ self.overlay devshell-flake.overlay ]; - config = { allowUnsupportedSystem = true; }; + config = {allowUnsupportedSystem = true;}; }; lib = pkgs.lib; kubenix = { - lib = import ./lib { inherit lib pkgs; }; + lib = import ./lib {inherit lib pkgs;}; evalModules = self.evalModules.${system}; modules = self.modules; }; # evalModules with same interface as lib.evalModules and kubenix as # special argument - evalModules = attrs@{ module ? null, modules ? [ module ], ... }: - let - lib' = lib.extend (lib: self: import ./lib/upstreamables.nix { inherit lib pkgs; }); - attrs' = builtins.removeAttrs attrs [ "module" ]; - in + evalModules = attrs @ { + module ? null, + modules ? [module], + ... + }: let + lib' = lib.extend (lib: self: import ./lib/upstreamables.nix {inherit lib pkgs;}); + attrs' = builtins.removeAttrs attrs ["module"]; + in lib'.evalModules (lib.recursiveUpdate { inherit modules; - specialArgs = { inherit kubenix; }; + specialArgs = {inherit kubenix;}; args = { inherit pkgs; name = "default"; }; } attrs'); - - in - { - + in { inherit evalModules; - jobs = import ./jobs { inherit pkgs; }; + jobs = import ./jobs {inherit pkgs;}; - devShell = with pkgs; devshell.mkShell - { imports = [ (devshell.importTOML ./devshell.toml) ]; }; + devShell = with pkgs; + devshell.mkShell + {imports = [(devshell.importTOML ./devshell.toml)];}; packages = flake-utils.lib.flattenTree { inherit (pkgs) kubernetes kubectl; @@ -66,31 +70,30 @@ if suite.success == true then pkgs.runCommandNoCC "testing-suite-config-assertions-for-${suite.name}-succeeded" {} "echo success > $out" else pkgs.runCommandNoCC "testing-suite-config-assertions-for-${suite.name}-failed" {} "exit 1"; - mkExamples = attrs: (import ./examples { inherit evalModules; }) - ({ registry = "docker.io/gatehub"; } // attrs); - mkK8STests = attrs: (import ./tests { inherit evalModules; }) - ({ registry = "docker.io/gatehub"; } // attrs); + mkExamples = attrs: + (import ./examples {inherit evalModules;}) + ({registry = "docker.io/gatehub";} // attrs); + mkK8STests = attrs: + (import ./tests {inherit evalModules;}) + ({registry = "docker.io/gatehub";} // attrs); in { # TODO: access "success" derivation with nice testing utils for nice output - nginx-example = wasSuccess (mkExamples { }).nginx-deployment.config.testing; - tests-k8s-1_19 = wasSuccess (mkK8STests { k8sVersion = "1.19"; }); - tests-k8s-1_20 = wasSuccess (mkK8STests { k8sVersion = "1.20"; }); - tests-k8s-1_21 = wasSuccess (mkK8STests { k8sVersion = "1.21"; }); + nginx-example = wasSuccess (mkExamples {}).nginx-deployment.config.testing; + tests-k8s-1_19 = wasSuccess (mkK8STests {k8sVersion = "1.19";}); + tests-k8s-1_20 = wasSuccess (mkK8STests {k8sVersion = "1.20";}); + tests-k8s-1_21 = wasSuccess (mkK8STests {k8sVersion = "1.21";}); }; - } )) - - // - - { + // { modules = import ./modules; overlay = final: prev: { kubenix.evalModules = self.evalModules.${prev.system}; # up to date versions of their nixpkgs equivalents - kubernetes = prev.callPackage ./pkgs/applications/networking/cluster/kubernetes - { }; - kubectl = prev.callPackage ./pkgs/applications/networking/cluster/kubectl { }; + kubernetes = + prev.callPackage ./pkgs/applications/networking/cluster/kubernetes + {}; + kubectl = prev.callPackage ./pkgs/applications/networking/cluster/kubectl {}; }; }; } diff --git a/jobs/default.nix b/jobs/default.nix index be97fe6..a855c7f 100644 --- a/jobs/default.nix +++ b/jobs/default.nix @@ -1,4 +1,3 @@ -{ pkgs }: -{ - generators = pkgs.callPackage ./generators { }; +{pkgs}: { + generators = pkgs.callPackage ./generators {}; } diff --git a/jobs/generators/default.nix b/jobs/generators/default.nix index 7ef48a4..7b01840 100644 --- a/jobs/generators/default.nix +++ b/jobs/generators/default.nix @@ -1,6 +1,7 @@ -{ pkgs, lib }: -let - +{ + pkgs, + lib, +}: let generateIstio = import ./istio { inherit pkgs @@ -8,22 +9,22 @@ let ; }; - generateK8S = name: spec: import ./k8s { - inherit - name - pkgs - lib - spec - ; - }; - -in -{ - - istio = pkgs.linkFarm "istio-generated" [{ - name = "latest.nix"; - path = generateIstio; - }]; + generateK8S = name: spec: + import ./k8s { + inherit + name + pkgs + lib + spec + ; + }; +in { + istio = pkgs.linkFarm "istio-generated" [ + { + name = "latest.nix"; + path = generateIstio; + } + ]; k8s = pkgs.linkFarm "k8s-generated" [ { @@ -50,5 +51,4 @@ in }); } ]; - } diff --git a/jobs/generators/istio/default.nix b/jobs/generators/istio/default.nix index 5acecba..c7b6e0e 100644 --- a/jobs/generators/istio/default.nix +++ b/jobs/generators/istio/default.nix @@ -1,13 +1,15 @@ -{ pkgs ? import { }, lib ? pkgs.lib, spec ? ./istio-schema.json }: - -with lib; -let +{ + pkgs ? import {}, + lib ? pkgs.lib, + spec ? ./istio-schema.json, +}: +with lib; let gen = rec { mkMerge = values: ''mkMerge [${concatMapStrings -(value: " + (value: " ${value} ") -values}]''; + values}]''; toNixString = value: if isAttrs value || isList value @@ -20,17 +22,18 @@ values}]''; removeEmptyLines = str: concatStringsSep "\n" (filter (l: (builtins.match "( |)+" l) == null) (splitString "\n" str)); - mkOption = - { description ? null - , type ? null - , default ? null - , apply ? null - }: removeEmptyLines ''mkOption { - ${optionalString (description != null) "description = ${builtins.toJSON description};"} - ${optionalString (type != null) ''type = ${type};''} - ${optionalString (default != null) ''default = ${toNixString default};''} - ${optionalString (apply != null) ''apply = ${apply};''} - }''; + mkOption = { + description ? null, + type ? null, + default ? null, + apply ? null, + }: + removeEmptyLines '' mkOption { + ${optionalString (description != null) "description = ${builtins.toJSON description};"} + ${optionalString (type != null) ''type = ${type};''} + ${optionalString (default != null) ''default = ${toNixString default};''} + ${optionalString (apply != null) ''apply = ${apply};''} + }''; mkOverride = priority: value: "mkOverride ${toString priority} ${toNixString value}"; @@ -43,327 +46,335 @@ values}]''; nullOr = val: "(types.nullOr ${val})"; attrsOf = val: "(types.attrsOf ${val})"; listOf = val: "(types.listOf ${val})"; - coercedTo = coercedType: coerceFunc: finalType: - "(types.coercedTo ${coercedType} ${coerceFunc} ${finalType})"; + coercedTo = coercedType: coerceFunc: finalType: "(types.coercedTo ${coercedType} ${coerceFunc} ${finalType})"; either = val1: val2: "(types.either ${val1} ${val2})"; loaOf = type: "(types.loaOf ${type})"; }; hasTypeMapping = def: - hasAttr "type" def && - elem def.type [ "string" "integer" "boolean" ]; + hasAttr "type" def + && elem def.type ["string" "integer" "boolean"]; mergeValuesByKey = mergeKey: ''(mergeValuesByKey "${mergeKey}")''; mapType = def: - if def.type == "string" then + if def.type == "string" + then if hasAttr "format" def && def.format == "int-or-string" then types.either types.int types.str else types.str - else if def.type == "integer" then types.int - else if def.type == "number" then types.int - else if def.type == "boolean" then types.bool - else if def.type == "object" then types.attrs + else if def.type == "integer" + then types.int + else if def.type == "number" + then types.int + else if def.type == "boolean" + then types.bool + else if def.type == "object" + then types.attrs else throw "type ${def.type} not supported"; submoduleOf = definitions: ref: ''(submoduleOf "${ref}")''; - submoduleForDefinition = ref: name: kind: group: version: - ''(submoduleForDefinition "${ref}" "${name}" "${kind}" "${group}" "${version}")''; + submoduleForDefinition = ref: name: kind: group: version: ''(submoduleForDefinition "${ref}" "${name}" "${kind}" "${group}" "${version}")''; - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: - ''(coerceAttrsOfSubmodulesToListByKey "${ref}" "${mergeKey}")''; + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: ''(coerceAttrsOfSubmodulesToListByKey "${ref}" "${mergeKey}")''; attrsToList = "values: if values != null then mapAttrsToList (n: v: v) values else values"; refDefinition = attr: head (tail (tail (splitString "/" attr."$ref"))); }; - fixJSON = content: replaceStrings [ "\\u" ] [ "u" ] content; + fixJSON = content: replaceStrings ["\\u"] ["u"] content; fetchSpecs = path: builtins.fromJSON (fixJSON (builtins.readFile path)); - genDefinitions = swagger: with gen; (mapAttrs - (name: definition: - # if $ref is in definition it means it's an alias of other definition - if hasAttr "$ref" definition - then definitions."${refDefinition definition}" - - else if !(hasAttr "properties" definition) - then { - type = mapType definition; - } - - else { - options = mapAttrs - (propName: property: - let - isRequired = elem propName (definition.required or [ ]); - requiredOrNot = type: if isRequired then type else types.nullOr type; - optionProperties = - # if $ref is in property it references other definition, - # but if other definition does not have properties, then just take it's type - if hasAttr "$ref" property then - if hasTypeMapping swagger.definitions.${refDefinition property} then { - type = requiredOrNot (mapType swagger.definitions.${refDefinition property}); - } - else { - type = requiredOrNot (submoduleOf definitions (refDefinition property)); - } - - else if !(hasAttr "type" property) then { - type = types.unspecified; - } - - # if property has an array type - else if property.type == "array" then - - # if reference is in items it can reference other type of another - # definition - if hasAttr "$ref" property.items then - - # if it is a reference to simple type - if hasTypeMapping swagger.definitions.${refDefinition property.items} - then { - type = requiredOrNot (types.listOf (mapType swagger.definitions.${refDefinition property.items}.type)); - } - - # if a reference is to complex type - else - # if x-kubernetes-patch-merge-key is set then make it an - # attribute set of submodules - if hasAttr "x-kubernetes-patch-merge-key" property - then - let - mergeKey = property."x-kubernetes-patch-merge-key"; - in - { - type = requiredOrNot (coerceAttrsOfSubmodulesToListByKey (refDefinition property.items) mergeKey); - apply = attrsToList; - } - - # in other case it's a simple list - else { - type = requiredOrNot (types.listOf (submoduleOf definitions (refDefinition property.items))); + genDefinitions = swagger: + with gen; (mapAttrs + ( + name: definition: + # if $ref is in definition it means it's an alias of other definition + if hasAttr "$ref" definition + then definitions."${refDefinition definition}" + else if !(hasAttr "properties" definition) + then { + type = mapType definition; + } + else { + options = + mapAttrs + ( + propName: property: let + isRequired = elem propName (definition.required or []); + requiredOrNot = type: + if isRequired + then type + else types.nullOr type; + optionProperties = + # if $ref is in property it references other definition, + # but if other definition does not have properties, then just take it's type + if hasAttr "$ref" property + then + if hasTypeMapping swagger.definitions.${refDefinition property} + then { + type = requiredOrNot (mapType swagger.definitions.${refDefinition property}); } - - # in other case it only references a simple type - else { - type = requiredOrNot (types.listOf (mapType property.items)); - } - - else if property.type == "object" && hasAttr "additionalProperties" property - then - # if it is a reference to simple type - if ( - hasAttr "$ref" property.additionalProperties && - hasTypeMapping swagger.definitions.${refDefinition property.additionalProperties} - ) then { - type = requiredOrNot (types.attrsOf (mapType swagger.definitions.${refDefinition property.additionalProperties})); - } - - else if hasAttr "$ref" property.additionalProperties - then { - type = requiredOrNot types.attrs; - } - - # if is an array - else if property.additionalProperties.type == "array" - then { - type = requiredOrNot (types.loaOf (mapType property.additionalProperties.items)); - } - - else { - type = requiredOrNot (types.attrsOf (mapType property.additionalProperties)); - } - - # just a simple property - else { - type = requiredOrNot (mapType property); - }; - in - mkOption ({ - description = property.description or ""; - } // optionProperties) - ) - definition.properties; - config = - let - optionalProps = filterAttrs - (propName: property: - !(elem propName (definition.required or [ ])) + else { + type = requiredOrNot (submoduleOf definitions (refDefinition property)); + } + else if !(hasAttr "type" property) + then { + type = types.unspecified; + } + # if property has an array type + else if property.type == "array" + then + # if reference is in items it can reference other type of another + # definition + if hasAttr "$ref" property.items + then + # if it is a reference to simple type + if hasTypeMapping swagger.definitions.${refDefinition property.items} + then { + type = requiredOrNot (types.listOf (mapType swagger.definitions.${refDefinition property.items}.type)); + } + # if a reference is to complex type + else + # if x-kubernetes-patch-merge-key is set then make it an + # attribute set of submodules + if hasAttr "x-kubernetes-patch-merge-key" property + then let + mergeKey = property."x-kubernetes-patch-merge-key"; + in { + type = requiredOrNot (coerceAttrsOfSubmodulesToListByKey (refDefinition property.items) mergeKey); + apply = attrsToList; + } + # in other case it's a simple list + else { + type = requiredOrNot (types.listOf (submoduleOf definitions (refDefinition property.items))); + } + # in other case it only references a simple type + else { + type = requiredOrNot (types.listOf (mapType property.items)); + } + else if property.type == "object" && hasAttr "additionalProperties" property + then + # if it is a reference to simple type + if + ( + hasAttr "$ref" property.additionalProperties + && hasTypeMapping swagger.definitions.${refDefinition property.additionalProperties} + ) + then { + type = requiredOrNot (types.attrsOf (mapType swagger.definitions.${refDefinition property.additionalProperties})); + } + else if hasAttr "$ref" property.additionalProperties + then { + type = requiredOrNot types.attrs; + } + # if is an array + else if property.additionalProperties.type == "array" + then { + type = requiredOrNot (types.loaOf (mapType property.additionalProperties.items)); + } + else { + type = requiredOrNot (types.attrsOf (mapType property.additionalProperties)); + } + # just a simple property + else { + type = requiredOrNot (mapType property); + }; + in + mkOption ({ + description = property.description or ""; + } + // optionProperties) ) definition.properties; - in - mapAttrs (name: property: mkOverride 1002 null) optionalProps; - } - ) - swagger.definitions); + config = let + optionalProps = + filterAttrs + ( + propName: property: + !(elem propName (definition.required or [])) + ) + definition.properties; + in + mapAttrs (name: property: mkOverride 1002 null) optionalProps; + } + ) + swagger.definitions); - genResources = swagger: (mapAttrsToList - (name: property: rec { - splittedType = splitString "." (removePrefix "me.snowdrop.istio.api." property.javaType); - group = (concatStringsSep "." (take ((length splittedType) - 2) splittedType)) + ".istio.io"; - kind = removeSuffix "Spec" (last splittedType); - version = last (take ((length splittedType) - 1) splittedType); - ref = removePrefix "#/definitions/" property."$ref"; - }) - (filterAttrs - (name: property: - (hasPrefix "me.snowdrop.istio.api" property.javaType) && - hasSuffix "Spec" property.javaType - ) - swagger.properties)) ++ (mapAttrsToList - (name: property: rec { - splittedType = splitString "." (removePrefix "me.snowdrop.istio.mixer." property.javaType); - group = "config.istio.io"; - version = "v1alpha2"; - kind = head (tail splittedType); - ref = removePrefix "#/definitions/" property."$ref"; - }) - (filterAttrs - (name: property: - (hasPrefix "me.snowdrop.istio.mixer" property.javaType) && - hasSuffix "Spec" property.javaType - ) - swagger.properties)); + genResources = swagger: + (mapAttrsToList + (name: property: rec { + splittedType = splitString "." (removePrefix "me.snowdrop.istio.api." property.javaType); + group = (concatStringsSep "." (take ((length splittedType) - 2) splittedType)) + ".istio.io"; + kind = removeSuffix "Spec" (last splittedType); + version = last (take ((length splittedType) - 1) splittedType); + ref = removePrefix "#/definitions/" property."$ref"; + }) + (filterAttrs + ( + name: property: + (hasPrefix "me.snowdrop.istio.api" property.javaType) + && hasSuffix "Spec" property.javaType + ) + swagger.properties)) + ++ (mapAttrsToList + (name: property: rec { + splittedType = splitString "." (removePrefix "me.snowdrop.istio.mixer." property.javaType); + group = "config.istio.io"; + version = "v1alpha2"; + kind = head (tail splittedType); + ref = removePrefix "#/definitions/" property."$ref"; + }) + (filterAttrs + ( + name: property: + (hasPrefix "me.snowdrop.istio.mixer" property.javaType) + && hasSuffix "Spec" property.javaType + ) + swagger.properties)); swagger = fetchSpecs spec; definitions = genDefinitions swagger; generated = '' - # This file was generated with kubenix k8s generator, do not edit - {lib, config, ... }: + # This file was generated with kubenix k8s generator, do not edit + {lib, config, ... }: - with lib; + with lib; - let - types = lib.types // rec { - str = mkOptionType { - name = "str"; - description = "string"; - check = isString; - merge = mergeEqualOption; + let + types = lib.types // rec { + str = mkOptionType { + name = "str"; + description = "string"; + check = isString; + merge = mergeEqualOption; + }; + + # Either value of type `finalType` or `coercedType`, the latter is + # converted to `finalType` using `coerceFunc`. + coercedTo = coercedType: coerceFunc: finalType: + mkOptionType rec { + name = "coercedTo"; + description = "''${finalType.description} or ''${coercedType.description}"; + check = x: finalType.check x || coercedType.check x; + merge = loc: defs: + let + coerceVal = val: + if finalType.check val then val + else let + coerced = coerceFunc val; + in assert finalType.check coerced; coerced; + + in finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); + getSubOptions = finalType.getSubOptions; + getSubModules = finalType.getSubModules; + substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); + typeMerge = t1: t2: null; + functor = (defaultFunctor name) // { wrapped = finalType; }; + }; }; - # Either value of type `finalType` or `coercedType`, the latter is - # converted to `finalType` using `coerceFunc`. - coercedTo = coercedType: coerceFunc: finalType: - mkOptionType rec { - name = "coercedTo"; - description = "''${finalType.description} or ''${coercedType.description}"; - check = x: finalType.check x || coercedType.check x; - merge = loc: defs: - let - coerceVal = val: - if finalType.check val then val - else let - coerced = coerceFunc val; - in assert finalType.check coerced; coerced; + mkOptionDefault = mkOverride 1001; - in finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); - getSubOptions = finalType.getSubOptions; - getSubModules = finalType.getSubModules; - substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); - typeMerge = t1: t2: null; - functor = (defaultFunctor name) // { wrapped = finalType; }; + extraOptions = { + kubenix = {}; }; - }; - mkOptionDefault = mkOverride 1001; + mergeValuesByKey = mergeKey: values: + listToAttrs (map + (value: nameValuePair ( + if isAttrs value.''${mergeKey} + then toString value.''${mergeKey}.content + else (toString value.''${mergeKey}) + ) value) + values); - extraOptions = { - kubenix = {}; - }; - - mergeValuesByKey = mergeKey: values: - listToAttrs (map - (value: nameValuePair ( - if isAttrs value.''${mergeKey} - then toString value.''${mergeKey}.content - else (toString value.''${mergeKey}) - ) value) - values); - - submoduleOf = ref: types.submodule ({name, ...}: { - options = definitions."''${ref}".options; - config = definitions."''${ref}".config; - }); - - submoduleWithMergeOf = ref: mergeKey: types.submodule ({name, ...}: let - convertName = name: - if definitions."''${ref}".options.''${mergeKey}.type == types.int - then toInt name - else name; - in { - options = definitions."''${ref}".options; - config = definitions."''${ref}".config // { - ''${mergeKey} = mkOverride 1002 (convertName name); - }; - }); - - submoduleForDefinition = ref: resource: kind: group: version: - types.submodule ({name, ...}: { - options = definitions."''${ref}".options // extraOptions; - config = mkMerge ([ - definitions."''${ref}".config - { - kind = mkOptionDefault kind; - apiVersion = mkOptionDefault version; - - # metdata.name cannot use option default, due deep config - metadata.name = mkOptionDefault name; - } - ] ++ (config.defaults.''${resource} or []) - ++ (config.defaults.all or [])); + submoduleOf = ref: types.submodule ({name, ...}: { + options = definitions."''${ref}".options; + config = definitions."''${ref}".config; }); - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: (types.coercedTo - (types.listOf (submoduleOf ref)) - (mergeValuesByKey mergeKey) - (types.attrsOf (submoduleWithMergeOf ref mergeKey)) - ); + submoduleWithMergeOf = ref: mergeKey: types.submodule ({name, ...}: let + convertName = name: + if definitions."''${ref}".options.''${mergeKey}.type == types.int + then toInt name + else name; + in { + options = definitions."''${ref}".options; + config = definitions."''${ref}".config // { + ''${mergeKey} = mkOverride 1002 (convertName name); + }; + }); - definitions = { - ${concatStrings (mapAttrsToList (name: value: '' + submoduleForDefinition = ref: resource: kind: group: version: + types.submodule ({name, ...}: { + options = definitions."''${ref}".options // extraOptions; + config = mkMerge ([ + definitions."''${ref}".config + { + kind = mkOptionDefault kind; + apiVersion = mkOptionDefault version; + + # metdata.name cannot use option default, due deep config + metadata.name = mkOptionDefault name; + } + ] ++ (config.defaults.''${resource} or []) + ++ (config.defaults.all or [])); + }); + + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: (types.coercedTo + (types.listOf (submoduleOf ref)) + (mergeValuesByKey mergeKey) + (types.attrsOf (submoduleWithMergeOf ref mergeKey)) + ); + + definitions = { + ${concatStrings (mapAttrsToList (name: value: '' "${name}" = {${optionalString (hasAttr "options" value) " options = {${concatStrings (mapAttrsToList (name: value: '' "${name}" = ${value}; - '') value.options)}}; + '') + value.options)}}; "} ${optionalString (hasAttr "config" value) '' - config = {${concatStrings (mapAttrsToList (name: value: '' + config = {${concatStrings (mapAttrsToList (name: value: '' "${name}" = ${value}; - '') value.config)}}; - ''} + '') + value.config)}}; + ''} }; - '') definitions)} - } // (import ./overrides.nix {inheirt definitions lib;})); - in { - kubernetes.customResources = [ - ${concatMapStrings - (resource: ''{ - group = "${resource.group}"; - version = "${resource.version}"; - kind = "${resource.kind}"; - description = ""; - module = definitions."${resource.ref}"; - }'') - (genResources swagger)} - ]; - } -''; + '') + definitions)} + } // (import ./overrides.nix {inheirt definitions lib;})); + in { + kubernetes.customResources = [ + ${concatMapStrings + (resource: '' { + group = "${resource.group}"; + version = "${resource.version}"; + kind = "${resource.kind}"; + description = ""; + module = definitions."${resource.ref}"; + }'') + (genResources swagger)} + ]; + } + ''; in -pkgs.runCommand "istio-gen.nix" -{ - buildInputs = [ pkgs.nixpkgs-fmt ]; -} '' - cat << 'GENERATED' > ./raw - "${generated}" - GENERATED + pkgs.runCommand "istio-gen.nix" + { + buildInputs = [pkgs.nixpkgs-fmt]; + } '' + cat << 'GENERATED' > ./raw + "${generated}" + GENERATED - nixpkgs-fmt ./raw - cp ./raw $out -'' + nixpkgs-fmt ./raw + cp ./raw $out + '' diff --git a/jobs/generators/k8s/default.nix b/jobs/generators/k8s/default.nix index fdf3902..4f89c9a 100644 --- a/jobs/generators/k8s/default.nix +++ b/jobs/generators/k8s/default.nix @@ -1,17 +1,16 @@ -{ name -, pkgs -, lib -, spec +{ + name, + pkgs, + lib, + spec, }: - -with lib; -let +with lib; let gen = rec { mkMerge = values: ''mkMerge [${concatMapStrings -(value: " + (value: " ${value} ") -values}]''; + values}]''; toNixString = value: if isAttrs value || isList value @@ -24,17 +23,18 @@ values}]''; removeEmptyLines = str: concatStringsSep "\n" (filter (l: (builtins.match "( |)+" l) == null) (splitString "\n" str)); - mkOption = - { description ? null - , type ? null - , default ? null - , apply ? null - }: removeEmptyLines ''mkOption { - ${optionalString (description != null) "description = ${builtins.toJSON description};"} - ${optionalString (type != null) ''type = ${type};''} - ${optionalString (default != null) ''default = ${toNixString default};''} - ${optionalString (apply != null) ''apply = ${apply};''} - }''; + mkOption = { + description ? null, + type ? null, + default ? null, + apply ? null, + }: + removeEmptyLines '' mkOption { + ${optionalString (description != null) "description = ${builtins.toJSON description};"} + ${optionalString (type != null) ''type = ${type};''} + ${optionalString (default != null) ''default = ${toNixString default};''} + ${optionalString (apply != null) ''apply = ${apply};''} + }''; mkOverride = priority: value: "mkOverride ${toString priority} ${toNixString value}"; @@ -47,36 +47,38 @@ values}]''; nullOr = val: "(types.nullOr ${val})"; attrsOf = val: "(types.attrsOf ${val})"; listOf = val: "(types.listOf ${val})"; - coercedTo = coercedType: coerceFunc: finalType: - "(types.coercedTo ${coercedType} ${coerceFunc} ${finalType})"; + coercedTo = coercedType: coerceFunc: finalType: "(types.coercedTo ${coercedType} ${coerceFunc} ${finalType})"; either = val1: val2: "(types.either ${val1} ${val2})"; loaOf = type: "(types.loaOf ${type})"; }; hasTypeMapping = def: - hasAttr "type" def && - elem def.type [ "string" "integer" "boolean" ]; + hasAttr "type" def + && elem def.type ["string" "integer" "boolean"]; mergeValuesByKey = mergeKey: ''(mergeValuesByKey "${mergeKey}")''; mapType = def: - if def.type == "string" then + if def.type == "string" + then if hasAttr "format" def && def.format == "int-or-string" then types.either types.int types.str else types.str - else if def.type == "integer" then types.int - else if def.type == "number" then types.int - else if def.type == "boolean" then types.bool - else if def.type == "object" then types.attrs + else if def.type == "integer" + then types.int + else if def.type == "number" + then types.int + else if def.type == "boolean" + then types.bool + else if def.type == "object" + then types.attrs else throw "type ${def.type} not supported"; submoduleOf = definitions: ref: ''(submoduleOf "${ref}")''; - submoduleForDefinition = ref: name: kind: group: version: - ''(submoduleForDefinition "${ref}" "${name}" "${kind}" "${group}" "${version}")''; + submoduleForDefinition = ref: name: kind: group: version: ''(submoduleForDefinition "${ref}" "${name}" "${kind}" "${group}" "${version}")''; - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: - ''(coerceAttrsOfSubmodulesToListByKey "${ref}" "${mergeKey}")''; + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: ''(coerceAttrsOfSubmodulesToListByKey "${ref}" "${mergeKey}")''; attrsToList = "values: if values != null then mapAttrsToList (n: v: v) values else values"; @@ -85,179 +87,193 @@ values}]''; refType = attr: head (tail (tail (splitString "/" attr."$ref"))); - compareVersions = ver1: ver2: - let - getVersion = v: substring 1 10 v; - splitVersion = v: builtins.splitVersion (getVersion v); - isAlpha = v: elem "alpha" (splitVersion v); - patchVersion = v: - if isAlpha v then "" - else if length (splitVersion v) == 1 then "${getVersion v}prod" - else getVersion v; + compareVersions = ver1: ver2: let + getVersion = v: substring 1 10 v; + splitVersion = v: builtins.splitVersion (getVersion v); + isAlpha = v: elem "alpha" (splitVersion v); + patchVersion = v: + if isAlpha v + then "" + else if length (splitVersion v) == 1 + then "${getVersion v}prod" + else getVersion v; - v1 = patchVersion ver1; - v2 = patchVersion ver2; - in + v1 = patchVersion ver1; + v2 = patchVersion ver2; + in builtins.compareVersions v1 v2; - fixJSON = content: replaceStrings [ "\\u" ] [ "u" ] content; + fixJSON = content: replaceStrings ["\\u"] ["u"] content; fetchSpecs = path: builtins.fromJSON (fixJSON (builtins.readFile path)); - genDefinitions = swagger: with gen; mapAttrs - (name: definition: - # if $ref is in definition it means it's an alias of other definition - if hasAttr "$ref" definition - then definitions."${refDefinition definition}" - - else if !(hasAttr "properties" definition) - then { } - - # in other case it's an actual definition - else { - options = mapAttrs - (propName: property: - let - isRequired = elem propName (definition.required or [ ]); - requiredOrNot = type: if isRequired then type else types.nullOr type; - optionProperties = - - # if $ref is in property it references other definition, - # but if other definition does not have properties, then just take it's type - if hasAttr "$ref" property then - if hasTypeMapping swagger.definitions.${refDefinition property} then { - type = requiredOrNot (mapType swagger.definitions.${refDefinition property}); - } - else { - type = requiredOrNot (submoduleOf definitions (refDefinition property)); - } - - # if property has an array type - else if property.type == "array" then - - # if reference is in items it can reference other type of another - # definition - if hasAttr "$ref" property.items then - - # if it is a reference to simple type - if hasTypeMapping swagger.definitions.${refDefinition property.items} - then { - type = requiredOrNot (types.listOf (mapType swagger.definitions.${refDefinition property.items}.type)); - } - - # if a reference is to complex type - else - # if x-kubernetes-patch-merge-key is set then make it an - # attribute set of submodules - if hasAttr "x-kubernetes-patch-merge-key" property - then - let - mergeKey = property."x-kubernetes-patch-merge-key"; - in - { - type = requiredOrNot (coerceAttrsOfSubmodulesToListByKey (refDefinition property.items) mergeKey); - apply = attrsToList; - } - - # in other case it's a simple list - else { - type = requiredOrNot (types.listOf (submoduleOf definitions (refDefinition property.items))); + genDefinitions = swagger: + with gen; + mapAttrs + ( + name: definition: + # if $ref is in definition it means it's an alias of other definition + if hasAttr "$ref" definition + then definitions."${refDefinition definition}" + else if !(hasAttr "properties" definition) + then {} + # in other case it's an actual definition + else { + options = + mapAttrs + ( + propName: property: let + isRequired = elem propName (definition.required or []); + requiredOrNot = type: + if isRequired + then type + else types.nullOr type; + optionProperties = + # if $ref is in property it references other definition, + # but if other definition does not have properties, then just take it's type + if hasAttr "$ref" property + then + if hasTypeMapping swagger.definitions.${refDefinition property} + then { + type = requiredOrNot (mapType swagger.definitions.${refDefinition property}); } - - # in other case it only references a simple type - else { - type = requiredOrNot (types.listOf (mapType property.items)); - } - - else if property.type == "object" && hasAttr "additionalProperties" property - then - # if it is a reference to simple type - if ( - hasAttr "$ref" property.additionalProperties && - hasTypeMapping swagger.definitions.${refDefinition property.additionalProperties} - ) then { - type = requiredOrNot (types.attrsOf (mapType swagger.definitions.${refDefinition property.additionalProperties})); - } - - else if hasAttr "$ref" property.additionalProperties - then { - type = requiredOrNot types.attrs; - } - - # if is an array - else if property.additionalProperties.type == "array" - then { - type = requiredOrNot (types.loaOf (mapType property.additionalProperties.items)); - } - - else { - type = requiredOrNot (types.attrsOf (mapType property.additionalProperties)); - } - - # just a simple property - else { - type = requiredOrNot (mapType property); - }; - in - mkOption ({ - description = property.description or ""; - } // optionProperties) - ) - definition.properties; - config = - let - optionalProps = filterAttrs - (propName: property: - !(elem propName (definition.required or [ ])) + else { + type = requiredOrNot (submoduleOf definitions (refDefinition property)); + } + # if property has an array type + else if property.type == "array" + then + # if reference is in items it can reference other type of another + # definition + if hasAttr "$ref" property.items + then + # if it is a reference to simple type + if hasTypeMapping swagger.definitions.${refDefinition property.items} + then { + type = requiredOrNot (types.listOf (mapType swagger.definitions.${refDefinition property.items}.type)); + } + # if a reference is to complex type + else + # if x-kubernetes-patch-merge-key is set then make it an + # attribute set of submodules + if hasAttr "x-kubernetes-patch-merge-key" property + then let + mergeKey = property."x-kubernetes-patch-merge-key"; + in { + type = requiredOrNot (coerceAttrsOfSubmodulesToListByKey (refDefinition property.items) mergeKey); + apply = attrsToList; + } + # in other case it's a simple list + else { + type = requiredOrNot (types.listOf (submoduleOf definitions (refDefinition property.items))); + } + # in other case it only references a simple type + else { + type = requiredOrNot (types.listOf (mapType property.items)); + } + else if property.type == "object" && hasAttr "additionalProperties" property + then + # if it is a reference to simple type + if + ( + hasAttr "$ref" property.additionalProperties + && hasTypeMapping swagger.definitions.${refDefinition property.additionalProperties} + ) + then { + type = requiredOrNot (types.attrsOf (mapType swagger.definitions.${refDefinition property.additionalProperties})); + } + else if hasAttr "$ref" property.additionalProperties + then { + type = requiredOrNot types.attrs; + } + # if is an array + else if property.additionalProperties.type == "array" + then { + type = requiredOrNot (types.loaOf (mapType property.additionalProperties.items)); + } + else { + type = requiredOrNot (types.attrsOf (mapType property.additionalProperties)); + } + # just a simple property + else { + type = requiredOrNot (mapType property); + }; + in + mkOption ({ + description = property.description or ""; + } + // optionProperties) ) definition.properties; - in - mapAttrs (name: property: mkOverride 1002 null) optionalProps; - } - ) - swagger.definitions; + config = let + optionalProps = + filterAttrs + ( + propName: property: + !(elem propName (definition.required or [])) + ) + definition.properties; + in + mapAttrs (name: property: mkOverride 1002 null) optionalProps; + } + ) + swagger.definitions; - mapCharPairs = f: s1: s2: concatStrings (imap0 - (i: c1: - f i c1 (if i >= stringLength s2 then "" else elemAt (stringToCharacters s2) i) - ) - (stringToCharacters s1)); + mapCharPairs = f: s1: s2: + concatStrings (imap0 + ( + i: c1: + f i c1 ( + if i >= stringLength s2 + then "" + else elemAt (stringToCharacters s2) i + ) + ) + (stringToCharacters s1)); getAttrName = resource: kind: mapCharPairs - (i: c1: c2: - if hasPrefix "API" kind && i == 0 then "A" - else if i == 0 then c1 - else if c2 == "" || (toLower c2) != c1 then c1 + ( + i: c1: c2: + if hasPrefix "API" kind && i == 0 + then "A" + else if i == 0 + then c1 + else if c2 == "" || (toLower c2) != c1 + then c1 else c2 - ) - resource - kind; + ) + resource + kind; - genResourceTypes = swagger: mapAttrs' - (name: path: - let - ref = refType (head path.post.parameters).schema; - group' = path.post."x-kubernetes-group-version-kind".group; - version' = path.post."x-kubernetes-group-version-kind".version; - kind' = path.post."x-kubernetes-group-version-kind".kind; - name' = last (splitString "/" name); - attrName = getAttrName name' kind'; - in + genResourceTypes = swagger: + mapAttrs' + (name: path: let + ref = refType (head path.post.parameters).schema; + group' = path.post."x-kubernetes-group-version-kind".group; + version' = path.post."x-kubernetes-group-version-kind".version; + kind' = path.post."x-kubernetes-group-version-kind".kind; + name' = last (splitString "/" name); + attrName = getAttrName name' kind'; + in nameValuePair ref { inherit ref attrName; name = name'; - group = if group' == "" then "core" else group'; + group = + if group' == "" + then "core" + else group'; version = version'; kind = kind'; description = swagger.definitions.${ref}.description; defintion = refDefinition (head path.post.parameters).schema; }) (filterAttrs - (name: path: - hasAttr "post" path && - path.post."x-kubernetes-action" == "post" + ( + name: path: + hasAttr "post" path + && path.post."x-kubernetes-action" == "post" ) swagger.paths); @@ -271,35 +287,38 @@ values}]''; }) resourceTypes); - resourcesTypesByKindSortByVersion = mapAttrs - (kind: resourceTypes: - reverseList (sort - (r1: r2: - compareVersions r1.version r2.version > 0 - ) - resourceTypes) + resourcesTypesByKindSortByVersion = + mapAttrs + ( + kind: resourceTypes: + reverseList (sort + ( + r1: r2: + compareVersions r1.version r2.version > 0 + ) + resourceTypes) ) resourceTypesByKind; latestResourceTypesByKind = mapAttrs (kind: resources: last resources) resourcesTypesByKindSortByVersion; - genResourceOptions = resource: with gen; let - submoduleForDefinition' = definition: - let + genResourceOptions = resource: + with gen; let + submoduleForDefinition' = definition: let in - submoduleForDefinition + submoduleForDefinition definition.ref definition.name definition.kind definition.group definition.version; - in - mkOption { - description = resource.description; - type = types.attrsOf (submoduleForDefinition' resource); - default = { }; - }; + in + mkOption { + description = resource.description; + type = types.attrsOf (submoduleForDefinition' resource); + default = {}; + }; generated = '' # This file was generated with kubenix k8s generator, do not edit @@ -401,32 +420,37 @@ values}]''; definitions = { ${concatStrings (mapAttrsToList (name: value: '' - "${name}" = { - ${optionalString (hasAttr "options" value) " + "${name}" = { + ${optionalString (hasAttr "options" value) " options = {${concatStrings (mapAttrsToList (name: value: '' - "${name}" = ${value}; - '') value.options)}}; + "${name}" = ${value}; + '') + value.options)}}; "} - ${optionalString (hasAttr "config" value) '' - config = {${concatStrings (mapAttrsToList (name: value: '' - "${name}" = ${value}; - '') value.config)}}; - ''} - }; - '') definitions)} + ${optionalString (hasAttr "config" value) '' + config = {${concatStrings (mapAttrsToList (name: value: '' + "${name}" = ${value}; + '') + value.config)}}; + ''} + }; + '') + definitions)} }; in { # all resource versions options = { resources = { ${concatStrings (mapAttrsToList (_: rt: '' - "${rt.group}"."${rt.version}"."${rt.kind}" = ${genResourceOptions rt}; - '') resourceTypes)} + "${rt.group}"."${rt.version}"."${rt.kind}" = ${genResourceOptions rt}; + '') + resourceTypes)} } // { ${concatStrings (mapAttrsToList (_: rt: '' - "${rt.attrName}" = ${genResourceOptions rt}; - '') latestResourceTypesByKind)} + "${rt.attrName}" = ${genResourceOptions rt}; + '') + latestResourceTypesByKind)} }; }; @@ -435,32 +459,34 @@ values}]''; inherit definitions; # register resource types - types = [${concatStrings (mapAttrsToList (_: rt: ''{ - name = "${rt.name}"; - group = "${rt.group}"; - version = "${rt.version}"; - kind = "${rt.kind}"; - attrName = "${rt.attrName}"; - }'') resourceTypes)}]; + types = [${concatStrings (mapAttrsToList (_: rt: '' { + name = "${rt.name}"; + group = "${rt.group}"; + version = "${rt.version}"; + kind = "${rt.kind}"; + attrName = "${rt.attrName}"; + }'') + resourceTypes)}]; resources = { ${concatStrings (mapAttrsToList (_: rt: '' - "${rt.group}"."${rt.version}"."${rt.kind}" = - mkAliasDefinitions options.resources."${rt.attrName}"; - '') latestResourceTypesByKind)} + "${rt.group}"."${rt.version}"."${rt.kind}" = + mkAliasDefinitions options.resources."${rt.attrName}"; + '') + latestResourceTypesByKind)} }; }; } ''; in -pkgs.runCommand "k8s-${name}-gen.nix" -{ - buildInputs = [ pkgs.nixpkgs-fmt ]; -} '' - cat << 'GENERATED' > ./raw - "${generated}" - GENERATED + pkgs.runCommand "k8s-${name}-gen.nix" + { + buildInputs = [pkgs.nixpkgs-fmt]; + } '' + cat << 'GENERATED' > ./raw + "${generated}" + GENERATED - nixpkgs-fmt ./raw - cp ./raw $out -'' + nixpkgs-fmt ./raw + cp ./raw $out + '' diff --git a/lib/default.nix b/lib/default.nix index 64376ac..d0abacd 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -1,7 +1,8 @@ -{ lib, pkgs }: - { - k8s = import ./k8s { inherit lib; }; - docker = import ./docker { inherit lib pkgs; }; - helm = import ./helm { inherit pkgs; }; + lib, + pkgs, +}: { + k8s = import ./k8s {inherit lib;}; + docker = import ./docker {inherit lib pkgs;}; + helm = import ./helm {inherit pkgs;}; } diff --git a/lib/docker/default.nix b/lib/docker/default.nix index e8ca74f..5430583 100644 --- a/lib/docker/default.nix +++ b/lib/docker/default.nix @@ -1,9 +1,13 @@ -{ lib, pkgs }: - -with lib; - { - copyDockerImages = { images, dest, args ? "" }: + lib, + pkgs, +}: +with lib; { + copyDockerImages = { + images, + dest, + args ? "", + }: pkgs.writeScript "copy-docker-images.sh" (concatMapStrings (image: '' #!${pkgs.runtimeShell} diff --git a/lib/helm/chart2json.nix b/lib/helm/chart2json.nix index 6b9b8ae..029ec86 100644 --- a/lib/helm/chart2json.nix +++ b/lib/helm/chart2json.nix @@ -1,54 +1,54 @@ -{ stdenvNoCC, lib, kubernetes-helm, gawk, remarshal, jq }: - -with lib; - { - # chart to template - chart - - # release name -, name - - # namespace to install release into -, namespace ? null - - # values to pass to chart -, values ? { } - - # kubernetes version to template chart for -, kubeVersion ? null + stdenvNoCC, + lib, + kubernetes-helm, + gawk, + remarshal, + jq, }: -let - valuesJsonFile = builtins.toFile "${name}-values.json" (builtins.toJSON values); -in -stdenvNoCC.mkDerivation { - name = "${name}.json"; - buildCommand = '' - # template helm file and write resources to yaml - helm template "${name}" \ - ${optionalString (kubeVersion != null) "--api-versions ${kubeVersion}"} \ - ${optionalString (namespace != null) "--namespace ${namespace}"} \ - ${optionalString (values != { }) "-f ${valuesJsonFile}"} \ - ${chart} >resources.yaml +with lib; + { + # chart to template + chart, + # release name + name, + # namespace to install release into + namespace ? null, + # values to pass to chart + values ? {}, + # kubernetes version to template chart for + kubeVersion ? null, + }: let + valuesJsonFile = builtins.toFile "${name}-values.json" (builtins.toJSON values); + in + stdenvNoCC.mkDerivation { + name = "${name}.json"; + buildCommand = '' + # template helm file and write resources to yaml + helm template "${name}" \ + ${optionalString (kubeVersion != null) "--api-versions ${kubeVersion}"} \ + ${optionalString (namespace != null) "--namespace ${namespace}"} \ + ${optionalString (values != {}) "-f ${valuesJsonFile}"} \ + ${chart} >resources.yaml - # split multy yaml file into multiple files - awk 'BEGIN{i=1}{line[i++]=$0}END{j=1;n=0; while (j>"resource-"n".yaml"; j++}}' resources.yaml + # split multy yaml file into multiple files + awk 'BEGIN{i=1}{line[i++]=$0}END{j=1;n=0; while (j>"resource-"n".yaml"; j++}}' resources.yaml - # join multiple yaml files in jsonl file - for file in ./resource-*.yaml - do - remarshal -i $file -if yaml -of json >>resources.jsonl - done + # join multiple yaml files in jsonl file + for file in ./resource-*.yaml + do + remarshal -i $file -if yaml -of json >>resources.jsonl + done - # convert jsonl file to json array, remove null values and write to $out - cat resources.jsonl | jq -Scs 'walk( - if type == "object" then - with_entries(select(.value != null)) - elif type == "array" then - map(select(. != null)) - else - . - end)' > $out - ''; - nativeBuildInputs = [ kubernetes-helm gawk remarshal jq ]; -} + # convert jsonl file to json array, remove null values and write to $out + cat resources.jsonl | jq -Scs 'walk( + if type == "object" then + with_entries(select(.value != null)) + elif type == "array" then + map(select(. != null)) + else + . + end)' > $out + ''; + nativeBuildInputs = [kubernetes-helm gawk remarshal jq]; + } diff --git a/lib/helm/default.nix b/lib/helm/default.nix index 093251b..082a14d 100644 --- a/lib/helm/default.nix +++ b/lib/helm/default.nix @@ -1,6 +1,4 @@ -{ pkgs }: - -{ - chart2json = pkgs.callPackage ./chart2json.nix { }; - fetch = pkgs.callPackage ./fetchhelm.nix { }; +{pkgs}: { + chart2json = pkgs.callPackage ./chart2json.nix {}; + fetch = pkgs.callPackage ./fetchhelm.nix {}; } diff --git a/lib/helm/fetchhelm.nix b/lib/helm/fetchhelm.nix index 89fb546..177c4dc 100644 --- a/lib/helm/fetchhelm.nix +++ b/lib/helm/fetchhelm.nix @@ -1,50 +1,80 @@ -{ stdenvNoCC, lib, kubernetes-helm, cacert }: -let - cleanName = name: lib.replaceStrings [ "/" ] [ "-" ] name; - -in { - # name of the chart - chart + stdenvNoCC, + lib, + kubernetes-helm, + cacert, +}: let + cleanName = name: lib.replaceStrings ["/"] ["-"] name; +in + { + # name of the chart + chart, + # chart url to fetch from custom location + chartUrl ? null, + # version of the chart + version ? null, + # chart hash + sha256, + # whether to extract chart + untar ? true, + # use custom charts repo + repo ? null, + # pass --verify to helm chart + verify ? false, + # pass --devel to helm chart + devel ? false, + }: + stdenvNoCC.mkDerivation { + name = "${cleanName chart}-${ + if version == null + then "dev" + else version + }"; - # chart url to fetch from custom location -, chartUrl ? null - - # version of the chart -, version ? null - - # chart hash -, sha256 - - # whether to extract chart -, untar ? true - - # use custom charts repo -, repo ? null - - # pass --verify to helm chart -, verify ? false - - # pass --devel to helm chart -, devel ? false -}: stdenvNoCC.mkDerivation { - name = "${cleanName chart}-${if version == null then "dev" else version}"; - - buildCommand = '' - export HOME="$PWD" - echo "adding helm repo" - ${if repo == null then "" else "helm repo add repository ${repo}"} - echo "fetching helm chart" - helm fetch -d ./chart \ - ${if untar then "--untar" else ""} \ - ${if version == null then "" else "--version ${version}"} \ - ${if devel then "--devel" else ""} \ - ${if verify then "--verify" else ""} \ - ${if chartUrl == null then (if repo == null then chart else "repository/${chart}") else chartUrl} - cp -r chart/*/ $out - ''; - outputHashMode = "recursive"; - outputHashAlgo = "sha256"; - outputHash = sha256; - nativeBuildInputs = [ kubernetes-helm cacert ]; -} + buildCommand = '' + export HOME="$PWD" + echo "adding helm repo" + ${ + if repo == null + then "" + else "helm repo add repository ${repo}" + } + echo "fetching helm chart" + helm fetch -d ./chart \ + ${ + if untar + then "--untar" + else "" + } \ + ${ + if version == null + then "" + else "--version ${version}" + } \ + ${ + if devel + then "--devel" + else "" + } \ + ${ + if verify + then "--verify" + else "" + } \ + ${ + if chartUrl == null + then + ( + if repo == null + then chart + else "repository/${chart}" + ) + else chartUrl + } + cp -r chart/*/ $out + ''; + outputHashMode = "recursive"; + outputHashAlgo = "sha256"; + outputHash = sha256; + nativeBuildInputs = [kubernetes-helm cacert]; + } diff --git a/lib/helm/test.nix b/lib/helm/test.nix index e763bd7..6f70351 100644 --- a/lib/helm/test.nix +++ b/lib/helm/test.nix @@ -1,9 +1,7 @@ -{ pkgs ? import { } }: -let - fetchhelm = pkgs.callPackage ./fetchhelm.nix { }; - chart2json = pkgs.callPackage ./chart2json.nix { }; -in -rec { +{pkgs ? import {}}: let + fetchhelm = pkgs.callPackage ./fetchhelm.nix {}; + chart2json = pkgs.callPackage ./chart2json.nix {}; +in rec { postgresql-chart = fetchhelm { chart = "stable/postgresql"; version = "0.18.1"; diff --git a/lib/k8s/default.nix b/lib/k8s/default.nix index 306493f..20a5495 100644 --- a/lib/k8s/default.nix +++ b/lib/k8s/default.nix @@ -1,31 +1,43 @@ -{ lib }: - -with lib; - -rec { +{lib}: +with lib; rec { # TODO: refactor with mkOptionType - mkSecretOption = { description ? "", default ? { }, allowNull ? true }: mkOption { - inherit description; - type = (if allowNull then types.nullOr else id) (types.submodule { - options = { - name = mkOption ({ - description = "Name of the secret where secret is stored"; - type = types.str; - default = default.name; - } // (optionalAttrs (default ? "name") { - default = default.name; - })); + mkSecretOption = { + description ? "", + default ? {}, + allowNull ? true, + }: + mkOption { + inherit description; + type = + ( + if allowNull + then types.nullOr + else id + ) (types.submodule { + options = { + name = mkOption ({ + description = "Name of the secret where secret is stored"; + type = types.str; + default = default.name; + } + // (optionalAttrs (default ? "name") { + default = default.name; + })); - key = mkOption ({ - description = "Name of the key where secret is stored"; - type = types.str; - } // (optionalAttrs (default ? "key") { - default = default.key; - })); - }; - }); - default = if default == null then null else { }; - }; + key = mkOption ({ + description = "Name of the key where secret is stored"; + type = types.str; + } + // (optionalAttrs (default ? "key") { + default = default.key; + })); + }; + }); + default = + if default == null + then null + else {}; + }; secretToEnv = value: { valueFrom.secretKeyRef = { @@ -34,7 +46,10 @@ rec { }; # Creates kubernetes list from a list of kubernetes objects - mkList = { items, labels ? { } }: { + mkList = { + items, + labels ? {}, + }: { kind = "List"; apiVersion = "v1"; @@ -42,22 +57,27 @@ rec { }; # Creates hashed kubernetes list from a list of kubernetes objects - mkHashedList = { items, labels ? { } }: - let - hash = builtins.hashString "sha1" (builtins.toJSON items); + mkHashedList = { + items, + labels ? {}, + }: let + hash = builtins.hashString "sha1" (builtins.toJSON items); - labeledItems = map - (item: recursiveUpdate item { + labeledItems = + map + (item: + recursiveUpdate item { metadata.labels."kubenix/hash" = hash; }) - items; - - in + items; + in mkList { items = labeledItems; - labels = { - "kubenix/hash" = hash; - } // labels; + labels = + { + "kubenix/hash" = hash; + } + // labels; }; toBase64 = lib.toBase64; diff --git a/lib/upstreamables.nix b/lib/upstreamables.nix index d08c93f..7ff278a 100644 --- a/lib/upstreamables.nix +++ b/lib/upstreamables.nix @@ -1,36 +1,45 @@ -{ lib, pkgs }: +{ + lib, + pkgs, +}: +with lib; let + self = { + importYAML = path: + importJSON (pkgs.runCommand "yaml-to-json" {} '' + ${pkgs.remarshal}/bin/remarshal -i ${path} -if yaml -of json > $out + ''); -with lib; + toYAML = config: + builtins.readFile (pkgs.runCommand "to-yaml" {} '' + ${pkgs.remarshal}/bin/remarshal -i ${pkgs.writeText "to-json" (builtins.toJSON config)} -if json -of yaml > $out + ''); -let self = { + toMultiDocumentYaml = name: documents: + pkgs.runCommand name {} + (concatMapStringsSep "\necho --- >> $out\n" + ( + d: "${pkgs.remarshal}/bin/remarshal -i ${builtins.toFile "doc" (builtins.toJSON d)} -if json -of yaml >> $out" + ) + documents); - importYAML = path: importJSON (pkgs.runCommand "yaml-to-json" { } '' - ${pkgs.remarshal}/bin/remarshal -i ${path} -if yaml -of json > $out - ''); + toBase64 = value: + builtins.readFile + (pkgs.runCommand "value-to-b64" {} "echo -n '${value}' | ${pkgs.coreutils}/bin/base64 -w0 > $out"); - toYAML = config: builtins.readFile (pkgs.runCommand "to-yaml" { } '' - ${pkgs.remarshal}/bin/remarshal -i ${pkgs.writeText "to-json" (builtins.toJSON config)} -if json -of yaml > $out - ''); + exp = base: exp: foldr (value: acc: acc * base) 1 (range 1 exp); - toMultiDocumentYaml = name: documents: pkgs.runCommand name { } - (concatMapStringsSep "\necho --- >> $out\n" - (d: - "${pkgs.remarshal}/bin/remarshal -i ${builtins.toFile "doc" (builtins.toJSON d)} -if json -of yaml >> $out" - ) - documents); - - toBase64 = value: - builtins.readFile - (pkgs.runCommand "value-to-b64" { } "echo -n '${value}' | ${pkgs.coreutils}/bin/base64 -w0 > $out"); - - exp = base: exp: foldr (value: acc: acc * base) 1 (range 1 exp); - - octalToDecimal = value: (foldr - (char: acc: { - i = acc.i + 1; - value = acc.value + (toInt char) * (self.exp 8 acc.i); - }) - { i = 0; value = 0; } - (stringToCharacters value)).value; -}; -in self + octalToDecimal = value: + (foldr + (char: acc: { + i = acc.i + 1; + value = acc.value + (toInt char) * (self.exp 8 acc.i); + }) + { + i = 0; + value = 0; + } + (stringToCharacters value)) + .value; + }; +in + self diff --git a/modules/base.nix b/modules/base.nix index 455aac0..59bfd86 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -1,8 +1,9 @@ -{ config, lib, ... }: - -with lib; - { + config, + lib, + ... +}: +with lib; { options = { kubenix.project = mkOption { description = "Name of the project"; @@ -13,27 +14,27 @@ with lib; _m.features = mkOption { description = "List of features exposed by module"; type = types.listOf types.str; - default = [ ]; + default = []; }; _m.propagate = mkOption { description = "Module propagation options"; - type = types.listOf (types.submodule ({ config, ... }: { + type = types.listOf (types.submodule ({config, ...}: { options = { features = mkOption { description = "List of features that submodule has to have to propagate module"; type = types.listOf types.str; - default = [ ]; + default = []; }; module = mkOption { description = "Module to propagate"; type = types.unspecified; - default = { }; + default = {}; }; }; })); - default = [ ]; + default = []; }; }; } diff --git a/modules/docker.nix b/modules/docker.nix index 63f8af1..aabecbb 100644 --- a/modules/docker.nix +++ b/modules/docker.nix @@ -1,11 +1,14 @@ -{ config, lib, pkgs, docker, ... }: - -with lib; -let - cfg = config.docker; -in { - imports = [ ./base.nix ]; + config, + lib, + pkgs, + docker, + ... +}: +with lib; let + cfg = config.docker; +in { + imports = [./base.nix]; options.docker = { registry.url = mkOption { @@ -16,7 +19,11 @@ in images = mkOption { description = "Attribute set of docker images that should be published"; - type = types.attrsOf (types.submodule ({ name, config, ... }: { + type = types.attrsOf (types.submodule ({ + name, + config, + ... + }: { options = { image = mkOption { description = "Docker image to publish"; @@ -52,13 +59,13 @@ in }; }; })); - default = { }; + default = {}; }; export = mkOption { description = "List of images to export"; type = types.listOf types.package; - default = [ ]; + default = []; }; copyScript = mkOption { @@ -73,22 +80,29 @@ in config = { # define docker feature - _m.features = [ "docker" ]; + _m.features = ["docker"]; # propagate docker options if docker feature is enabled - _m.propagate = [{ - features = [ "docker" ]; - module = { config, name, ... }: { - # propagate registry options - docker.registry = cfg.registry; - }; - }]; + _m.propagate = [ + { + features = ["docker"]; + module = { + config, + name, + ... + }: { + # propagate registry options + docker.registry = cfg.registry; + }; + } + ]; # pass docker library as param - _module.args.docker = import ../lib/docker { inherit lib pkgs; }; + _module.args.docker = import ../lib/docker {inherit lib pkgs;}; # list of exported docker images - docker.export = mapAttrsToList (_: i: i.image) + docker.export = + mapAttrsToList (_: i: i.image) (filterAttrs (_: i: i.registry != null) config.docker.images); }; } diff --git a/modules/generated/v1.19.nix b/modules/generated/v1.19.nix index af90135..a0778bb 100644 --- a/modules/generated/v1.19.nix +++ b/modules/generated/v1.19.nix @@ -1,9 +1,11 @@ # This file was generated with kubenix k8s generator, do not edit -{ lib, options, config, ... }: - -with lib; - -let +{ + lib, + options, + config, + ... +}: +with lib; let getDefaults = resource: group: version: kind: catAttrs "default" (filter (default: @@ -13,38 +15,37 @@ let && (default.kind == null || default.kind == kind)) config.defaults); - types = lib.types // rec { - str = mkOptionType { - name = "str"; - description = "string"; - check = isString; - merge = mergeEqualOption; - }; - - # Either value of type `finalType` or `coercedType`, the latter is - # converted to `finalType` using `coerceFunc`. - coercedTo = coercedType: coerceFunc: finalType: - mkOptionType rec { - name = "coercedTo"; - description = "${finalType.description} or ${coercedType.description}"; - check = x: finalType.check x || coercedType.check x; - merge = loc: defs: - let - coerceVal = val: - if finalType.check val then - val - else - let coerced = coerceFunc val; in assert finalType.check coerced; coerced; - - in - finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); - getSubOptions = finalType.getSubOptions; - getSubModules = finalType.getSubModules; - substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); - typeMerge = t1: t2: null; - functor = (defaultFunctor name) // { wrapped = finalType; }; + types = + lib.types + // rec { + str = mkOptionType { + name = "str"; + description = "string"; + check = isString; + merge = mergeEqualOption; }; - }; + + # Either value of type `finalType` or `coercedType`, the latter is + # converted to `finalType` using `coerceFunc`. + coercedTo = coercedType: coerceFunc: finalType: + mkOptionType rec { + name = "coercedTo"; + description = "${finalType.description} or ${coercedType.description}"; + check = x: finalType.check x || coercedType.check x; + merge = loc: defs: let + coerceVal = val: + if finalType.check val + then val + else let coerced = coerceFunc val; in assert finalType.check coerced; coerced; + in + finalType.merge loc (map (def: def // {value = coerceVal def.value;}) defs); + getSubOptions = finalType.getSubOptions; + getSubModules = finalType.getSubModules; + substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); + typeMerge = t1: t2: null; + functor = (defaultFunctor name) // {wrapped = finalType;}; + }; + }; mkOptionDefault = mkOverride 1001; @@ -52,36 +53,42 @@ let listToAttrs (map (value: nameValuePair - (if isAttrs value.${mergeKey} then - toString value.${mergeKey}.content - else - (toString value.${mergeKey})) - value) + ( + if isAttrs value.${mergeKey} + then toString value.${mergeKey}.content + else (toString value.${mergeKey}) + ) + value) values); submoduleOf = ref: - types.submodule ({ name, ... }: { - options = definitions."${ref}".options or { }; - config = definitions."${ref}".config or { }; + types.submodule ({name, ...}: { + options = definitions."${ref}".options or {}; + config = definitions."${ref}".config or {}; }); submoduleWithMergeOf = ref: mergeKey: - types.submodule ({ name, ... }: - let - convertName = name: - if definitions."${ref}".options.${mergeKey}.type == types.int then toInt name else name; - in - { - options = definitions."${ref}".options; - config = definitions."${ref}".config // { + types.submodule ({name, ...}: let + convertName = name: + if definitions."${ref}".options.${mergeKey}.type == types.int + then toInt name + else name; + in { + options = definitions."${ref}".options; + config = + definitions."${ref}".config + // { ${mergeKey} = mkOverride 1002 (convertName name); }; - }); + }); - submoduleForDefinition = ref: resource: kind: group: version: - let apiVersion = if group == "core" then version else "${group}/${version}"; - in - types.submodule ({ name, ... }: { + submoduleForDefinition = ref: resource: kind: group: version: let + apiVersion = + if group == "core" + then version + else "${group}/${version}"; + in + types.submodule ({name, ...}: { imports = getDefaults resource group version kind; options = definitions."${ref}".options; config = mkMerge [ @@ -96,27 +103,23 @@ let ]; }); - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: - (types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) - (types.attrsOf (submoduleWithMergeOf ref mergeKey))); + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: (types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) + (types.attrsOf (submoduleWithMergeOf ref mergeKey))); definitions = { "io.k8s.api.admissionregistration.v1.MutatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; - type = (types.listOf types.str); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; + type = types.listOf types.str; }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -127,7 +130,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Equivalent"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -167,12 +170,11 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "reinvocationPolicy" = mkOption { description = '' @@ -183,23 +185,21 @@ let IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to "Never".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; + description = "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; type = types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; + type = types.nullOr types.int; }; }; @@ -212,31 +212,30 @@ let "rules" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1.MutatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1.MutatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -246,30 +245,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of MutatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -278,25 +273,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.RuleWithOperations" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "apiVersions" = mkOption { - description = - "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "operations" = mkOption { - description = - "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' @@ -307,12 +297,12 @@ let If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "scope" = mkOption { description = '' scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -323,10 +313,8 @@ let "resources" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ServiceReference" = { - options = { "name" = mkOption { description = "`name` is the name of the service. Required"; @@ -337,14 +325,12 @@ let type = types.str; }; "path" = mkOption { - description = - "`path` is an optional URL path which will be sent in any request to this service."; - type = (types.nullOr types.str); + description = "`path` is an optional URL path which will be sent in any request to this service."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -352,24 +338,20 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; - type = (types.listOf types.str); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; + type = types.listOf types.str; }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -380,7 +362,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Equivalent"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -420,28 +402,25 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; + description = "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; type = types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; + type = types.nullOr types.int; }; }; @@ -453,31 +432,30 @@ let "rules" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -487,30 +465,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ValidatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -519,15 +493,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' @@ -535,7 +506,7 @@ let If the webhook is running within the cluster, then you should use `service`.''; type = - (types.nullOr (submoduleOf "io.k8s.api.admissionregistration.v1.ServiceReference")); + types.nullOr (submoduleOf "io.k8s.api.admissionregistration.v1.ServiceReference"); }; "url" = mkOption { description = '' @@ -550,7 +521,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -559,24 +530,20 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; - type = (types.nullOr (types.listOf types.str)); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; + type = types.nullOr (types.listOf types.str); }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -587,7 +554,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Exact"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -627,12 +594,11 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "reinvocationPolicy" = mkOption { description = '' @@ -643,23 +609,21 @@ let IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to "Never".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; - type = (types.nullOr types.str); + description = "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; + type = types.nullOr types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; + type = types.nullOr types.int; }; }; @@ -674,31 +638,30 @@ let "sideEffects" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -708,30 +671,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of MutatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -740,25 +699,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "apiVersions" = mkOption { - description = - "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "operations" = mkOption { - description = - "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' @@ -769,12 +723,12 @@ let If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "scope" = mkOption { description = '' scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -785,10 +739,8 @@ let "resources" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "`name` is the name of the service. Required"; @@ -799,14 +751,12 @@ let type = types.str; }; "path" = mkOption { - description = - "`path` is an optional URL path which will be sent in any request to this service."; - type = (types.nullOr types.str); + description = "`path` is an optional URL path which will be sent in any request to this service."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -814,24 +764,20 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; - type = (types.nullOr (types.listOf types.str)); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; + type = types.nullOr (types.listOf types.str); }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -842,7 +788,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Exact"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -882,28 +828,25 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; - type = (types.nullOr types.str); + description = "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; + type = types.nullOr types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; + type = types.nullOr types.int; }; }; @@ -917,31 +860,30 @@ let "sideEffects" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -951,30 +893,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ValidatingWebhookConfiguration."; - type = (types.listOf (submoduleOf - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration")); + type = + types.listOf (submoduleOf + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -983,23 +921,21 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.ServiceReference")); + type = + types.nullOr + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.ServiceReference"); }; "url" = mkOption { description = '' @@ -1014,7 +950,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -1023,29 +959,24 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ControllerRevision" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "data" = mkOption { description = "Data is the serialized representation of the state."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "revision" = mkOption { description = "Revision indicates the revision of the state represented by Data."; @@ -1059,29 +990,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ControllerRevisionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of ControllerRevisions"; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.ControllerRevision")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.ControllerRevision"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1090,35 +1016,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetSpec")); + description = "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetSpec"); }; "status" = mkOption { - description = - "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetStatus")); + description = "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetStatus"); }; }; @@ -1129,22 +1048,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1161,29 +1078,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "A list of daemon sets."; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.DaemonSet")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.DaemonSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1192,34 +1104,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)."; - type = (types.nullOr types.int); + description = "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; - type = (types.nullOr types.int); + description = "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "template" = mkOption { - description = - "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "updateStrategy" = mkOption { description = "An update strategy to replace existing DaemonSet pods with new pods."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetUpdateStrategy")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetUpdateStrategy"); }; }; @@ -1228,60 +1134,54 @@ let "revisionHistoryLimit" = mkOverride 1002 null; "updateStrategy" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetStatus" = { - options = { "collisionCount" = mkOption { - description = - "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; - type = (types.nullOr types.int); + description = "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a DaemonSet's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a DaemonSet's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentNumberScheduled" = mkOption { - description = - "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "desiredNumberScheduled" = mkOption { - description = - "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "numberAvailable" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"; - type = (types.nullOr types.int); + description = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"; + type = types.nullOr types.int; }; "numberMisscheduled" = mkOption { - description = - "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "numberReady" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; + description = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; type = types.int; }; "numberUnavailable" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"; - type = (types.nullOr types.int); + description = "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { description = "The most recent generation observed by the daemon set controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "updatedNumberScheduled" = mkOption { description = "The total number of nodes that are running updated daemon pod"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -1293,19 +1193,17 @@ let "observedGeneration" = mkOverride 1002 null; "updatedNumberScheduled" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetUpdateStrategy" = { - options = { "rollingUpdate" = mkOption { description = ''Rolling update config params. Present only if type = "RollingUpdate".''; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDaemonSet")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDaemonSet"); }; "type" = mkOption { description = '' Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -1313,32 +1211,28 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.Deployment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the Deployment."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentSpec"); }; "status" = mkOption { description = "Most recently observed status of the Deployment."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStatus"); }; }; @@ -1349,26 +1243,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "The last time this condition was updated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1386,28 +1278,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Deployments."; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.Deployment")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.Deployment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1416,47 +1304,40 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "paused" = mkOption { description = "Indicates that the deployment is paused."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "progressDeadlineSeconds" = mkOption { - description = - "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s."; - type = (types.nullOr types.int); + description = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s."; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; - type = (types.nullOr types.int); + description = "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; - type = (types.nullOr types.int); + description = "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "strategy" = mkOption { description = "The deployment strategy to use to replace existing pods with new ones."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStrategy")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStrategy"); }; "template" = mkOption { description = "Template describes the pods that will be created."; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; }; @@ -1468,50 +1349,46 @@ let "revisionHistoryLimit" = mkOverride 1002 null; "strategy" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentStatus" = { - options = { "availableReplicas" = mkOption { - description = - "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."; - type = (types.nullOr types.int); + description = "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."; + type = types.nullOr types.int; }; "collisionCount" = mkOption { - description = - "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."; - type = (types.nullOr types.int); + description = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a deployment's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a deployment's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "observedGeneration" = mkOption { description = "The generation observed by the deployment controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "Total number of ready pods targeted by this deployment."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."; - type = (types.nullOr types.int); + description = "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."; + type = types.nullOr types.int; }; "unavailableReplicas" = mkOption { - description = - "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."; - type = (types.nullOr types.int); + description = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."; + type = types.nullOr types.int; }; "updatedReplicas" = mkOption { - description = - "Total number of non-terminated pods targeted by this deployment that have the desired template spec."; - type = (types.nullOr types.int); + description = "Total number of non-terminated pods targeted by this deployment that have the desired template spec."; + type = types.nullOr types.int; }; }; @@ -1525,20 +1402,16 @@ let "unavailableReplicas" = mkOverride 1002 null; "updatedReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentStrategy" = { - options = { "rollingUpdate" = mkOption { - description = - "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDeployment")); + description = "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDeployment"); }; "type" = mkOption { - description = - ''Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.''; - type = (types.nullOr types.str); + description = ''Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.''; + type = types.nullOr types.str; }; }; @@ -1546,35 +1419,28 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetSpec")); + description = "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetSpec"); }; "status" = mkOption { - description = - "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetStatus")); + description = "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetStatus"); }; }; @@ -1585,22 +1451,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "The last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1617,30 +1481,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.ReplicaSet")); + description = "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.ReplicaSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1649,30 +1507,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; - type = (types.nullOr types.int); + description = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "template" = mkOption { - description = - "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -1681,40 +1533,37 @@ let "replicas" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetStatus" = { - options = { "availableReplicas" = mkOption { - description = - "The number of available replicas (ready for at least minReadySeconds) for this replica set."; - type = (types.nullOr types.int); + description = "The number of available replicas (ready for at least minReadySeconds) for this replica set."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a replica set's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a replica set's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "fullyLabeledReplicas" = mkOption { - description = - "The number of pods that have labels matching the labels of the pod template of the replicaset."; - type = (types.nullOr types.int); + description = "The number of pods that have labels matching the labels of the pod template of the replicaset."; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { - description = - "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."; - type = (types.nullOr types.int); + description = "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "The number of ready replicas for this replica set."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; + description = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; type = types.int; }; }; @@ -1726,33 +1575,26 @@ let "observedGeneration" = mkOverride 1002 null; "readyReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateDaemonSet" = { - options = { "maxUnavailable" = mkOption { - description = - "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."; + type = types.nullOr (types.either types.int types.str); }; }; - config = { "maxUnavailable" = mkOverride 1002 null; }; - + config = {"maxUnavailable" = mkOverride 1002 null;}; }; "io.k8s.api.apps.v1.RollingUpdateDeployment" = { - options = { "maxSurge" = mkOption { - description = - "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods."; + type = types.nullOr (types.either types.int types.str); }; "maxUnavailable" = mkOption { - description = - "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods."; + type = types.nullOr (types.either types.int types.str); }; }; @@ -1760,46 +1602,38 @@ let "maxSurge" = mkOverride 1002 null; "maxUnavailable" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy" = { - options = { "partition" = mkOption { - description = - "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."; - type = (types.nullOr types.int); + description = "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."; + type = types.nullOr types.int; }; }; - config = { "partition" = mkOverride 1002 null; }; - + config = {"partition" = mkOverride 1002 null;}; }; "io.k8s.api.apps.v1.StatefulSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec defines the desired identities of pods in this set."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetSpec"); }; "status" = mkOption { - description = - "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetStatus")); + description = "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetStatus"); }; }; @@ -1810,22 +1644,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1842,28 +1674,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.StatefulSet")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.StatefulSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1872,30 +1700,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetSpec" = { - options = { "podManagementPolicy" = mkOption { - description = - "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."; - type = (types.nullOr types.str); + description = "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."; + type = types.nullOr types.str; }; "replicas" = mkOption { - description = - "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1."; - type = (types.nullOr types.int); + description = "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10."; - type = (types.nullOr types.int); + description = "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "serviceName" = mkOption { description = '' @@ -1903,20 +1725,17 @@ let type = types.str; }; "template" = mkOption { - description = - "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "updateStrategy" = mkOption { - description = - "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetUpdateStrategy")); + description = "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetUpdateStrategy"); }; "volumeClaimTemplates" = mkOption { - description = - "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."; + description = "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim")); }; }; @@ -1927,56 +1746,50 @@ let "updateStrategy" = mkOverride 1002 null; "volumeClaimTemplates" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetStatus" = { - options = { "collisionCount" = mkOption { - description = - "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; - type = (types.nullOr types.int); + description = "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a statefulset's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a statefulset's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentReplicas" = mkOption { - description = - "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."; - type = (types.nullOr types.int); + description = "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."; + type = types.nullOr types.int; }; "currentRevision" = mkOption { - description = - "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."; - type = (types.nullOr types.str); + description = "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { - description = - "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."; - type = (types.nullOr types.int); + description = "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."; + type = types.nullOr types.int; }; "replicas" = mkOption { description = "replicas is the number of Pods created by the StatefulSet controller."; type = types.int; }; "updateRevision" = mkOption { - description = - "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"; - type = (types.nullOr types.str); + description = "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"; + type = types.nullOr types.str; }; "updatedReplicas" = mkOption { - description = - "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."; - type = (types.nullOr types.int); + description = "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."; + type = types.nullOr types.int; }; }; @@ -1990,20 +1803,16 @@ let "updateRevision" = mkOverride 1002 null; "updatedReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetUpdateStrategy" = { - options = { "rollingUpdate" = mkOption { - description = - "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy")); + description = "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy"); }; "type" = mkOption { - description = - "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."; - type = (types.nullOr types.str); + description = "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."; + type = types.nullOr types.str; }; }; @@ -2011,26 +1820,24 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.BoundObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind of the referent. Valid kinds are 'Pod' and 'Secret'."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = "Name of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = "UID of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2040,32 +1847,28 @@ let "name" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.authentication.v1.TokenRequestSpec"); + type = submoduleOf "io.k8s.api.authentication.v1.TokenRequestSpec"; }; "status" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenRequestStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenRequestStatus"); }; }; @@ -2075,25 +1878,20 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequestSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."; - type = (types.listOf types.str); + description = "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."; + type = types.listOf types.str; }; "boundObjectRef" = mkOption { - description = - "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.BoundObjectReference")); + description = "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.BoundObjectReference"); }; "expirationSeconds" = mkOption { - description = - "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."; - type = (types.nullOr types.int); + description = "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."; + type = types.nullOr types.int; }; }; @@ -2101,10 +1899,8 @@ let "boundObjectRef" = mkOverride 1002 null; "expirationSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequestStatus" = { - options = { "expirationTimestamp" = mkOption { description = "ExpirationTimestamp is the time of expiration of the returned token."; @@ -2116,34 +1912,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.authentication.v1.TokenReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authentication.v1.TokenReviewSpec"); + type = submoduleOf "io.k8s.api.authentication.v1.TokenReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request can be authenticated."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenReviewStatus")); + description = "Status is filled in by the server and indicates whether the request can be authenticated."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenReviewStatus"); }; }; @@ -2153,19 +1944,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenReviewSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; - type = (types.nullOr (types.listOf types.str)); + description = "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; + type = types.nullOr (types.listOf types.str); }; "token" = mkOption { description = "Token is the opaque bearer token."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2173,27 +1961,25 @@ let "audiences" = mkOverride 1002 null; "token" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenReviewStatus" = { - options = { "audiences" = mkOption { description = '' Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "authenticated" = mkOption { description = "Authenticated indicates that the token was associated with a known user."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "error" = mkOption { description = "Error indicates that the token couldn't be checked"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is the UserInfo associated with the provided token."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.UserInfo")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.UserInfo"); }; }; @@ -2203,27 +1989,24 @@ let "error" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.UserInfo" = { - options = { "extra" = mkOption { description = "Any additional information provided by the authenticator."; - type = (types.nullOr (types.loaOf types.str)); + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "The names of groups this user is a part of."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "uid" = mkOption { - description = - "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; - type = (types.nullOr types.str); + description = "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; + type = types.nullOr types.str; }; "username" = mkOption { description = "The name that uniquely identifies this user among all active users."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2233,33 +2016,28 @@ let "uid" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewSpec"); + type = submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request can be authenticated."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewStatus")); + description = "Status is filled in by the server and indicates whether the request can be authenticated."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewStatus"); }; }; @@ -2269,19 +2047,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReviewSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; - type = (types.nullOr (types.listOf types.str)); + description = "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; + type = types.nullOr (types.listOf types.str); }; "token" = mkOption { description = "Token is the opaque bearer token."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2289,27 +2064,25 @@ let "audiences" = mkOverride 1002 null; "token" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReviewStatus" = { - options = { "audiences" = mkOption { description = '' Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "authenticated" = mkOption { description = "Authenticated indicates that the token was associated with a known user."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "error" = mkOption { description = "Error indicates that the token couldn't be checked"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is the UserInfo associated with the provided token."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.UserInfo")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.UserInfo"); }; }; @@ -2319,27 +2092,24 @@ let "error" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.UserInfo" = { - options = { "extra" = mkOption { description = "Any additional information provided by the authenticator."; - type = (types.nullOr (types.loaOf types.str)); + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "The names of groups this user is a part of."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "uid" = mkOption { - description = - "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; - type = (types.nullOr types.str); + description = "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; + type = types.nullOr types.str; }; "username" = mkOption { description = "The name that uniquely identifies this user among all active users."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2349,35 +2119,29 @@ let "uid" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.LocalSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; - type = (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; + type = submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2387,18 +2151,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.NonResourceAttributes" = { - options = { "path" = mkOption { description = "Path is the URL path of the request"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = "Verb is the standard HTTP verb"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2406,59 +2168,55 @@ let "path" = mkOverride 1002 null; "verb" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.NonResourceRule" = { - options = { "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { "nonResourceURLs" = mkOverride 1002 null; }; - + config = {"nonResourceURLs" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1.ResourceAttributes" = { - options = { "group" = mkOption { description = ''Group is the API Group of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = ''Resource is one of the existing resource types. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subresource" = mkOption { description = ''Subresource is one of the existing resource types. "" means none.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = '' Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "version" = mkOption { description = ''Version is the API Version of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2471,31 +2229,29 @@ let "verb" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.ResourceRule" = { - options = { "apiGroups" = mkOption { description = '' APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { description = '' ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -2504,35 +2260,29 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. user and groups must be empty"; - type = (submoduleOf "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. user and groups must be empty"; + type = submoduleOf "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2542,20 +2292,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec" = { - options = { "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes")); + description = "NonResourceAttributes describes information for a non-resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes"); }; }; @@ -2563,34 +2309,29 @@ let "nonResourceAttributes" = mkOverride 1002 null; "resourceAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectRulesReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated."; - type = (submoduleOf "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates the set of actions a user can perform."; + description = "Status is filled in by the server and indicates the set of actions a user can perform."; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectRulesReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectRulesReviewStatus"); }; }; @@ -2600,46 +2341,39 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec" = { - options = { "namespace" = mkOption { description = "Namespace to evaluate rules for. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "namespace" = mkOverride 1002 null; }; - + config = {"namespace" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1.SubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2649,38 +2383,33 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectAccessReviewSpec" = { - options = { "extra" = mkOption { - description = - "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "Groups is the groups you're testing for."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes")); + description = "NonResourceAttributes describes information for a non-resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes"); }; "uid" = mkOption { description = "UID information about the requesting user."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = '' User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2692,29 +2421,24 @@ let "uid" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectAccessReviewStatus" = { - options = { "allowed" = mkOption { - description = - "Allowed is required. True if the action would be allowed, false otherwise."; + description = "Allowed is required. True if the action would be allowed, false otherwise."; type = types.bool; }; "denied" = mkOption { - description = - "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; - type = (types.nullOr types.bool); + description = "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; + type = types.nullOr types.bool; }; "evaluationError" = mkOption { - description = - "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; - type = (types.nullOr types.str); + description = "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; + type = types.nullOr types.str; }; "reason" = mkOption { description = "Reason is optional. It indicates why a request was allowed or denied."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2723,63 +2447,52 @@ let "evaluationError" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectRulesReviewStatus" = { - options = { "evaluationError" = mkOption { - description = - "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; - type = (types.nullOr types.str); + description = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; + type = types.nullOr types.str; }; "incomplete" = mkOption { - description = - "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; + description = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; type = types.bool; }; "nonResourceRules" = mkOption { - description = - "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1.NonResourceRule")); + description = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1.NonResourceRule"); }; "resourceRules" = mkOption { - description = - "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1.ResourceRule")); + description = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1.ResourceRule"); }; }; - config = { "evaluationError" = mkOverride 1002 null; }; - + config = {"evaluationError" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; + type = submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -2789,18 +2502,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.NonResourceAttributes" = { - options = { "path" = mkOption { description = "Path is the URL path of the request"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = "Verb is the standard HTTP verb"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2808,59 +2519,55 @@ let "path" = mkOverride 1002 null; "verb" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.NonResourceRule" = { - options = { "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { "nonResourceURLs" = mkOverride 1002 null; }; - + config = {"nonResourceURLs" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.ResourceAttributes" = { - options = { "group" = mkOption { description = ''Group is the API Group of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = ''Resource is one of the existing resource types. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subresource" = mkOption { description = ''Subresource is one of the existing resource types. "" means none.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = '' Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "version" = mkOption { description = ''Version is the API Version of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2873,31 +2580,29 @@ let "verb" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.ResourceRule" = { - options = { "apiGroups" = mkOption { description = '' APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { description = '' ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -2906,35 +2611,30 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. user and groups must be empty"; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. user and groups must be empty"; + type = submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -2944,21 +2644,17 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec" = { - options = { "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; + description = "NonResourceAttributes describes information for a non-resource access request"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes"); }; }; @@ -2966,34 +2662,30 @@ let "nonResourceAttributes" = mkOverride 1002 null; "resourceAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated."; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates the set of actions a user can perform."; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus")); + description = "Status is filled in by the server and indicates the set of actions a user can perform."; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus"); }; }; @@ -3003,46 +2695,40 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec" = { - options = { "namespace" = mkOption { description = "Namespace to evaluate rules for. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "namespace" = mkOverride 1002 null; }; - + config = {"namespace" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.SubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -3052,39 +2738,34 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec" = { - options = { "extra" = mkOption { - description = - "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; + type = types.nullOr (types.loaOf types.str); }; "group" = mkOption { description = "Groups is the groups you're testing for."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; + description = "NonResourceAttributes describes information for a non-resource access request"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes"); }; "uid" = mkOption { description = "UID information about the requesting user."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = '' User is the user you're testing for. If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3096,29 +2777,24 @@ let "uid" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus" = { - options = { "allowed" = mkOption { - description = - "Allowed is required. True if the action would be allowed, false otherwise."; + description = "Allowed is required. True if the action would be allowed, false otherwise."; type = types.bool; }; "denied" = mkOption { - description = - "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; - type = (types.nullOr types.bool); + description = "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; + type = types.nullOr types.bool; }; "evaluationError" = mkOption { - description = - "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; - type = (types.nullOr types.str); + description = "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; + type = types.nullOr types.str; }; "reason" = mkOption { description = "Reason is optional. It indicates why a request was allowed or denied."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3127,42 +2803,34 @@ let "evaluationError" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus" = { - options = { "evaluationError" = mkOption { - description = - "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; - type = (types.nullOr types.str); + description = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; + type = types.nullOr types.str; }; "incomplete" = mkOption { - description = - "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; + description = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; type = types.bool; }; "nonResourceRules" = mkOption { - description = - "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceRule")); + description = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceRule"); }; "resourceRules" = mkOption { - description = - "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceRule")); + description = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceRule"); }; }; - config = { "evaluationError" = mkOverride 1002 null; }; - + config = {"evaluationError" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3170,43 +2838,36 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + description = "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; type = - (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec")); + types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "current information about the autoscaler."; type = - (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus")); + types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus"); }; }; @@ -3217,28 +2878,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "list of horizontal pod autoscaler objects."; - type = (types.listOf (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler")); + type = types.listOf (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -3247,30 +2904,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec" = { - options = { "maxReplicas" = mkOption { - description = - "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."; + description = "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."; type = types.int; }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource."; - type = (submoduleOf "io.k8s.api.autoscaling.v1.CrossVersionObjectReference"); + description = "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource."; + type = submoduleOf "io.k8s.api.autoscaling.v1.CrossVersionObjectReference"; }; "targetCPUUtilizationPercentage" = mkOption { - description = - "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used."; - type = (types.nullOr types.int); + description = "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used."; + type = types.nullOr types.int; }; }; @@ -3278,15 +2929,12 @@ let "minReplicas" = mkOverride 1002 null; "targetCPUUtilizationPercentage" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus" = { - options = { "currentCPUUtilizationPercentage" = mkOption { - description = - "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."; - type = (types.nullOr types.int); + description = "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."; + type = types.nullOr types.int; }; "currentReplicas" = mkOption { description = "current number of replicas of pods managed by this autoscaler."; @@ -3297,13 +2945,12 @@ let type = types.int; }; "lastScaleTime" = mkOption { - description = - "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { description = "most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -3312,35 +2959,28 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.Scale" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleSpec")); + description = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleSpec"); }; "status" = mkOption { - description = - "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleStatus")); + description = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleStatus"); }; }; @@ -3351,43 +2991,36 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.ScaleSpec" = { - options = { "replicas" = mkOption { description = "desired number of instances for the scaled object."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "replicas" = mkOverride 1002 null; }; - + config = {"replicas" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.ScaleStatus" = { - options = { "replicas" = mkOption { description = "actual number of observed instances of the scaled object."; type = types.int; }; "selector" = mkOption { - description = - "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"; - type = (types.nullOr types.str); + description = "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"; + type = types.nullOr types.str; }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3395,36 +3028,30 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource" = { - options = { "metricName" = mkOption { description = "metricName is the name of the metric in question."; type = types.str; }; "metricSelector" = mkOption { - description = - "metricSelector is used to identify a specific time series within a given metric."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "metricSelector is used to identify a specific time series within a given metric."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "targetAverageValue" = mkOption { - description = - "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue."; - type = (types.nullOr types.str); + description = "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue."; + type = types.nullOr types.str; }; "targetValue" = mkOption { - description = - "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue."; - type = (types.nullOr types.str); + description = "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue."; + type = types.nullOr types.str; }; }; @@ -3433,15 +3060,12 @@ let "targetAverageValue" = mkOverride 1002 null; "targetValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus" = { - options = { "currentAverageValue" = mkOption { - description = - "currentAverageValue is the current value of metric averaged over autoscaled pods."; - type = (types.nullOr types.str); + description = "currentAverageValue is the current value of metric averaged over autoscaled pods."; + type = types.nullOr types.str; }; "currentValue" = mkOption { description = "currentValue is the current value of the metric (as a quantity)"; @@ -3452,9 +3076,8 @@ let type = types.str; }; "metricSelector" = mkOption { - description = - "metricSelector is used to identify a specific time series within a given metric."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "metricSelector is used to identify a specific time series within a given metric."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -3462,36 +3085,32 @@ let "currentAverageValue" = mkOverride 1002 null; "metricSelector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec")); + description = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "status is the current information about the autoscaler."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus"); }; }; @@ -3502,24 +3121,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another"; - type = (types.nullOr types.str); + description = "lastTransitionTime is the last time the condition transitioned from one status to another"; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable explanation containing details about the transition"; - type = (types.nullOr types.str); + description = "message is a human-readable explanation containing details about the transition"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason is the reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition (True, False, Unknown)"; @@ -3536,29 +3151,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of horizontal pod autoscaler objects."; type = - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler")); + types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata is the standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -3567,31 +3178,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec" = { - options = { "maxReplicas" = mkOption { - description = - "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; + description = "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; type = types.int; }; "metrics" = mkOption { - description = - "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."; + description = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricSpec"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricSpec")); }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + description = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; }; @@ -3599,42 +3204,36 @@ let "metrics" = mkOverride 1002 null; "minReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus" = { - options = { "conditions" = mkOption { - description = - "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; - type = (types.listOf - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition")); + description = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; + type = + types.listOf + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition"); }; "currentMetrics" = mkOption { - description = - "currentMetrics is the last read state of the metrics used by this autoscaler."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricStatus"))); + description = "currentMetrics is the last read state of the metrics used by this autoscaler."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricStatus")); }; "currentReplicas" = mkOption { - description = - "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; + description = "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; type = types.int; }; "desiredReplicas" = mkOption { - description = - "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; + description = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; type = types.int; }; "lastScaleTime" = mkOption { - description = - "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed by this autoscaler."; + type = types.nullOr types.int; }; }; @@ -3643,30 +3242,25 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.MetricSpec" = { - options = { "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricSource")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricSource"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource"); }; "type" = mkOption { description = '' @@ -3681,30 +3275,25 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.MetricStatus" = { - options = { "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus"); }; "type" = mkOption { description = '' @@ -3719,28 +3308,24 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource" = { - options = { "averageValue" = mkOption { - description = - "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "metricName" = mkOption { description = "metricName is the name of the metric in question."; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "target" = mkOption { description = "target is the described Kubernetes object."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; "targetValue" = mkOption { description = "targetValue is the target value of the metric (as a quantity)."; @@ -3752,15 +3337,12 @@ let "averageValue" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus" = { - options = { "averageValue" = mkOption { - description = - "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "currentValue" = mkOption { description = "currentValue is the current value of the metric (as a quantity)."; @@ -3771,13 +3353,12 @@ let type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "target" = mkOption { description = "target is the described Kubernetes object."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; }; @@ -3785,36 +3366,29 @@ let "averageValue" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.PodsMetricSource" = { - options = { "metricName" = mkOption { description = "metricName is the name of the metric in question"; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "targetAverageValue" = mkOption { - description = - "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + description = "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; type = types.str; }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus" = { - options = { "currentAverageValue" = mkOption { - description = - "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + description = "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; type = types.str; }; "metricName" = mkOption { @@ -3822,31 +3396,27 @@ let type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource" = { - options = { "name" = mkOption { description = "name is the name of the resource in question."; type = types.str; }; "targetAverageUtilization" = mkOption { - description = - "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "targetAverageValue" = mkOption { description = '' targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3854,15 +3424,12 @@ let "targetAverageUtilization" = mkOverride 1002 null; "targetAverageValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus" = { - options = { "currentAverageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; + type = types.nullOr types.int; }; "currentAverageValue" = mkOption { description = '' @@ -3875,15 +3442,13 @@ let }; }; - config = { "currentAverageUtilization" = mkOverride 1002 null; }; - + config = {"currentAverageUtilization" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3891,53 +3456,45 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource" = { - options = { "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy" = { - options = { "periodSeconds" = mkOption { - description = - "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."; + description = "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."; type = types.int; }; "type" = mkOption { @@ -3945,33 +3502,28 @@ let type = types.str; }; "value" = mkOption { - description = - "Value contains the amount of change which is permitted by the policy. It must be greater than zero"; + description = "Value contains the amount of change which is permitted by the policy. It must be greater than zero"; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.HPAScalingRules" = { - options = { "policies" = mkOption { - description = - "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy"))); + description = "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy")); }; "selectPolicy" = mkOption { - description = - "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."; - type = (types.nullOr types.str); + description = "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."; + type = types.nullOr types.str; }; "stabilizationWindowSeconds" = mkOption { - description = - "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."; - type = (types.nullOr types.int); + description = "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."; + type = types.nullOr types.int; }; }; @@ -3980,36 +3532,32 @@ let "selectPolicy" = mkOverride 1002 null; "stabilizationWindowSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec")); + description = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "status is the current information about the autoscaler."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus"); }; }; @@ -4020,15 +3568,12 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior" = { - options = { "scaleDown" = mkOption { - description = - "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules")); + description = "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules"); }; "scaleUp" = mkOption { description = '' @@ -4036,7 +3581,7 @@ let * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules"); }; }; @@ -4044,24 +3589,20 @@ let "scaleDown" = mkOverride 1002 null; "scaleUp" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another"; - type = (types.nullOr types.str); + description = "lastTransitionTime is the last time the condition transitioned from one status to another"; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable explanation containing details about the transition"; - type = (types.nullOr types.str); + description = "message is a human-readable explanation containing details about the transition"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason is the reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition (True, False, Unknown)"; @@ -4078,29 +3619,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of horizontal pod autoscaler objects."; type = - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler")); + types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata is the standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4109,37 +3646,31 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec" = { - options = { "behavior" = mkOption { - description = - "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior")); + description = "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior"); }; "maxReplicas" = mkOption { - description = - "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; + description = "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; type = types.int; }; "metrics" = mkOption { - description = - "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."; + description = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricSpec"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricSpec")); }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + description = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; }; @@ -4148,42 +3679,36 @@ let "metrics" = mkOverride 1002 null; "minReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus" = { - options = { "conditions" = mkOption { - description = - "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; - type = (types.listOf - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition")); + description = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; + type = + types.listOf + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition"); }; "currentMetrics" = mkOption { - description = - "currentMetrics is the last read state of the metrics used by this autoscaler."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricStatus"))); + description = "currentMetrics is the last read state of the metrics used by this autoscaler."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricStatus")); }; "currentReplicas" = mkOption { - description = - "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; + description = "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; type = types.int; }; "desiredReplicas" = mkOption { - description = - "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; + description = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; type = types.int; }; "lastScaleTime" = mkOption { - description = - "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed by this autoscaler."; + type = types.nullOr types.int; }; }; @@ -4192,47 +3717,39 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricIdentifier" = { - options = { "name" = mkOption { description = "name is the name of the given metric"; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.MetricSpec" = { - options = { "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricSource")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricSource"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource"); }; "type" = mkOption { description = '' @@ -4247,30 +3764,25 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricStatus" = { - options = { "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus"); }; "type" = mkOption { description = '' @@ -4285,29 +3797,24 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricTarget" = { - options = { "averageUtilization" = mkOption { - description = - "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type"; - type = (types.nullOr types.int); + description = "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type"; + type = types.nullOr types.int; }; "averageValue" = mkOption { - description = - "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "type" = mkOption { - description = - "type represents whether the metric type is Utilization, Value, or AverageValue"; + description = "type represents whether the metric type is Utilization, Value, or AverageValue"; type = types.str; }; "value" = mkOption { description = "value is the target value of the metric (as a quantity)."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4316,24 +3823,20 @@ let "averageValue" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricValueStatus" = { - options = { "averageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "averageValue" = mkOption { - description = - "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "value" = mkOption { description = "value is the current value of the metric (as a quantity)."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4342,82 +3845,72 @@ let "averageValue" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource" = { - options = { "describedObject" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "describedObject" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.PodsMetricSource" = { - options = { "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource" = { - options = { "name" = mkOption { description = "name is the name of the resource in question."; @@ -4425,19 +3918,17 @@ let }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "name" = mkOption { description = "Name is the name of the resource in question."; @@ -4445,36 +3936,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.batch.v1.Job" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; "status" = mkOption { - description = - "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobStatus")); + description = "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobStatus"); }; }; @@ -4485,26 +3969,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time the condition was checked."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transit from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -4522,29 +4004,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of Jobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1.Job")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1.Job"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4553,50 +4030,40 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobSpec" = { - options = { "activeDeadlineSeconds" = mkOption { - description = - "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer"; - type = (types.nullOr types.int); + description = "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer"; + type = types.nullOr types.int; }; "backoffLimit" = mkOption { - description = - "Specifies the number of retries before marking this job failed. Defaults to 6"; - type = (types.nullOr types.int); + description = "Specifies the number of retries before marking this job failed. Defaults to 6"; + type = types.nullOr types.int; }; "completions" = mkOption { - description = - "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr types.int); + description = "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = types.nullOr types.int; }; "manualSelector" = mkOption { - description = - "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector"; - type = (types.nullOr types.bool); + description = "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector"; + type = types.nullOr types.bool; }; "parallelism" = mkOption { - description = - "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr types.int); + description = "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "template" = mkOption { - description = - "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "ttlSecondsAfterFinished" = mkOption { - description = - "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature."; - type = (types.nullOr types.int); + description = "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature."; + type = types.nullOr types.int; }; }; @@ -4609,39 +4076,38 @@ let "selector" = mkOverride 1002 null; "ttlSecondsAfterFinished" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobStatus" = { - options = { "active" = mkOption { description = "The number of actively running pods."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "completionTime" = mkOption { - description = - "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC."; - type = (types.nullOr types.str); + description = "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC."; + type = types.nullOr types.str; }; "conditions" = mkOption { - description = - "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "failed" = mkOption { description = "The number of pods which reached phase Failed."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "startTime" = mkOption { - description = - "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC."; - type = (types.nullOr types.str); + description = "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC."; + type = types.nullOr types.str; }; "succeeded" = mkOption { description = "The number of pods which reached phase Succeeded."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -4653,35 +4119,28 @@ let "startTime" = mkOverride 1002 null; "succeeded" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJob" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobSpec")); + description = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobSpec"); }; "status" = mkOption { - description = - "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobStatus")); + description = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobStatus"); }; }; @@ -4692,29 +4151,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CronJobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1beta1.CronJob")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1beta1.CronJob"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4723,43 +4177,37 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobSpec" = { - options = { "concurrencyPolicy" = mkOption { description = '' Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "failedJobsHistoryLimit" = mkOption { - description = - "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; - type = (types.nullOr types.int); + description = "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; + type = types.nullOr types.int; }; "jobTemplate" = mkOption { description = "Specifies the job that will be created when executing a CronJob."; - type = (submoduleOf "io.k8s.api.batch.v1beta1.JobTemplateSpec"); + type = submoduleOf "io.k8s.api.batch.v1beta1.JobTemplateSpec"; }; "schedule" = mkOption { description = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."; type = types.str; }; "startingDeadlineSeconds" = mkOption { - description = - "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; - type = (types.nullOr types.int); + description = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; + type = types.nullOr types.int; }; "successfulJobsHistoryLimit" = mkOption { - description = - "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."; - type = (types.nullOr types.int); + description = "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."; + type = types.nullOr types.int; }; "suspend" = mkOption { - description = - "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; - type = (types.nullOr types.bool); + description = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; + type = types.nullOr types.bool; }; }; @@ -4770,18 +4218,16 @@ let "successfulJobsHistoryLimit" = mkOverride 1002 null; "suspend" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobStatus" = { - options = { "active" = mkOption { description = "A list of pointers to currently running jobs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference")); }; "lastScheduleTime" = mkOption { description = "Information when was the last time the job was successfully scheduled."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4789,20 +4235,16 @@ let "active" = mkOverride 1002 null; "lastScheduleTime" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.JobTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; }; @@ -4810,35 +4252,28 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJob" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobSpec")); + description = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobSpec"); }; "status" = mkOption { - description = - "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobStatus")); + description = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobStatus"); }; }; @@ -4849,29 +4284,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CronJobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v2alpha1.CronJob")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v2alpha1.CronJob"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4880,43 +4310,37 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJobSpec" = { - options = { "concurrencyPolicy" = mkOption { description = '' Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "failedJobsHistoryLimit" = mkOption { - description = - "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; - type = (types.nullOr types.int); + description = "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; + type = types.nullOr types.int; }; "jobTemplate" = mkOption { description = "Specifies the job that will be created when executing a CronJob."; - type = (submoduleOf "io.k8s.api.batch.v2alpha1.JobTemplateSpec"); + type = submoduleOf "io.k8s.api.batch.v2alpha1.JobTemplateSpec"; }; "schedule" = mkOption { description = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."; type = types.str; }; "startingDeadlineSeconds" = mkOption { - description = - "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; - type = (types.nullOr types.int); + description = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; + type = types.nullOr types.int; }; "successfulJobsHistoryLimit" = mkOption { - description = - "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; - type = (types.nullOr types.int); + description = "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; + type = types.nullOr types.int; }; "suspend" = mkOption { - description = - "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; - type = (types.nullOr types.bool); + description = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; + type = types.nullOr types.bool; }; }; @@ -4927,18 +4351,16 @@ let "successfulJobsHistoryLimit" = mkOverride 1002 null; "suspend" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJobStatus" = { - options = { "active" = mkOption { description = "A list of pointers to currently running jobs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference")); }; "lastScheduleTime" = mkOption { description = "Information when was the last time the job was successfully scheduled."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4946,20 +4368,16 @@ let "active" = mkOverride 1002 null; "lastScheduleTime" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.JobTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; }; @@ -4967,35 +4385,30 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users."; - type = (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestSpec"); + description = "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users."; + type = submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestSpec"; }; "status" = mkOption { - description = - "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestStatus")); + description = "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure."; + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestStatus"); }; }; @@ -5005,28 +4418,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; - type = (types.nullOr types.str); + description = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "lastUpdateTime is the time of the last update to this condition"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message contains a human readable message with details about the request state"; - type = (types.nullOr types.str); + description = "message contains a human readable message with details about the request state"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason indicates a brief reason for the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' @@ -5056,29 +4465,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a collection of CertificateSigningRequest objects"; type = - (types.listOf (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequest")); + types.listOf (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequest"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5087,20 +4492,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestSpec" = { - options = { "extra" = mkOption { - description = - "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr (types.loaOf types.str)); + description = "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { - description = - "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr (types.listOf types.str)); + description = "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr (types.listOf types.str); }; "request" = mkOption { description = '' @@ -5133,9 +4534,8 @@ let type = types.str; }; "uid" = mkOption { - description = - "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr types.str); + description = "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr types.str; }; "usages" = mkOption { description = '' @@ -5153,12 +4553,11 @@ let "code signing", "email protection", "s/mime", "ipsec end system", "ipsec tunnel", "ipsec user", "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "username" = mkOption { - description = - "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr types.str); + description = "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr types.str; }; }; @@ -5169,10 +4568,8 @@ let "usages" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestStatus" = { - options = { "certificate" = mkOption { description = '' @@ -5198,13 +4595,14 @@ let ... -----END CERTIFICATE----- )''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "conditions" = mkOption { description = '' conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestCondition")); }; }; @@ -5212,34 +4610,32 @@ let "certificate" = mkOverride 1002 null; "conditions" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "The certificate request itself and any additional information."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec"); }; "status" = mkOption { description = "Derived information about the request."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus"); }; }; @@ -5250,36 +4646,32 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; - type = (types.nullOr types.str); + description = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "timestamp for the last update to this condition"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "human readable message with details about the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "brief reason for the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown". Defaults to "True". If unset, should be treated as "True".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { - description = - ''type of the condition. Known conditions include "Approved", "Denied", and "Failed".''; + description = ''type of the condition. Known conditions include "Approved", "Denied", and "Failed".''; type = types.str; }; }; @@ -5291,29 +4683,26 @@ let "reason" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequest")); + type = + types.listOf + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequest"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5322,20 +4711,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec" = { - options = { "extra" = mkOption { - description = - "Extra information about the requesting user. See user.Info interface for details."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra information about the requesting user. See user.Info interface for details."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { - description = - "Group information about the requesting user. See user.Info interface for details."; - type = (types.nullOr (types.listOf types.str)); + description = "Group information about the requesting user. See user.Info interface for details."; + type = types.nullOr (types.listOf types.str); }; "request" = mkOption { description = "Base64-encoded PKCS#10 CSR data"; @@ -5350,12 +4735,11 @@ let "kubernetes.io/kubelet-serving". 3. Otherwise, it is assigned "kubernetes.io/legacy-unknown". Distribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID information about the requesting user. See user.Info interface for details."; - type = (types.nullOr types.str); + description = "UID information about the requesting user. See user.Info interface for details."; + type = types.nullOr types.str; }; "usages" = mkOption { description = '' @@ -5385,12 +4769,11 @@ let "ocsp signing", "microsoft sgc", "netscape sgc"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "username" = mkOption { - description = - "Information about the requesting user. See user.Info interface for details."; - type = (types.nullOr types.str); + description = "Information about the requesting user. See user.Info interface for details."; + type = types.nullOr types.str; }; }; @@ -5402,20 +4785,18 @@ let "usages" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus" = { - options = { "certificate" = mkOption { - description = - "If request was approved, the controller will place the issued certificate here."; - type = (types.nullOr types.str); + description = "If request was approved, the controller will place the issued certificate here."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "Conditions applied to the request, such as approval or denial."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition")); }; }; @@ -5423,30 +4804,24 @@ let "certificate" = mkOverride 1002 null; "conditions" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.Lease" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.coordination.v1.LeaseSpec")); + description = "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.coordination.v1.LeaseSpec"); }; }; @@ -5456,29 +4831,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.LeaseList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.coordination.v1.Lease")); + type = types.listOf (submoduleOf "io.k8s.api.coordination.v1.Lease"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5487,32 +4857,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.LeaseSpec" = { - options = { "acquireTime" = mkOption { description = "acquireTime is a time when the current lease was acquired."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "holderIdentity" = mkOption { description = "holderIdentity contains the identity of the holder of a current lease."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "leaseDurationSeconds" = mkOption { - description = - "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; - type = (types.nullOr types.int); + description = "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; + type = types.nullOr types.int; }; "leaseTransitions" = mkOption { description = "leaseTransitions is the number of transitions of a lease between holders."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "renewTime" = mkOption { - description = - "renewTime is a time when the current holder of a lease has last updated the lease."; - type = (types.nullOr types.str); + description = "renewTime is a time when the current holder of a lease has last updated the lease."; + type = types.nullOr types.str; }; }; @@ -5523,30 +4889,24 @@ let "leaseTransitions" = mkOverride 1002 null; "renewTime" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.Lease" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.coordination.v1beta1.LeaseSpec")); + description = "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.coordination.v1beta1.LeaseSpec"); }; }; @@ -5556,29 +4916,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.LeaseList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.coordination.v1beta1.Lease")); + type = types.listOf (submoduleOf "io.k8s.api.coordination.v1beta1.Lease"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5587,32 +4942,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.LeaseSpec" = { - options = { "acquireTime" = mkOption { description = "acquireTime is a time when the current lease was acquired."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "holderIdentity" = mkOption { description = "holderIdentity contains the identity of the holder of a current lease."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "leaseDurationSeconds" = mkOption { - description = - "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; - type = (types.nullOr types.int); + description = "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; + type = types.nullOr types.int; }; "leaseTransitions" = mkOption { description = "leaseTransitions is the number of transitions of a lease between holders."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "renewTime" = mkOption { - description = - "renewTime is a time when the current holder of a lease has last updated the lease."; - type = (types.nullOr types.str); + description = "renewTime is a time when the current holder of a lease has last updated the lease."; + type = types.nullOr types.str; }; }; @@ -5623,29 +4974,26 @@ let "leaseTransitions" = mkOverride 1002 null; "renewTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "partition" = mkOption { description = '' The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readOnly" = mkOption { description = '' Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "volumeID" = mkOption { - description = - "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + description = "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; type = types.str; }; }; @@ -5655,24 +5003,20 @@ let "partition" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Affinity" = { - options = { "nodeAffinity" = mkOption { description = "Describes node affinity scheduling rules for the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeAffinity")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeAffinity"); }; "podAffinity" = mkOption { - description = - "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAffinity")); + description = "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAffinity"); }; "podAntiAffinity" = mkOption { - description = - "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAntiAffinity")); + description = "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAntiAffinity"); }; }; @@ -5681,14 +5025,11 @@ let "podAffinity" = mkOverride 1002 null; "podAntiAffinity" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AttachedVolume" = { - options = { "devicePath" = mkOption { - description = - "DevicePath represents the device path where the volume should be available"; + description = "DevicePath represents the device path where the volume should be available"; type = types.str; }; "name" = mkOption { @@ -5697,15 +5038,13 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.AzureDiskVolumeSource" = { - options = { "cachingMode" = mkOption { description = "Host Caching mode: None, Read Only, Read Write."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "diskName" = mkOption { description = "The Name of the data disk in the blob storage"; @@ -5718,17 +5057,15 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"; - type = (types.nullOr types.str); + description = "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; }; @@ -5738,24 +5075,20 @@ let "kind" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AzureFilePersistentVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretName" = mkOption { description = "the name of secret that contains Azure Storage Account Name and Key"; type = types.str; }; "secretNamespace" = mkOption { - description = - "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"; - type = (types.nullOr types.str); + description = "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"; + type = types.nullOr types.str; }; "shareName" = mkOption { description = "Share Name"; @@ -5767,15 +5100,12 @@ let "readOnly" = mkOverride 1002 null; "secretNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AzureFileVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretName" = mkOption { description = "the name of secret that contains Azure Storage Account Name and Key"; @@ -5787,30 +5117,25 @@ let }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Binding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "target" = mkOption { description = "The target object that you want to bind to the standard object."; - type = (submoduleOf "io.k8s.api.core.v1.ObjectReference"); + type = submoduleOf "io.k8s.api.core.v1.ObjectReference"; }; }; @@ -5819,20 +5144,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CSIPersistentVolumeSource" = { - options = { "controllerExpandSecretRef" = mkOption { - description = - "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "controllerPublishSecretRef" = mkOption { - description = - "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "driver" = mkOption { description = "Driver is the name of the driver to use for this volume. Required."; @@ -5841,30 +5162,26 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "nodePublishSecretRef" = mkOption { - description = - "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "nodeStageSecretRef" = mkOption { - description = - "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "readOnly" = mkOption { - description = - "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeAttributes" = mkOption { description = "Attributes of the volume to publish."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "volumeHandle" = mkOption { - description = - "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."; + description = "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."; type = types.str; }; }; @@ -5878,35 +5195,29 @@ let "readOnly" = mkOverride 1002 null; "volumeAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CSIVolumeSource" = { - options = { "driver" = mkOption { - description = - "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."; + description = "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."; type = types.str; }; "fsType" = mkOption { description = '' Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "nodePublishSecretRef" = mkOption { - description = - "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "readOnly" = mkOption { - description = - "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeAttributes" = mkOption { - description = - "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."; - type = (types.nullOr (types.attrsOf types.str)); + description = "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -5916,18 +5227,16 @@ let "readOnly" = mkOverride 1002 null; "volumeAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Capabilities" = { - options = { "add" = mkOption { description = "Added capabilities"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "drop" = mkOption { description = "Removed capabilities"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -5935,40 +5244,32 @@ let "add" = mkOverride 1002 null; "drop" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CephFSPersistentVolumeSource" = { - options = { "monitors" = mkOption { - description = - "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.listOf types.str; }; "path" = mkOption { - description = - "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; - type = (types.nullOr types.str); + description = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretFile" = mkOption { - description = - "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "user" = mkOption { - description = - "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -5979,40 +5280,32 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CephFSVolumeSource" = { - options = { "monitors" = mkOption { - description = - "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.listOf types.str; }; "path" = mkOption { - description = - "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; - type = (types.nullOr types.str); + description = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretFile" = mkOption { - description = - "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "user" = mkOption { - description = - "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -6023,29 +5316,24 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CinderPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: points to a secret object containing parameters used to connect to OpenStack."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: points to a secret object containing parameters used to connect to OpenStack."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "volumeID" = mkOption { - description = - "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + description = "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; type = types.str; }; }; @@ -6055,29 +5343,24 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CinderVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: points to a secret object containing parameters used to connect to OpenStack."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: points to a secret object containing parameters used to connect to OpenStack."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "volumeID" = mkOption { - description = - "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + description = "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; type = types.str; }; }; @@ -6087,33 +5370,27 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ClientIPConfig" = { - options = { "timeoutSeconds" = mkOption { description = '' timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "timeoutSeconds" = mkOverride 1002 null; }; - + config = {"timeoutSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ComponentCondition" = { - options = { "error" = mkOption { - description = - "Condition error code for a component. For example, a health check error code."; - type = (types.nullOr types.str); + description = "Condition error code for a component. For example, a health check error code."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "Message about the condition for a component. For example, information about a health check."; - type = (types.nullOr types.str); + description = "Message about the condition for a component. For example, information about a health check."; + type = types.nullOr types.str; }; "status" = mkOption { description = '' @@ -6130,31 +5407,30 @@ let "error" = mkOverride 1002 null; "message" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ComponentStatus" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "List of component conditions observed"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -6164,29 +5440,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ComponentStatusList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ComponentStatus objects."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ComponentStatus")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ComponentStatus"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -6195,40 +5466,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMap" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "binaryData" = mkOption { - description = - "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet."; - type = (types.nullOr (types.attrsOf types.str)); + description = "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet."; + type = types.nullOr (types.attrsOf types.str); }; "data" = mkOption { - description = - "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process."; + type = types.nullOr (types.attrsOf types.str); }; "immutable" = mkOption { - description = - "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; - type = (types.nullOr types.bool); + description = "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -6240,19 +5503,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapEnvSource" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6260,23 +5520,20 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapKeySelector" = { - options = { "key" = mkOption { description = "The key to select."; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6284,29 +5541,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of ConfigMaps."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ConfigMap")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ConfigMap"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -6315,35 +5567,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapNodeConfigSource" = { - options = { "kubeletConfigKey" = mkOption { - description = - "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."; + description = "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."; type = types.str; }; "name" = mkOption { - description = - "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."; + description = "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."; type = types.str; }; "namespace" = mkOption { - description = - "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."; + description = "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."; type = types.str; }; "resourceVersion" = mkOption { - description = - "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; - type = (types.nullOr types.str); + description = "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; - type = (types.nullOr types.str); + description = "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; + type = types.nullOr types.str; }; }; @@ -6351,24 +5596,20 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapProjection" = { - options = { "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6377,29 +5618,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6409,126 +5645,121 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Container" = { - options = { "args" = mkOption { - description = - "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "command" = mkOption { - description = - "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "env" = mkOption { description = "List of environment variables to set in the container. Cannot be updated."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "envFrom" = mkOption { - description = - "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "image" = mkOption { - description = - "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."; - type = (types.nullOr types.str); + description = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."; + type = types.nullOr types.str; }; "imagePullPolicy" = mkOption { - description = - "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; - type = (types.nullOr types.str); + description = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; + type = types.nullOr types.str; }; "lifecycle" = mkOption { - description = - "Actions that the management system should take in response to container lifecycle events. Cannot be updated."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle")); + description = "Actions that the management system should take in response to container lifecycle events. Cannot be updated."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle"); }; "livenessProbe" = mkOption { - description = - "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "name" = mkOption { - description = - "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."; + description = "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."; type = types.str; }; "ports" = mkOption { description = '' List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated.''; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ContainerPort" - "containerPort")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "containerPort"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "readinessProbe" = mkOption { - description = - "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "resources" = mkOption { - description = - "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "securityContext" = mkOption { - description = - "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext")); + description = "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext"); }; "startupProbe" = mkOption { - description = - "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "stdin" = mkOption { - description = - "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; + type = types.nullOr types.bool; }; "stdinOnce" = mkOption { - description = - "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; - type = (types.nullOr types.bool); + description = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; + type = types.nullOr types.bool; }; "terminationMessagePath" = mkOption { - description = - "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; - type = (types.nullOr types.str); + description = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; + type = types.nullOr types.str; }; "terminationMessagePolicy" = mkOption { - description = - "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; - type = (types.nullOr types.str); + description = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; + type = types.nullOr types.str; }; "tty" = mkOption { - description = - "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; + type = types.nullOr types.bool; }; "volumeDevices" = mkOption { description = "volumeDevices is the list of block devices to be used by the container."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumeMounts" = mkOption { description = "Pod volumes to mount into the container's filesystem. Cannot be updated."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "workingDir" = mkOption { - description = - "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; - type = (types.nullOr types.str); + description = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; + type = types.nullOr types.str; }; }; @@ -6555,50 +5786,43 @@ let "volumeMounts" = mkOverride 1002 null; "workingDir" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerImage" = { - options = { "names" = mkOption { description = '' Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "sizeBytes" = mkOption { description = "The size of the image in bytes."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "sizeBytes" = mkOverride 1002 null; }; - + config = {"sizeBytes" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ContainerPort" = { - options = { "containerPort" = mkOption { - description = - "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."; + description = "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."; type = types.int; }; "hostIP" = mkOption { description = "What host IP to bind the external port to."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "hostPort" = mkOption { - description = - "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."; - type = (types.nullOr types.int); + description = "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."; + type = types.nullOr types.int; }; "name" = mkOption { - description = - "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."; - type = (types.nullOr types.str); + description = "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."; + type = types.nullOr types.str; }; "protocol" = mkOption { description = ''Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6608,22 +5832,20 @@ let "name" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerState" = { - options = { "running" = mkOption { description = "Details about a running container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateRunning")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateRunning"); }; "terminated" = mkOption { description = "Details about a terminated container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateTerminated")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateTerminated"); }; "waiting" = mkOption { description = "Details about a waiting container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateWaiting")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateWaiting"); }; }; @@ -6632,26 +5854,22 @@ let "terminated" = mkOverride 1002 null; "waiting" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStateRunning" = { - options = { "startedAt" = mkOption { description = "Time at which the container was last (re-)started"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "startedAt" = mkOverride 1002 null; }; - + config = {"startedAt" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ContainerStateTerminated" = { - options = { "containerID" = mkOption { description = "Container's ID in the format 'docker://'"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "exitCode" = mkOption { description = "Exit status from the last termination of the container"; @@ -6659,23 +5877,23 @@ let }; "finishedAt" = mkOption { description = "Time at which the container last terminated"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Message regarding the last termination of the container"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason from the last termination of the container"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "signal" = mkOption { description = "Signal from the last termination of the container"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "startedAt" = mkOption { description = "Time at which previous execution of the container started"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6687,18 +5905,16 @@ let "signal" = mkOverride 1002 null; "startedAt" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStateWaiting" = { - options = { "message" = mkOption { description = "Message regarding why the container is not yet running."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason the container is not yet running."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6706,18 +5922,15 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStatus" = { - options = { "containerID" = mkOption { description = "Container's ID in the format 'docker://'."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"; + description = "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"; type = types.str; }; "imageID" = mkOption { @@ -6726,11 +5939,10 @@ let }; "lastState" = mkOption { description = "Details about the container's last termination condition."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState"); }; "name" = mkOption { - description = - "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."; + description = "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."; type = types.str; }; "ready" = mkOption { @@ -6738,18 +5950,16 @@ let type = types.bool; }; "restartCount" = mkOption { - description = - "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC."; + description = "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC."; type = types.int; }; "started" = mkOption { - description = - "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."; - type = (types.nullOr types.bool); + description = "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."; + type = types.nullOr types.bool; }; "state" = mkOption { description = "Details about the container's current condition."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState"); }; }; @@ -6759,10 +5969,8 @@ let "started" = mkOverride 1002 null; "state" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.DaemonEndpoint" = { - options = { "Port" = mkOption { description = "Port number of the given endpoint."; @@ -6770,44 +5978,36 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.DownwardAPIProjection" = { - options = { "items" = mkOption { description = "Items is a list of DownwardAPIVolume file"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile")); }; }; - config = { "items" = mkOverride 1002 null; }; - + config = {"items" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.DownwardAPIVolumeFile" = { - options = { "fieldRef" = mkOption { - description = - "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector")); + description = "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector"); }; "mode" = mkOption { - description = - "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"; + description = "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"; type = types.str; }; "resourceFieldRef" = mkOption { - description = - "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector")); + description = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector"); }; }; @@ -6816,20 +6016,17 @@ let "mode" = mkOverride 1002 null; "resourceFieldRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.DownwardAPIVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { description = "Items is a list of downward API volume file"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile")); }; }; @@ -6837,20 +6034,17 @@ let "defaultMode" = mkOverride 1002 null; "items" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EmptyDirVolumeSource" = { - options = { "medium" = mkOption { description = '' What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "sizeLimit" = mkOption { - description = - "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"; - type = (types.nullOr types.str); + description = "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"; + type = types.nullOr types.str; }; }; @@ -6858,28 +6052,24 @@ let "medium" = mkOverride 1002 null; "sizeLimit" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointAddress" = { - options = { "hostname" = mkOption { description = "The Hostname of this endpoint"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ip" = mkOption { - description = - "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."; + description = "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."; type = types.str; }; "nodeName" = mkOption { - description = - "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."; - type = (types.nullOr types.str); + description = "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."; + type = types.nullOr types.str; }; "targetRef" = mkOption { description = "Reference to object providing the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; }; @@ -6888,20 +6078,16 @@ let "nodeName" = mkOverride 1002 null; "targetRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."; - type = (types.nullOr types.str); + description = "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."; + type = types.nullOr types.str; }; "port" = mkOption { description = "The port number of the endpoint."; @@ -6909,7 +6095,7 @@ let }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6918,24 +6104,20 @@ let "name" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointSubset" = { - options = { "addresses" = mkOption { - description = - "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress"))); + description = "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress")); }; "notReadyAddresses" = mkOption { - description = - "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress"))); + description = "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress")); }; "ports" = mkOption { description = "Port numbers available on the related IP addresses."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointPort")); }; }; @@ -6944,30 +6126,24 @@ let "notReadyAddresses" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Endpoints" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "subsets" = mkOption { - description = - "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointSubset"))); + description = "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointSubset")); }; }; @@ -6977,29 +6153,24 @@ let "metadata" = mkOverride 1002 null; "subsets" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointsList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Endpoints")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Endpoints"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -7008,23 +6179,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvFromSource" = { - options = { "configMapRef" = mkOption { description = "The ConfigMap to select from"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapEnvSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapEnvSource"); }; "prefix" = mkOption { - description = - "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."; - type = (types.nullOr types.str); + description = "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."; + type = types.nullOr types.str; }; "secretRef" = mkOption { description = "The Secret to select from"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretEnvSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretEnvSource"); }; }; @@ -7033,10 +6201,8 @@ let "prefix" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvVar" = { - options = { "name" = mkOption { description = "Name of the environment variable. Must be a C_IDENTIFIER."; @@ -7045,12 +6211,11 @@ let "value" = mkOption { description = '' Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "valueFrom" = mkOption { - description = - "Source for the environment variable's value. Cannot be used if value is not empty."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EnvVarSource")); + description = "Source for the environment variable's value. Cannot be used if value is not empty."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EnvVarSource"); }; }; @@ -7058,28 +6223,24 @@ let "value" = mkOverride 1002 null; "valueFrom" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvVarSource" = { - options = { "configMapKeyRef" = mkOption { description = "Selects a key of a ConfigMap."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapKeySelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapKeySelector"); }; "fieldRef" = mkOption { - description = - "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector")); + description = "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector"); }; "resourceFieldRef" = mkOption { - description = - "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector")); + description = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector"); }; "secretKeyRef" = mkOption { description = "Selects a key of a secret in the pod's namespace"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretKeySelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretKeySelector"); }; }; @@ -7089,122 +6250,117 @@ let "resourceFieldRef" = mkOverride 1002 null; "secretKeyRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralContainer" = { - options = { "args" = mkOption { - description = - "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "command" = mkOption { - description = - "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "env" = mkOption { description = "List of environment variables to set in the container. Cannot be updated."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "envFrom" = mkOption { - description = - "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "image" = mkOption { - description = - "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"; - type = (types.nullOr types.str); + description = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"; + type = types.nullOr types.str; }; "imagePullPolicy" = mkOption { - description = - "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; - type = (types.nullOr types.str); + description = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; + type = types.nullOr types.str; }; "lifecycle" = mkOption { description = "Lifecycle is not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle"); }; "livenessProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "name" = mkOption { - description = - "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."; + description = "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."; type = types.str; }; "ports" = mkOption { description = "Ports are not allowed for ephemeral containers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerPort")); }; "readinessProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "resources" = mkOption { - description = - "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "securityContext" = mkOption { description = "SecurityContext is not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext"); }; "startupProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "stdin" = mkOption { - description = - "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; + type = types.nullOr types.bool; }; "stdinOnce" = mkOption { - description = - "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; - type = (types.nullOr types.bool); + description = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; + type = types.nullOr types.bool; }; "targetContainerName" = mkOption { - description = - "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."; - type = (types.nullOr types.str); + description = "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."; + type = types.nullOr types.str; }; "terminationMessagePath" = mkOption { - description = - "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; - type = (types.nullOr types.str); + description = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; + type = types.nullOr types.str; }; "terminationMessagePolicy" = mkOption { - description = - "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; - type = (types.nullOr types.str); + description = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; + type = types.nullOr types.str; }; "tty" = mkOption { - description = - "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; + type = types.nullOr types.bool; }; "volumeDevices" = mkOption { description = "volumeDevices is the list of block devices to be used by the container."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumeMounts" = mkOption { description = "Pod volumes to mount into the container's filesystem. Cannot be updated."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "workingDir" = mkOption { - description = - "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; - type = (types.nullOr types.str); + description = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; + type = types.nullOr types.str; }; }; @@ -7232,15 +6388,12 @@ let "volumeMounts" = mkOverride 1002 null; "workingDir" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeClaimTemplate" = mkOption { description = '' @@ -7251,7 +6404,7 @@ let This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. Required, must not be nil.''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimTemplate")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimTemplate"); }; }; @@ -7259,87 +6412,76 @@ let "readOnly" = mkOverride 1002 null; "volumeClaimTemplate" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Event" = { - options = { "action" = mkOption { description = "What action was taken/failed regarding to the Regarding object."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "count" = mkOption { description = "The number of times this event has occurred."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "eventTime" = mkOption { description = "Time when this Event was first observed."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "firstTimestamp" = mkOption { - description = - "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"; - type = (types.nullOr types.str); + description = "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"; + type = types.nullOr types.str; }; "involvedObject" = mkOption { description = "The object that this event is about."; - type = (submoduleOf "io.k8s.api.core.v1.ObjectReference"); + type = submoduleOf "io.k8s.api.core.v1.ObjectReference"; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "lastTimestamp" = mkOption { description = "The time at which the most recent occurrence of this event was recorded."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human-readable description of the status of this operation."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"; }; "reason" = mkOption { - description = - "This should be a short, machine understandable string that gives the reason for the transition into the object's current status."; - type = (types.nullOr types.str); + description = "This should be a short, machine understandable string that gives the reason for the transition into the object's current status."; + type = types.nullOr types.str; }; "related" = mkOption { description = "Optional secondary object for more complex actions."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingComponent" = mkOption { - description = - "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."; - type = (types.nullOr types.str); + description = "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { description = "ID of the controller instance, e.g. `kubelet-xyzf`."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "series" = mkOption { - description = - "Data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSeries")); + description = "Data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSeries"); }; "source" = mkOption { - description = - "The component reporting this event. Should be a short machine understandable string."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "The component reporting this event. Should be a short machine understandable string."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "type" = mkOption { - description = - "Type of this event (Normal, Warning), new types could be added in the future"; - type = (types.nullOr types.str); + description = "Type of this event (Normal, Warning), new types could be added in the future"; + type = types.nullOr types.str; }; }; @@ -7360,29 +6502,24 @@ let "source" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of events"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -7391,18 +6528,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventSeries" = { - options = { "count" = mkOption { description = "Number of occurrences in this series up to the last heartbeat time"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "lastObservedTime" = mkOption { description = "Time of the last occurrence observed"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7410,18 +6545,16 @@ let "count" = mkOverride 1002 null; "lastObservedTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventSource" = { - options = { "component" = mkOption { description = "Component from which the event is generated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "host" = mkOption { description = "Node name on which the event is generated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7429,46 +6562,39 @@ let "component" = mkOverride 1002 null; "host" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ExecAction" = { - options = { "command" = mkOption { - description = - "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."; - type = (types.nullOr (types.listOf types.str)); + description = "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "command" = mkOverride 1002 null; }; - + config = {"command" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.FCVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lun" = mkOption { description = "Optional: FC target lun number"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "targetWWNs" = mkOption { description = "Optional: FC target worldwide names (WWNs)"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "wwids" = mkOption { - description = - "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."; - type = (types.nullOr (types.listOf types.str)); + description = "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."; + type = types.nullOr (types.listOf types.str); }; }; @@ -7479,10 +6605,8 @@ let "targetWWNs" = mkOverride 1002 null; "wwids" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlexPersistentVolumeSource" = { - options = { "driver" = mkOption { description = "Driver is the name of the driver to use for this volume."; @@ -7491,21 +6615,19 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "options" = mkOption { description = "Optional: Extra command options if any."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; }; @@ -7515,10 +6637,8 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlexVolumeSource" = { - options = { "driver" = mkOption { description = "Driver is the name of the driver to use for this volume."; @@ -7527,21 +6647,19 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "options" = mkOption { description = "Optional: Extra command options if any."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; }; @@ -7551,19 +6669,16 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlockerVolumeSource" = { - options = { "datasetName" = mkOption { - description = - "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"; - type = (types.nullOr types.str); + description = "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"; + type = types.nullOr types.str; }; "datasetUUID" = mkOption { description = "UUID of the dataset. This is unique identifier of a Flocker dataset"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7571,30 +6686,26 @@ let "datasetName" = mkOverride 1002 null; "datasetUUID" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "partition" = mkOption { description = '' The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "pdName" = mkOption { - description = - "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + description = "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr types.bool; }; }; @@ -7603,15 +6714,12 @@ let "partition" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GitRepoVolumeSource" = { - options = { "directory" = mkOption { - description = - "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."; - type = (types.nullOr types.str); + description = "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."; + type = types.nullOr types.str; }; "repository" = mkOption { description = "Repository URL"; @@ -7619,7 +6727,7 @@ let }; "revision" = mkOption { description = "Commit hash for the specified revision."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7627,30 +6735,24 @@ let "directory" = mkOverride 1002 null; "revision" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource" = { - options = { "endpoints" = mkOption { - description = - "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "endpointsNamespace" = mkOption { - description = - "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.str); + description = "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.str; }; "path" = mkOption { - description = - "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.bool; }; }; @@ -7658,55 +6760,47 @@ let "endpointsNamespace" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GlusterfsVolumeSource" = { - options = { "endpoints" = mkOption { - description = - "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "path" = mkOption { - description = - "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.bool; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.HTTPGetAction" = { - options = { "host" = mkOption { description = '' Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "httpHeaders" = mkOption { description = "Custom headers to set in the request. HTTP allows repeated headers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.HTTPHeader"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.HTTPHeader")); }; "path" = mkOption { description = "Path to access on the HTTP server."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; - type = (types.either types.int types.str); + description = "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; + type = types.either types.int types.str; }; "scheme" = mkOption { description = "Scheme to use for connecting to the host. Defaults to HTTP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7716,10 +6810,8 @@ let "path" = mkOverride 1002 null; "scheme" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HTTPHeader" = { - options = { "name" = mkOption { description = "The header field name"; @@ -7731,25 +6823,21 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.Handler" = { - options = { "exec" = mkOption { - description = - "One and only one of the following should be specified. Exec specifies the action to take."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction")); + description = "One and only one of the following should be specified. Exec specifies the action to take."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction"); }; "httpGet" = mkOption { description = "HTTPGet specifies the http request to perform."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction"); }; "tcpSocket" = mkOption { - description = - "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction")); + description = "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction"); }; }; @@ -7758,18 +6846,16 @@ let "httpGet" = mkOverride 1002 null; "tcpSocket" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HostAlias" = { - options = { "hostnames" = mkOption { description = "Hostnames for the above IP address."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ip" = mkOption { description = "IP address of the host file entry."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7777,77 +6863,67 @@ let "hostnames" = mkOverride 1002 null; "ip" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HostPathVolumeSource" = { - options = { "path" = mkOption { - description = - "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + description = "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; type = types.str; }; "type" = mkOption { description = '' Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "type" = mkOverride 1002 null; }; - + config = {"type" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ISCSIPersistentVolumeSource" = { - options = { "chapAuthDiscovery" = mkOption { description = "whether support iSCSI Discovery CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "chapAuthSession" = mkOption { description = "whether support iSCSI Session CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "initiatorName" = mkOption { - description = - "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; - type = (types.nullOr types.str); + description = "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; + type = types.nullOr types.str; }; "iqn" = mkOption { description = "Target iSCSI Qualified Name."; type = types.str; }; "iscsiInterface" = mkOption { - description = - "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; - type = (types.nullOr types.str); + description = "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; + type = types.nullOr types.str; }; "lun" = mkOption { description = "iSCSI Target Lun number."; type = types.int; }; "portals" = mkOption { - description = - "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; - type = (types.nullOr (types.listOf types.str)); + description = "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + type = types.nullOr (types.listOf types.str); }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { description = "CHAP Secret for iSCSI target and initiator authentication"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "targetPortal" = mkOption { - description = - "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + description = "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; type = types.str; }; }; @@ -7862,59 +6938,52 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ISCSIVolumeSource" = { - options = { "chapAuthDiscovery" = mkOption { description = "whether support iSCSI Discovery CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "chapAuthSession" = mkOption { description = "whether support iSCSI Session CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "initiatorName" = mkOption { - description = - "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; - type = (types.nullOr types.str); + description = "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; + type = types.nullOr types.str; }; "iqn" = mkOption { description = "Target iSCSI Qualified Name."; type = types.str; }; "iscsiInterface" = mkOption { - description = - "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; - type = (types.nullOr types.str); + description = "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; + type = types.nullOr types.str; }; "lun" = mkOption { description = "iSCSI Target Lun number."; type = types.int; }; "portals" = mkOption { - description = - "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; - type = (types.nullOr (types.listOf types.str)); + description = "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + type = types.nullOr (types.listOf types.str); }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { description = "CHAP Secret for iSCSI target and initiator authentication"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "targetPortal" = mkOption { - description = - "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + description = "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; type = types.str; }; }; @@ -7929,42 +6998,34 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.KeyToPath" = { - options = { "key" = mkOption { description = "The key to project."; type = types.str; }; "mode" = mkOption { - description = - "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."; + description = "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."; type = types.str; }; }; - config = { "mode" = mkOverride 1002 null; }; - + config = {"mode" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Lifecycle" = { - options = { "postStart" = mkOption { - description = - "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler")); + description = "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler"); }; "preStop" = mkOption { - description = - "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler")); + description = "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler"); }; }; @@ -7972,30 +7033,24 @@ let "postStart" = mkOverride 1002 null; "preStop" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRange" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LimitRangeSpec")); + description = "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LimitRangeSpec"); }; }; @@ -8005,33 +7060,28 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeItem" = { - options = { "default" = mkOption { - description = - "Default resource requirement limit value by resource name if resource limit is omitted."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Default resource requirement limit value by resource name if resource limit is omitted."; + type = types.nullOr (types.attrsOf types.str); }; "defaultRequest" = mkOption { - description = - "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."; + type = types.nullOr (types.attrsOf types.str); }; "max" = mkOption { description = "Max usage constraints on this kind by resource name."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "maxLimitRequestRatio" = mkOption { - description = - "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource."; - type = (types.nullOr (types.attrsOf types.str)); + description = "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource."; + type = types.nullOr (types.attrsOf types.str); }; "min" = mkOption { description = "Min usage constraints on this kind by resource name."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "type" = mkOption { description = "Type of resource that this limit applies to."; @@ -8046,30 +7096,24 @@ let "maxLimitRequestRatio" = mkOverride 1002 null; "min" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRange")); + description = "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRange"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8078,32 +7122,26 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeSpec" = { - options = { "limits" = mkOption { description = "Limits is the list of LimitRangeItem objects that are enforced."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRangeItem")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRangeItem"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.LoadBalancerIngress" = { - options = { "hostname" = mkOption { - description = - "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"; - type = (types.nullOr types.str); + description = "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"; + type = types.nullOr types.str; }; "ip" = mkOption { - description = - "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"; - type = (types.nullOr types.str); + description = "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"; + type = types.nullOr types.str; }; }; @@ -8111,103 +7149,82 @@ let "hostname" = mkOverride 1002 null; "ip" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LoadBalancerStatus" = { - options = { "ingress" = mkOption { - description = - "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."; + description = "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LoadBalancerIngress"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LoadBalancerIngress")); }; }; - config = { "ingress" = mkOverride 1002 null; }; - + config = {"ingress" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.LocalObjectReference" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; }; - config = { "name" = mkOverride 1002 null; }; - + config = {"name" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.LocalVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a fileystem if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "path" = mkOption { - description = - "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."; + description = "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."; type = types.str; }; }; - config = { "fsType" = mkOverride 1002 null; }; - + config = {"fsType" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NFSVolumeSource" = { - options = { "path" = mkOption { - description = - "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + description = "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr types.bool; }; "server" = mkOption { - description = - "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + description = "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; type = types.str; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Namespace" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceSpec")); + description = "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceSpec"); }; "status" = mkOption { - description = - "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceStatus")); + description = "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceStatus"); }; }; @@ -8218,22 +7235,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceCondition" = { - options = { "lastTransitionTime" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -8250,30 +7265,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Namespace")); + description = "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Namespace"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8282,35 +7291,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceSpec" = { - options = { "finalizers" = mkOption { - description = - "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; - type = (types.nullOr (types.listOf types.str)); + description = "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; + type = types.nullOr (types.listOf types.str); }; }; - config = { "finalizers" = mkOverride 1002 null; }; - + config = {"finalizers" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NamespaceStatus" = { - options = { "conditions" = mkOption { - description = - "Represents the latest available observations of a namespace's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a namespace's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "phase" = mkOption { - description = - "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; - type = (types.nullOr types.str); + description = "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; + type = types.nullOr types.str; }; }; @@ -8318,35 +7324,28 @@ let "conditions" = mkOverride 1002 null; "phase" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Node" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSpec")); + description = "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeStatus")); + description = "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeStatus"); }; }; @@ -8357,10 +7356,8 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeAddress" = { - options = { "address" = mkOption { description = "The node address."; @@ -8372,22 +7369,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.NodeAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.PreferredSchedulingTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.PreferredSchedulingTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector")); + description = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector"); }; }; @@ -8395,26 +7390,24 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeCondition" = { - options = { "lastHeartbeatTime" = mkOption { description = "Last time we got an update on a given condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transit from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -8432,42 +7425,34 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeConfigSource" = { - options = { "configMap" = mkOption { description = "ConfigMap is a reference to a Node's ConfigMap"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapNodeConfigSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapNodeConfigSource"); }; }; - config = { "configMap" = mkOverride 1002 null; }; - + config = {"configMap" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeConfigStatus" = { - options = { "active" = mkOption { - description = - "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "assigned" = mkOption { - description = - "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "error" = mkOption { - description = - "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."; - type = (types.nullOr types.str); + description = "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."; + type = types.nullOr types.str; }; "lastKnownGood" = mkOption { - description = - "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; }; @@ -8477,41 +7462,34 @@ let "error" = mkOverride 1002 null; "lastKnownGood" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeDaemonEndpoints" = { - options = { "kubeletEndpoint" = mkOption { description = "Endpoint on which Kubelet is listening."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DaemonEndpoint")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DaemonEndpoint"); }; }; - config = { "kubeletEndpoint" = mkOverride 1002 null; }; - + config = {"kubeletEndpoint" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of nodes"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Node")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Node"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8520,54 +7498,48 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSelector" = { - options = { "nodeSelectorTerms" = mkOption { description = "Required. A list of node selector terms. The terms are ORed."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.NodeSelectorRequirement" = { - options = { "key" = mkOption { description = "The label key that the selector applies to."; type = types.str; }; "operator" = mkOption { - description = - "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."; + description = "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."; type = types.str; }; "values" = mkOption { - description = - "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeSelectorTerm" = { - options = { "matchExpressions" = mkOption { description = "A list of node selector requirements by node's labels."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement")); }; "matchFields" = mkOption { description = "A list of node selector requirements by node's fields."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement")); }; }; @@ -8575,43 +7547,36 @@ let "matchExpressions" = mkOverride 1002 null; "matchFields" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSpec" = { - options = { "configSource" = mkOption { - description = - "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "externalID" = mkOption { - description = - "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"; - type = (types.nullOr types.str); + description = "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"; + type = types.nullOr types.str; }; "podCIDR" = mkOption { description = "PodCIDR represents the pod IP range assigned to the node."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podCIDRs" = mkOption { - description = - "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."; - type = (types.nullOr (types.listOf types.str)); + description = "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."; + type = types.nullOr (types.listOf types.str); }; "providerID" = mkOption { - description = - "ID of the node assigned by the cloud provider in the format: ://"; - type = (types.nullOr types.str); + description = "ID of the node assigned by the cloud provider in the format: ://"; + type = types.nullOr types.str; }; "taints" = mkOption { description = "If specified, the node's taints."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Taint"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Taint")); }; "unschedulable" = mkOption { - description = - "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration"; - type = (types.nullOr types.bool); + description = "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration"; + type = types.nullOr types.bool; }; }; @@ -8624,65 +7589,64 @@ let "taints" = mkOverride 1002 null; "unschedulable" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeStatus" = { - options = { "addresses" = mkOption { - description = - "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "allocatable" = mkOption { - description = - "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."; + type = types.nullOr (types.attrsOf types.str); }; "capacity" = mkOption { - description = - "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; + type = types.nullOr (types.attrsOf types.str); }; "conditions" = mkOption { - description = - "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "config" = mkOption { - description = - "Status of the config assigned to the node via the dynamic Kubelet config feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigStatus")); + description = "Status of the config assigned to the node via the dynamic Kubelet config feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigStatus"); }; "daemonEndpoints" = mkOption { description = "Endpoints of daemons running on the Node."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeDaemonEndpoints")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeDaemonEndpoints"); }; "images" = mkOption { description = "List of container images on this node"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerImage"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerImage")); }; "nodeInfo" = mkOption { - description = - "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSystemInfo")); + description = "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSystemInfo"); }; "phase" = mkOption { - description = - "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."; - type = (types.nullOr types.str); + description = "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."; + type = types.nullOr types.str; }; "volumesAttached" = mkOption { description = "List of volumes that are attached to the node."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.AttachedVolume"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.AttachedVolume")); }; "volumesInUse" = mkOption { description = "List of attachable volumes in use (mounted) by the node."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -8699,10 +7663,8 @@ let "volumesAttached" = mkOverride 1002 null; "volumesInUse" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSystemInfo" = { - options = { "architecture" = mkOption { description = "The Architecture reported by the node"; @@ -8713,13 +7675,11 @@ let type = types.str; }; "containerRuntimeVersion" = mkOption { - description = - "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."; + description = "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."; type = types.str; }; "kernelVersion" = mkOption { - description = - "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."; + description = "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."; type = types.str; }; "kubeProxyVersion" = mkOption { @@ -8731,8 +7691,7 @@ let type = types.str; }; "machineID" = mkOption { - description = - "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"; + description = "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"; type = types.str; }; "operatingSystem" = mkOption { @@ -8740,27 +7699,22 @@ let type = types.str; }; "osImage" = mkOption { - description = - "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."; + description = "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."; type = types.str; }; "systemUUID" = mkOption { - description = - "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"; + description = "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.ObjectFieldSelector" = { - options = { "apiVersion" = mkOption { - description = - ''Version of the schema the FieldPath is written in terms of, defaults to "v1".''; - type = (types.nullOr types.str); + description = ''Version of the schema the FieldPath is written in terms of, defaults to "v1".''; + type = types.nullOr types.str; }; "fieldPath" = mkOption { description = "Path of the field to select in the specified API version."; @@ -8768,45 +7722,38 @@ let }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldPath" = mkOption { description = '' If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "namespace" = mkOption { - description = - "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; - type = (types.nullOr types.str); + description = "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; + type = types.nullOr types.str; }; "resourceVersion" = mkOption { - description = - "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; - type = (types.nullOr types.str); + description = "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"; - type = (types.nullOr types.str); + description = "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"; + type = types.nullOr types.str; }; }; @@ -8819,35 +7766,28 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolume" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "status" = mkOption { - description = - "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeStatus")); + description = "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeStatus"); }; }; @@ -8858,35 +7798,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaim" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec")); + description = "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"); }; "status" = mkOption { - description = - "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimStatus")); + description = "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimStatus"); }; }; @@ -8897,27 +7830,25 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time we probed the condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = '' Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "ResizeStarted" that means the underlying persistent volume is being resized.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = ""; @@ -8935,30 +7866,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim")); + description = "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8967,44 +7892,36 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimSpec" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; + type = types.nullOr (types.listOf types.str); }; "dataSource" = mkOption { - description = - "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "resources" = mkOption { - description = - "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "selector" = mkOption { description = "A label query over volumes to consider for binding."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "storageClassName" = mkOption { - description = - "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"; - type = (types.nullOr types.str); + description = "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"; + type = types.nullOr types.str; }; "volumeMode" = mkOption { - description = - "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."; - type = (types.nullOr types.str); + description = "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."; + type = types.nullOr types.str; }; "volumeName" = mkOption { - description = - "VolumeName is the binding reference to the PersistentVolume backing this claim."; - type = (types.nullOr types.str); + description = "VolumeName is the binding reference to the PersistentVolume backing this claim."; + type = types.nullOr types.str; }; }; @@ -9017,31 +7934,31 @@ let "volumeMode" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimStatus" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; + type = types.nullOr (types.listOf types.str); }; "capacity" = mkOption { description = "Represents the actual resources of the underlying volume."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "conditions" = mkOption { - description = - "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."; - type = (types.nullOr + description = "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PersistentVolumeClaimCondition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "phase" = mkOption { description = "Phase represents the current phase of PersistentVolumeClaim."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -9051,65 +7968,52 @@ let "conditions" = mkOverride 1002 null; "phase" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimTemplate" = { - options = { "metadata" = mkOption { - description = - "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here."; - type = (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"); + description = "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here."; + type = submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"; }; }; - config = { "metadata" = mkOverride 1002 null; }; - + config = {"metadata" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" = { - options = { "claimName" = mkOption { - description = - "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + description = "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; type = types.str; }; "readOnly" = mkOption { description = "Will force the ReadOnly setting in VolumeMounts. Default false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PersistentVolumeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolume")); + description = "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolume"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9118,159 +8022,129 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeSpec" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"; + type = types.nullOr (types.listOf types.str); }; "awsElasticBlockStore" = mkOption { - description = - "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource")); + description = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"); }; "azureDisk" = mkOption { - description = - "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource")); + description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource"); }; "azureFile" = mkOption { - description = - "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFilePersistentVolumeSource")); + description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFilePersistentVolumeSource"); }; "capacity" = mkOption { - description = - "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; - type = (types.nullOr (types.attrsOf types.str)); + description = "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; + type = types.nullOr (types.attrsOf types.str); }; "cephfs" = mkOption { - description = - "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSPersistentVolumeSource")); + description = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSPersistentVolumeSource"); }; "cinder" = mkOption { - description = - "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderPersistentVolumeSource")); + description = "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderPersistentVolumeSource"); }; "claimRef" = mkOption { - description = - "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "csi" = mkOption { - description = - "CSI represents storage that is handled by an external CSI driver (Beta feature)."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIPersistentVolumeSource")); + description = "CSI represents storage that is handled by an external CSI driver (Beta feature)."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIPersistentVolumeSource"); }; "fc" = mkOption { - description = - "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource")); + description = "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource"); }; "flexVolume" = mkOption { - description = - "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexPersistentVolumeSource")); + description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexPersistentVolumeSource"); }; "flocker" = mkOption { - description = - "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource")); + description = "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource"); }; "gcePersistentDisk" = mkOption { - description = - "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource")); + description = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"); }; "glusterfs" = mkOption { - description = - "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource")); + description = "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource"); }; "hostPath" = mkOption { - description = - "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource")); + description = "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource"); }; "iscsi" = mkOption { - description = - "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIPersistentVolumeSource")); + description = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIPersistentVolumeSource"); }; "local" = mkOption { description = "Local represents directly-attached storage with node affinity"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalVolumeSource"); }; "mountOptions" = mkOption { description = '' A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nfs" = mkOption { - description = - "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource")); + description = "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource"); }; "nodeAffinity" = mkOption { - description = - "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VolumeNodeAffinity")); + description = "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VolumeNodeAffinity"); }; "persistentVolumeReclaimPolicy" = mkOption { - description = - "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"; - type = (types.nullOr types.str); + description = "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"; + type = types.nullOr types.str; }; "photonPersistentDisk" = mkOption { - description = - "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource")); + description = "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource"); }; "portworxVolume" = mkOption { - description = - "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource")); + description = "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource"); }; "quobyte" = mkOption { - description = - "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource")); + description = "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource"); }; "rbd" = mkOption { - description = - "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDPersistentVolumeSource")); + description = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDPersistentVolumeSource"); }; "scaleIO" = mkOption { - description = - "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource")); + description = "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource"); }; "storageClassName" = mkOption { - description = - "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."; - type = (types.nullOr types.str); + description = "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."; + type = types.nullOr types.str; }; "storageos" = mkOption { - description = - "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSPersistentVolumeSource")); + description = "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSPersistentVolumeSource"); }; "volumeMode" = mkOption { - description = - "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."; - type = (types.nullOr types.str); + description = "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."; + type = types.nullOr types.str; }; "vsphereVolume" = mkOption { - description = - "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource")); + description = "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource"); }; }; @@ -9306,25 +8180,20 @@ let "volumeMode" = mkOverride 1002 null; "vsphereVolume" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeStatus" = { - options = { "message" = mkOption { - description = - "A human-readable message indicating details about why the volume is in this state."; - type = (types.nullOr types.str); + description = "A human-readable message indicating details about why the volume is in this state."; + type = types.nullOr types.str; }; "phase" = mkOption { - description = - "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"; - type = (types.nullOr types.str); + description = "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."; - type = (types.nullOr types.str); + description = "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."; + type = types.nullOr types.str; }; }; @@ -9333,15 +8202,13 @@ let "phase" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pdID" = mkOption { description = "ID that identifies Photon Controller persistent disk"; @@ -9349,36 +8216,29 @@ let }; }; - config = { "fsType" = mkOverride 1002 null; }; - + config = {"fsType" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Pod" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec")); + description = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodStatus")); + description = "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodStatus"); }; }; @@ -9389,21 +8249,19 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"))); + description = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm")); }; }; @@ -9411,23 +8269,20 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAffinityTerm" = { - options = { "labelSelector" = mkOption { description = "A label query over a set of resources, in this case pods."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "namespaces" = mkOption { description = '' namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "topologyKey" = mkOption { - description = - "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."; + description = "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."; type = types.str; }; }; @@ -9436,21 +8291,19 @@ let "labelSelector" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAntiAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"))); + description = "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm")); }; }; @@ -9458,35 +8311,31 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time we probed the condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { - description = - "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + description = "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; type = types.str; }; "type" = mkOption { - description = - "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + description = "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; type = types.str; }; }; @@ -9497,26 +8346,21 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodDNSConfig" = { - options = { "nameservers" = mkOption { - description = - "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."; - type = (types.nullOr (types.listOf types.str)); + description = "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."; + type = types.nullOr (types.listOf types.str); }; "options" = mkOption { - description = - "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."; + description = "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodDNSConfigOption"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodDNSConfigOption")); }; "searches" = mkOption { - description = - "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."; - type = (types.nullOr (types.listOf types.str)); + description = "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."; + type = types.nullOr (types.listOf types.str); }; }; @@ -9525,18 +8369,16 @@ let "options" = mkOverride 1002 null; "searches" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodDNSConfigOption" = { - options = { "name" = mkOption { description = "Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "value" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -9544,42 +8386,34 @@ let "name" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodIP" = { - options = { "ip" = mkOption { description = "ip is an IP address (IPv4 or IPv6) assigned to the pod"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "ip" = mkOverride 1002 null; }; - + config = {"ip" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PodList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Pod")); + description = "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Pod"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9588,23 +8422,18 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodReadinessGate" = { - options = { "conditionType" = mkOption { - description = - "ConditionType refers to a condition in the pod's condition list with matching type."; + description = "ConditionType refers to a condition in the pod's condition list with matching type."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.PodSecurityContext" = { - options = { "fsGroup" = mkOption { description = '' @@ -9613,51 +8442,44 @@ let 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "fsGroupChangePolicy" = mkOption { description = '' fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified defaults to "Always".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "runAsGroup" = mkOption { - description = - "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr types.int); + description = "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr types.int; }; "runAsNonRoot" = mkOption { - description = - "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.bool); + description = "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.bool; }; "runAsUser" = mkOption { - description = - "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr types.int); + description = "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr types.int; }; "seLinuxOptions" = mkOption { - description = - "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; "seccompProfile" = mkOption { description = "The seccomp options to use by the containers in this pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile"); }; "supplementalGroups" = mkOption { - description = - "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."; - type = (types.nullOr (types.listOf types.int)); + description = "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."; + type = types.nullOr (types.listOf types.int); }; "sysctls" = mkOption { - description = - "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Sysctl"))); + description = "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Sysctl")); }; "windowsOptions" = mkOption { - description = - "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions")); + description = "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions"); }; }; @@ -9673,195 +8495,192 @@ let "sysctls" = mkOverride 1002 null; "windowsOptions" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodSpec" = { - options = { "activeDeadlineSeconds" = mkOption { - description = - "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."; + type = types.nullOr types.int; }; "affinity" = mkOption { description = "If specified, the pod's scheduling constraints"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Affinity")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Affinity"); }; "automountServiceAccountToken" = mkOption { - description = - "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."; - type = (types.nullOr types.bool); + description = "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."; + type = types.nullOr types.bool; }; "containers" = mkOption { - description = - "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."; - type = (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."; + type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "dnsConfig" = mkOption { - description = - "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodDNSConfig")); + description = "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodDNSConfig"); }; "dnsPolicy" = mkOption { description = '' Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enableServiceLinks" = mkOption { - description = - "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."; - type = (types.nullOr types.bool); + description = "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."; + type = types.nullOr types.bool; }; "ephemeralContainers" = mkOption { - description = - "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "hostAliases" = mkOption { - description = - "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."; + description = "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "hostIPC" = mkOption { description = "Use the host's ipc namespace. Optional: Default to false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "hostNetwork" = mkOption { - description = - "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."; - type = (types.nullOr types.bool); + description = "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."; + type = types.nullOr types.bool; }; "hostPID" = mkOption { description = "Use the host's pid namespace. Optional: Default to false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "hostname" = mkOption { - description = - "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."; - type = (types.nullOr types.str); + description = "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."; + type = types.nullOr types.str; }; "imagePullSecrets" = mkOption { - description = - "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "initContainers" = mkOption { - description = - "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "nodeName" = mkOption { - description = - "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."; - type = (types.nullOr types.str); + description = "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."; + type = types.nullOr types.str; }; "nodeSelector" = mkOption { - description = - "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"; + type = types.nullOr (types.attrsOf types.str); }; "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (types.attrsOf types.str); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "priority" = mkOption { - description = - "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."; - type = (types.nullOr types.int); + description = "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."; + type = types.nullOr types.int; }; "priorityClassName" = mkOption { description = '' If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readinessGates" = mkOption { description = '' If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md''; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodReadinessGate"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodReadinessGate")); }; "restartPolicy" = mkOption { - description = - "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"; - type = (types.nullOr types.str); + description = "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"; + type = types.nullOr types.str; }; "runtimeClassName" = mkOption { description = '' RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "schedulerName" = mkOption { - description = - "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."; - type = (types.nullOr types.str); + description = "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."; + type = types.nullOr types.str; }; "securityContext" = mkOption { - description = - "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSecurityContext")); + description = "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSecurityContext"); }; "serviceAccount" = mkOption { - description = - "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."; - type = (types.nullOr types.str); + description = "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."; + type = types.nullOr types.str; }; "serviceAccountName" = mkOption { - description = - "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; - type = (types.nullOr types.str); + description = "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; + type = types.nullOr types.str; }; "setHostnameAsFQDN" = mkOption { - description = - "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."; - type = (types.nullOr types.bool); + description = "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."; + type = types.nullOr types.bool; }; "shareProcessNamespace" = mkOption { - description = - "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."; - type = (types.nullOr types.bool); + description = "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."; + type = types.nullOr types.bool; }; "subdomain" = mkOption { description = '' If specified, the fully qualified Pod hostname will be "...svc.". If not specified, the pod will not have a domainname at all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "terminationGracePeriodSeconds" = mkOption { - description = - "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."; + type = types.nullOr types.int; }; "tolerations" = mkOption { description = "If specified, the pod's tolerations."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; "topologySpreadConstraints" = mkOption { - description = - "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."; - type = (types.nullOr + description = "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.TopologySpreadConstraint" - "topologyKey")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "topologyKey"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumes" = mkOption { - description = - "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"; + description = "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -9901,47 +8720,42 @@ let "topologySpreadConstraints" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodStatus" = { - options = { "conditions" = mkOption { - description = - "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "containerStatuses" = mkOption { - description = - "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "ephemeralContainerStatuses" = mkOption { - description = - "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "hostIP" = mkOption { - description = - "IP address of the host to which the pod is assigned. Empty if not yet scheduled."; - type = (types.nullOr types.str); + description = "IP address of the host to which the pod is assigned. Empty if not yet scheduled."; + type = types.nullOr types.str; }; "initContainerStatuses" = mkOption { - description = - "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "message" = mkOption { - description = - "A human readable message indicating details about why the pod is in this condition."; - type = (types.nullOr types.str); + description = "A human readable message indicating details about why the pod is in this condition."; + type = types.nullOr types.str; }; "nominatedNodeName" = mkOption { - description = - "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."; - type = (types.nullOr types.str); + description = "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."; + type = types.nullOr types.str; }; "phase" = mkOption { description = '' @@ -9950,34 +8764,32 @@ let Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podIP" = mkOption { - description = - "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."; - type = (types.nullOr types.str); + description = "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."; + type = types.nullOr types.str; }; "podIPs" = mkOption { - description = - "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."; + description = "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "qosClass" = mkOption { - description = - "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"; - type = (types.nullOr types.str); + description = "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"; - type = (types.nullOr types.str); + description = "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"; + type = types.nullOr types.str; }; "startTime" = mkOption { - description = - "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."; - type = (types.nullOr types.str); + description = "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."; + type = types.nullOr types.str; }; }; @@ -9996,30 +8808,24 @@ let "reason" = mkOverride 1002 null; "startTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplate" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "template" = mkOption { - description = - "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -10029,29 +8835,24 @@ let "metadata" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplateList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of pod templates"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PodTemplate")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PodTemplate"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10060,20 +8861,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec")); + description = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec"); }; }; @@ -10081,20 +8878,17 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PortworxVolumeSource" = { - options = { "fsType" = mkOption { description = '' FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "volumeID" = mkOption { description = "VolumeID uniquely identifies a Portworx volume"; @@ -10106,66 +8900,54 @@ let "fsType" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PreferredSchedulingTerm" = { - options = { "preference" = mkOption { description = "A node selector term, associated with the corresponding weight."; - type = (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"); + type = submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"; }; "weight" = mkOption { - description = - "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."; + description = "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.Probe" = { - options = { "exec" = mkOption { - description = - "One and only one of the following should be specified. Exec specifies the action to take."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction")); + description = "One and only one of the following should be specified. Exec specifies the action to take."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction"); }; "failureThreshold" = mkOption { - description = - "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."; - type = (types.nullOr types.int); + description = "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."; + type = types.nullOr types.int; }; "httpGet" = mkOption { description = "HTTPGet specifies the http request to perform."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction"); }; "initialDelaySeconds" = mkOption { - description = - "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr types.int); + description = "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr types.int; }; "periodSeconds" = mkOption { - description = - "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."; - type = (types.nullOr types.int); + description = "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."; + type = types.nullOr types.int; }; "successThreshold" = mkOption { - description = - "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."; - type = (types.nullOr types.int); + description = "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."; + type = types.nullOr types.int; }; "tcpSocket" = mkOption { - description = - "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction")); + description = "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction"); }; "timeoutSeconds" = mkOption { - description = - "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr types.int); + description = "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr types.int; }; }; @@ -10179,54 +8961,45 @@ let "tcpSocket" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ProjectedVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "sources" = mkOption { description = "list of volume projections"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeProjection")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeProjection"); }; }; - config = { "defaultMode" = mkOverride 1002 null; }; - + config = {"defaultMode" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.QuobyteVolumeSource" = { - options = { "group" = mkOption { description = "Group to map volume access to Default is no group"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."; + type = types.nullOr types.bool; }; "registry" = mkOption { - description = - "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"; + description = "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"; type = types.str; }; "tenant" = mkOption { - description = - "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"; - type = (types.nullOr types.str); + description = "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"; + type = types.nullOr types.str; }; "user" = mkOption { description = "User to map volume access to Defaults to serivceaccount user"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "volume" = mkOption { - description = - "Volume is a string that references an already created Quobyte volume by name."; + description = "Volume is a string that references an already created Quobyte volume by name."; type = types.str; }; }; @@ -10237,50 +9010,41 @@ let "tenant" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.RBDPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + description = "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; type = types.str; }; "keyring" = mkOption { - description = - "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "monitors" = mkOption { - description = - "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.listOf types.str; }; "pool" = mkOption { - description = - "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "user" = mkOption { - description = - "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -10292,50 +9056,41 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.RBDVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + description = "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; type = types.str; }; "keyring" = mkOption { - description = - "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "monitors" = mkOption { - description = - "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.listOf types.str; }; "pool" = mkOption { - description = - "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "user" = mkOption { - description = - "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -10347,35 +9102,28 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationController" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerSpec")); + description = "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerSpec"); }; "status" = mkOption { - description = - "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerStatus")); + description = "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerStatus"); }; }; @@ -10386,22 +9134,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerCondition" = { - options = { "lastTransitionTime" = mkOption { description = "The last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -10418,30 +9164,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ReplicationController")); + description = "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ReplicationController"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10450,30 +9190,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; - type = (types.nullOr types.int); + description = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = types.nullOr (types.attrsOf types.str); }; "template" = mkOption { - description = - "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -10483,41 +9217,38 @@ let "selector" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerStatus" = { - options = { "availableReplicas" = mkOption { - description = - "The number of available replicas (ready for at least minReadySeconds) for this replication controller."; - type = (types.nullOr types.int); + description = "The number of available replicas (ready for at least minReadySeconds) for this replication controller."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a replication controller's current state."; - type = (types.nullOr + description = "Represents the latest available observations of a replication controller's current state."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ReplicationControllerCondition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "fullyLabeledReplicas" = mkOption { - description = - "The number of pods that have labels matching the labels of the pod template of the replication controller."; - type = (types.nullOr types.int); + description = "The number of pods that have labels matching the labels of the pod template of the replication controller."; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { - description = - "ObservedGeneration reflects the generation of the most recently observed replication controller."; - type = (types.nullOr types.int); + description = "ObservedGeneration reflects the generation of the most recently observed replication controller."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "The number of ready replicas for this replication controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; + description = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; type = types.int; }; }; @@ -10529,18 +9260,16 @@ let "observedGeneration" = mkOverride 1002 null; "readyReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceFieldSelector" = { - options = { "containerName" = mkOption { description = "Container name: required for volumes, optional for env vars"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "divisor" = mkOption { description = ''Specifies the output format of the exposed resources, defaults to "1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = "Required: resource to select"; @@ -10552,35 +9281,28 @@ let "containerName" = mkOverride 1002 null; "divisor" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuota" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaSpec")); + description = "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaSpec"); }; "status" = mkOption { - description = - "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaStatus")); + description = "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaStatus"); }; }; @@ -10591,30 +9313,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ResourceQuota")); + description = "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ResourceQuota"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10623,25 +9339,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaSpec" = { - options = { "hard" = mkOption { - description = - "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.nullOr (types.attrsOf types.str); }; "scopeSelector" = mkOption { - description = - "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScopeSelector")); + description = "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScopeSelector"); }; "scopes" = mkOption { - description = - "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."; - type = (types.nullOr (types.listOf types.str)); + description = "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."; + type = types.nullOr (types.listOf types.str); }; }; @@ -10650,20 +9361,16 @@ let "scopeSelector" = mkOverride 1002 null; "scopes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaStatus" = { - options = { "hard" = mkOption { - description = - "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.nullOr (types.attrsOf types.str); }; "used" = mkOption { - description = - "Used is the current observed total usage of the resource in the namespace."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Used is the current observed total usage of the resource in the namespace."; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -10671,20 +9378,16 @@ let "hard" = mkOverride 1002 null; "used" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceRequirements" = { - options = { "limits" = mkOption { - description = - "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.nullOr (types.attrsOf types.str); }; "requests" = mkOption { - description = - "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -10692,26 +9395,24 @@ let "limits" = mkOverride 1002 null; "requests" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SELinuxOptions" = { - options = { "level" = mkOption { description = "Level is SELinux level label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "role" = mkOption { description = "Role is a SELinux role label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = "Type is a SELinux type label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is a SELinux user label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -10721,15 +9422,13 @@ let "type" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "gateway" = mkOption { description = "The host address of the ScaleIO API Gateway."; @@ -10737,39 +9436,35 @@ let }; "protectionDomain" = mkOption { description = "The name of the ScaleIO Protection Domain for the configured storage."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; - type = (submoduleOf "io.k8s.api.core.v1.SecretReference"); + description = "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; + type = submoduleOf "io.k8s.api.core.v1.SecretReference"; }; "sslEnabled" = mkOption { description = "Flag to enable/disable SSL communication with Gateway, default false"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageMode" = mkOption { - description = - "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; - type = (types.nullOr types.str); + description = "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; + type = types.nullOr types.str; }; "storagePool" = mkOption { description = "The ScaleIO Storage Pool associated with the protection domain."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "system" = mkOption { description = "The name of the storage system as configured in ScaleIO."; type = types.str; }; "volumeName" = mkOption { - description = - "The name of a volume already created in the ScaleIO system that is associated with this volume source."; - type = (types.nullOr types.str); + description = "The name of a volume already created in the ScaleIO system that is associated with this volume source."; + type = types.nullOr types.str; }; }; @@ -10782,15 +9477,13 @@ let "storagePool" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScaleIOVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "gateway" = mkOption { description = "The host address of the ScaleIO API Gateway."; @@ -10798,39 +9491,35 @@ let }; "protectionDomain" = mkOption { description = "The name of the ScaleIO Protection Domain for the configured storage."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; - type = (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); + description = "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; + type = submoduleOf "io.k8s.api.core.v1.LocalObjectReference"; }; "sslEnabled" = mkOption { description = "Flag to enable/disable SSL communication with Gateway, default false"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageMode" = mkOption { - description = - "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; - type = (types.nullOr types.str); + description = "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; + type = types.nullOr types.str; }; "storagePool" = mkOption { description = "The ScaleIO Storage Pool associated with the protection domain."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "system" = mkOption { description = "The name of the storage system as configured in ScaleIO."; type = types.str; }; "volumeName" = mkOption { - description = - "The name of a volume already created in the ScaleIO system that is associated with this volume source."; - type = (types.nullOr types.str); + description = "The name of a volume already created in the ScaleIO system that is associated with this volume source."; + type = types.nullOr types.str; }; }; @@ -10843,27 +9532,23 @@ let "storagePool" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScopeSelector" = { - options = { "matchExpressions" = mkOption { description = "A list of scope selector requirements by scope of the resources."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.ScopedResourceSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.ScopedResourceSelectorRequirement")); }; }; - config = { "matchExpressions" = mkOverride 1002 null; }; - + config = {"matchExpressions" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ScopedResourceSelectorRequirement" = { - options = { "operator" = mkOption { - description = - "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."; + description = "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."; type = types.str; }; "scopeName" = mkOption { @@ -10871,22 +9556,19 @@ let type = types.str; }; "values" = mkOption { - description = - "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.SeccompProfile" = { - options = { "localhostProfile" = mkOption { description = '' localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = '' @@ -10897,45 +9579,37 @@ let }; }; - config = { "localhostProfile" = mkOverride 1002 null; }; - + config = {"localhostProfile" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Secret" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "data" = mkOption { - description = - "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"; + type = types.nullOr (types.attrsOf types.str); }; "immutable" = mkOption { - description = - "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; - type = (types.nullOr types.bool); + description = "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "stringData" = mkOption { - description = - "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API."; - type = (types.nullOr (types.attrsOf types.str)); + description = "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API."; + type = types.nullOr (types.attrsOf types.str); }; "type" = mkOption { description = "Used to facilitate programmatic handling of secret data."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -10948,19 +9622,16 @@ let "stringData" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretEnvSource" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -10968,23 +9639,20 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretKeySelector" = { - options = { "key" = mkOption { description = "The key of the secret to select from. Must be a valid secret key."; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -10992,30 +9660,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Secret")); + description = "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Secret"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11024,24 +9686,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretProjection" = { - options = { "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11050,18 +9708,16 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretReference" = { - options = { "name" = mkOption { description = "Name is unique within a namespace to reference a secret resource."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace defines the space within which the secret name must be unique."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11069,29 +9725,24 @@ let "name" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "optional" = mkOption { description = "Specify whether the Secret or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "secretName" = mkOption { - description = - "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; - type = (types.nullOr types.str); + description = "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; + type = types.nullOr types.str; }; }; @@ -11101,64 +9752,52 @@ let "optional" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecurityContext" = { - options = { "allowPrivilegeEscalation" = mkOption { - description = - "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"; - type = (types.nullOr types.bool); + description = "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"; + type = types.nullOr types.bool; }; "capabilities" = mkOption { - description = - "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Capabilities")); + description = "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Capabilities"); }; "privileged" = mkOption { - description = - "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."; - type = (types.nullOr types.bool); + description = "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."; + type = types.nullOr types.bool; }; "procMount" = mkOption { - description = - "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."; - type = (types.nullOr types.str); + description = "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."; + type = types.nullOr types.str; }; "readOnlyRootFilesystem" = mkOption { description = "Whether this container has a read-only root filesystem. Default is false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "runAsGroup" = mkOption { - description = - "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.int); + description = "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.int; }; "runAsNonRoot" = mkOption { - description = - "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.bool); + description = "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.bool; }; "runAsUser" = mkOption { - description = - "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.int); + description = "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.int; }; "seLinuxOptions" = mkOption { - description = - "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; "seccompProfile" = mkOption { - description = - "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile")); + description = "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile"); }; "windowsOptions" = mkOption { - description = - "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions")); + description = "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions"); }; }; @@ -11175,35 +9814,28 @@ let "seccompProfile" = mkOverride 1002 null; "windowsOptions" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Service" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceSpec")); + description = "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceStatus")); + description = "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceStatus"); }; }; @@ -11214,43 +9846,39 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccount" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "automountServiceAccountToken" = mkOption { - description = - "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."; - type = (types.nullOr types.bool); + description = "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."; + type = types.nullOr types.bool; }; "imagePullSecrets" = mkOption { - description = - "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"; + description = "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "secrets" = mkOption { - description = - "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -11262,30 +9890,24 @@ let "metadata" = mkOverride 1002 null; "secrets" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccountList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ServiceAccount")); + description = "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ServiceAccount"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11294,24 +9916,19 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccountTokenProjection" = { - options = { "audience" = mkOption { - description = - "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."; - type = (types.nullOr types.str); + description = "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."; + type = types.nullOr types.str; }; "expirationSeconds" = mkOption { - description = - "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."; - type = (types.nullOr types.int); + description = "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "Path is the path relative to the mount point of the file to project the token into."; + description = "Path is the path relative to the mount point of the file to project the token into."; type = types.str; }; }; @@ -11320,29 +9937,24 @@ let "audience" = mkOverride 1002 null; "expirationSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of services"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Service")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Service"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11351,39 +9963,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServicePort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."; - type = (types.nullOr types.str); + description = "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."; + type = types.nullOr types.str; }; "nodePort" = mkOption { - description = - "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"; - type = (types.nullOr types.int); + description = "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"; + type = types.nullOr types.int; }; "port" = mkOption { description = "The port that will be exposed by this service."; type = types.int; }; "protocol" = mkOption { - description = - ''The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.''; - type = (types.nullOr types.str); + description = ''The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.''; + type = types.nullOr types.str; }; "targetPort" = mkOption { - description = - "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"; - type = (types.nullOr (types.either types.int types.str)); + description = "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"; + type = types.nullOr (types.either types.int types.str); }; }; @@ -11394,86 +9999,82 @@ let "protocol" = mkOverride 1002 null; "targetPort" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceSpec" = { - options = { "clusterIP" = mkOption { description = '' clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are "None", empty string (""), or a valid IP address. "None" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "externalIPs" = mkOption { - description = - "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."; - type = (types.nullOr (types.listOf types.str)); + description = "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."; + type = types.nullOr (types.listOf types.str); }; "externalName" = mkOption { - description = - "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName."; - type = (types.nullOr types.str); + description = "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName."; + type = types.nullOr types.str; }; "externalTrafficPolicy" = mkOption { description = '' externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. "Local" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. "Cluster" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "healthCheckNodePort" = mkOption { - description = - "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local."; - type = (types.nullOr types.int); + description = "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local."; + type = types.nullOr types.int; }; "ipFamily" = mkOption { description = '' ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6) when the IPv6DualStack feature gate is enabled. In a dual-stack cluster, you can specify ipFamily when creating a ClusterIP Service to determine whether the controller will allocate an IPv4 or IPv6 IP for it, and you can specify ipFamily when creating a headless Service to determine whether it will have IPv4 or IPv6 Endpoints. In either case, if you do not specify an ipFamily explicitly, it will default to the cluster's primary IP family. This field is part of an alpha feature, and you should not make any assumptions about its semantics other than those described above. In particular, you should not assume that it can (or cannot) be changed after creation time; that it can only have the values "IPv4" and "IPv6"; or that its current value on a given Service correctly reflects the current state of that Service. (For ClusterIP Services, look at clusterIP to see if the Service is IPv4 or IPv6. For headless Services, look at the endpoints, which may be dual-stack in the future. For ExternalName Services, ipFamily has no meaning, but it may be set to an irrelevant value anyway.)''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "loadBalancerIP" = mkOption { - description = - "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."; - type = (types.nullOr types.str); + description = "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."; + type = types.nullOr types.str; }; "loadBalancerSourceRanges" = mkOption { description = '' If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ports" = mkOption { - description = - "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "publishNotReadyAddresses" = mkOption { description = '' publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "selector" = mkOption { - description = - "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/"; + type = types.nullOr (types.attrsOf types.str); }; "sessionAffinity" = mkOption { description = '' Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "sessionAffinityConfig" = mkOption { description = "sessionAffinityConfig contains the configurations of session affinity."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SessionAffinityConfig")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SessionAffinityConfig"); }; "topologyKeys" = mkOption { description = '' topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value "*" may be used to mean "any topology". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "type" = mkOption { description = '' type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ExternalName" maps to the specified externalName. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11494,60 +10095,50 @@ let "topologyKeys" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceStatus" = { - options = { "loadBalancer" = mkOption { - description = - "LoadBalancer contains the current status of the load-balancer, if one is present."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + description = "LoadBalancer contains the current status of the load-balancer, if one is present."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.SessionAffinityConfig" = { - options = { "clientIP" = mkOption { description = "clientIP contains the configurations of Client IP based session affinity."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ClientIPConfig")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ClientIPConfig"); }; }; - config = { "clientIP" = mkOverride 1002 null; }; - + config = {"clientIP" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.StorageOSPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "volumeName" = mkOption { - description = - "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; - type = (types.nullOr types.str); + description = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; + type = types.nullOr types.str; }; "volumeNamespace" = mkOption { description = '' VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11558,35 +10149,30 @@ let "volumeName" = mkOverride 1002 null; "volumeNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.StorageOSVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "volumeName" = mkOption { - description = - "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; - type = (types.nullOr types.str); + description = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; + type = types.nullOr types.str; }; "volumeNamespace" = mkOption { description = '' VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11597,10 +10183,8 @@ let "volumeName" = mkOverride 1002 null; "volumeNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Sysctl" = { - options = { "name" = mkOption { description = "Name of a property to set"; @@ -11612,32 +10196,26 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.TCPSocketAction" = { - options = { "host" = mkOption { description = "Optional: Host name to connect to, defaults to the pod IP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; - type = (types.either types.int types.str); + description = "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; + type = types.either types.int types.str; }; }; - config = { "host" = mkOverride 1002 null; }; - + config = {"host" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Taint" = { - options = { "effect" = mkOption { - description = - "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."; + description = "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."; type = types.str; }; "key" = mkOption { @@ -11645,13 +10223,12 @@ let type = types.str; }; "timeAdded" = mkOption { - description = - "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."; - type = (types.nullOr types.str); + description = "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."; + type = types.nullOr types.str; }; "value" = mkOption { description = "The taint value corresponding to the taint key."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11659,35 +10236,28 @@ let "timeAdded" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Toleration" = { - options = { "effect" = mkOption { - description = - "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."; - type = (types.nullOr types.str); + description = "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."; + type = types.nullOr types.str; }; "key" = mkOption { - description = - "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."; - type = (types.nullOr types.str); + description = "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."; + type = types.nullOr types.str; }; "operator" = mkOption { - description = - "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."; - type = (types.nullOr types.str); + description = "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."; + type = types.nullOr types.str; }; "tolerationSeconds" = mkOption { - description = - "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."; - type = (types.nullOr types.int); + description = "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."; + type = types.nullOr types.int; }; "value" = mkOption { - description = - "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."; - type = (types.nullOr types.str); + description = "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."; + type = types.nullOr types.str; }; }; @@ -11698,49 +10268,41 @@ let "tolerationSeconds" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.TopologySelectorLabelRequirement" = { - options = { "key" = mkOption { description = "The label key that the selector applies to."; type = types.str; }; "values" = mkOption { - description = - "An array of string values. One value must match the label to be selected. Each entry in Values is ORed."; - type = (types.listOf types.str); + description = "An array of string values. One value must match the label to be selected. Each entry in Values is ORed."; + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.TopologySelectorTerm" = { - options = { "matchLabelExpressions" = mkOption { description = "A list of topology selector requirements by labels."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorLabelRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorLabelRequirement")); }; }; - config = { "matchLabelExpressions" = mkOverride 1002 null; }; - + config = {"matchLabelExpressions" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.TopologySpreadConstraint" = { - options = { "labelSelector" = mkOption { - description = - "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "maxSkew" = mkOption { - description = - "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."; + description = "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."; type = types.int; }; "topologyKey" = mkOption { @@ -11758,16 +10320,13 @@ let }; }; - config = { "labelSelector" = mkOverride 1002 null; }; - + config = {"labelSelector" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.TypedLocalObjectReference" = { - options = { "apiGroup" = mkOption { - description = - "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; - type = (types.nullOr types.str); + description = "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind is the type of resource being referenced"; @@ -11779,55 +10338,45 @@ let }; }; - config = { "apiGroup" = mkOverride 1002 null; }; - + config = {"apiGroup" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Volume" = { - options = { "awsElasticBlockStore" = mkOption { - description = - "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource")); + description = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"); }; "azureDisk" = mkOption { - description = - "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource")); + description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource"); }; "azureFile" = mkOption { - description = - "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFileVolumeSource")); + description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFileVolumeSource"); }; "cephfs" = mkOption { - description = - "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSVolumeSource")); + description = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSVolumeSource"); }; "cinder" = mkOption { - description = - "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderVolumeSource")); + description = "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderVolumeSource"); }; "configMap" = mkOption { description = "ConfigMap represents a configMap that should populate this volume"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapVolumeSource"); }; "csi" = mkOption { - description = - "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIVolumeSource")); + description = "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIVolumeSource"); }; "downwardAPI" = mkOption { - description = - "DownwardAPI represents downward API about the pod that should populate this volume"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeSource")); + description = "DownwardAPI represents downward API about the pod that should populate this volume"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeSource"); }; "emptyDir" = mkOption { - description = - "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EmptyDirVolumeSource")); + description = "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EmptyDirVolumeSource"); }; "ephemeral" = mkOption { description = '' @@ -11845,107 +10394,88 @@ let Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time.''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EphemeralVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EphemeralVolumeSource"); }; "fc" = mkOption { - description = - "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource")); + description = "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource"); }; "flexVolume" = mkOption { - description = - "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexVolumeSource")); + description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexVolumeSource"); }; "flocker" = mkOption { - description = - "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource")); + description = "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource"); }; "gcePersistentDisk" = mkOption { - description = - "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource")); + description = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"); }; "gitRepo" = mkOption { - description = - "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GitRepoVolumeSource")); + description = "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GitRepoVolumeSource"); }; "glusterfs" = mkOption { - description = - "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsVolumeSource")); + description = "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsVolumeSource"); }; "hostPath" = mkOption { - description = - "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource")); + description = "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource"); }; "iscsi" = mkOption { - description = - "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIVolumeSource")); + description = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIVolumeSource"); }; "name" = mkOption { - description = - "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + description = "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; type = types.str; }; "nfs" = mkOption { - description = - "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource")); + description = "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource"); }; "persistentVolumeClaim" = mkOption { - description = - "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + description = "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; type = - (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource")); + types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource"); }; "photonPersistentDisk" = mkOption { - description = - "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource")); + description = "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource"); }; "portworxVolume" = mkOption { - description = - "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource")); + description = "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource"); }; "projected" = mkOption { description = "Items for all in one resources secrets, configmaps, and downward API"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ProjectedVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ProjectedVolumeSource"); }; "quobyte" = mkOption { - description = - "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource")); + description = "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource"); }; "rbd" = mkOption { - description = - "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDVolumeSource")); + description = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDVolumeSource"); }; "scaleIO" = mkOption { - description = - "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOVolumeSource")); + description = "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOVolumeSource"); }; "secret" = mkOption { - description = - "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretVolumeSource")); + description = "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretVolumeSource"); }; "storageos" = mkOption { - description = - "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSVolumeSource")); + description = "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSVolumeSource"); }; "vsphereVolume" = mkOption { - description = - "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource")); + description = "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource"); }; }; @@ -11980,14 +10510,11 @@ let "storageos" = mkOverride 1002 null; "vsphereVolume" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VolumeDevice" = { - options = { "devicePath" = mkOption { - description = - "devicePath is the path inside of the container that the device will be mapped to."; + description = "devicePath is the path inside of the container that the device will be mapped to."; type = types.str; }; "name" = mkOption { @@ -11996,40 +10523,35 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.VolumeMount" = { - options = { "mountPath" = mkOption { - description = - "Path within the container at which the volume should be mounted. Must not contain ':'."; + description = "Path within the container at which the volume should be mounted. Must not contain ':'."; type = types.str; }; "mountPropagation" = mkOption { - description = - "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."; - type = (types.nullOr types.str); + description = "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."; + type = types.nullOr types.str; }; "name" = mkOption { description = "This must match the Name of a Volume."; type = types.str; }; "readOnly" = mkOption { - description = - "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."; - type = (types.nullOr types.bool); + description = "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."; + type = types.nullOr types.bool; }; "subPath" = mkOption { description = '' Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subPathExpr" = mkOption { description = '' Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12039,38 +10561,34 @@ let "subPath" = mkOverride 1002 null; "subPathExpr" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VolumeNodeAffinity" = { - options = { "required" = mkOption { description = "Required specifies hard node constraints that must be met."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector"); }; }; - config = { "required" = mkOverride 1002 null; }; - + config = {"required" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.VolumeProjection" = { - options = { "configMap" = mkOption { description = "information about the configMap data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapProjection"); }; "downwardAPI" = mkOption { description = "information about the downwardAPI data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIProjection"); }; "secret" = mkOption { description = "information about the secret data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretProjection"); }; "serviceAccountToken" = mkOption { description = "information about the serviceAccountToken data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceAccountTokenProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceAccountTokenProjection"); }; }; @@ -12080,24 +10598,21 @@ let "secret" = mkOverride 1002 null; "serviceAccountToken" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "storagePolicyID" = mkOption { - description = - "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."; - type = (types.nullOr types.str); + description = "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."; + type = types.nullOr types.str; }; "storagePolicyName" = mkOption { description = "Storage Policy Based Management (SPBM) profile name."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "volumePath" = mkOption { description = "Path that identifies vSphere volume vmdk"; @@ -12110,41 +10625,34 @@ let "storagePolicyID" = mkOverride 1002 null; "storagePolicyName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.WeightedPodAffinityTerm" = { - options = { "podAffinityTerm" = mkOption { description = "Required. A pod affinity term, associated with the corresponding weight."; - type = (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"); + type = submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"; }; "weight" = mkOption { - description = - "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."; + description = "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.WindowsSecurityContextOptions" = { - options = { "gmsaCredentialSpec" = mkOption { - description = - "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."; - type = (types.nullOr types.str); + description = "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."; + type = types.nullOr types.str; }; "gmsaCredentialSpecName" = mkOption { description = "GMSACredentialSpecName is the name of the GMSA credential spec to use."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "runAsUserName" = mkOption { - description = - "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.str); + description = "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.str; }; }; @@ -12153,29 +10661,24 @@ let "gmsaCredentialSpecName" = mkOverride 1002 null; "runAsUserName" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.Endpoint" = { - options = { "addresses" = mkOption { - description = - "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; - type = (types.listOf types.str); + description = "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; + type = types.listOf types.str; }; "conditions" = mkOption { description = "conditions contains information about the current status of the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointConditions")); + type = types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointConditions"); }; "hostname" = mkOption { - description = - "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation."; - type = (types.nullOr types.str); + description = "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation."; + type = types.nullOr types.str; }; "targetRef" = mkOption { - description = - "targetRef is a reference to a Kubernetes object that represents this endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "targetRef is a reference to a Kubernetes object that represents this endpoint."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "topology" = mkOption { description = '' @@ -12186,7 +10689,7 @@ let endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label.''; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; }; @@ -12196,42 +10699,34 @@ let "targetRef" = mkOverride 1002 null; "topology" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointConditions" = { - options = { "ready" = mkOption { - description = - "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready."; - type = (types.nullOr types.bool); + description = "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready."; + type = types.nullOr types.bool; }; }; - config = { "ready" = mkOverride 1002 null; }; - + config = {"ready" = mkOverride 1002 null;}; }; "io.k8s.api.discovery.v1beta1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; - type = (types.nullOr types.str); + description = "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; - type = (types.nullOr types.int); + description = "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; + type = types.nullOr types.int; }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12241,40 +10736,34 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointSlice" = { - options = { "addressType" = mkOption { - description = - "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; + description = "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; type = types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "endpoints" = mkOption { - description = - "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.Endpoint")); + description = "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.Endpoint"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "ports" = mkOption { description = '' ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.''; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointPort"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointPort")); }; }; @@ -12284,28 +10773,24 @@ let "metadata" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointSliceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoint slices"; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointSlice")); + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointSlice"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12314,93 +10799,76 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.Event" = { - options = { "action" = mkOption { - description = - "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deprecatedCount" = mkOption { - description = - "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.int); + description = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.int; }; "deprecatedFirstTimestamp" = mkOption { - description = - "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedLastTimestamp" = mkOption { - description = - "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedSource" = mkOption { - description = - "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "eventTime" = mkOption { description = "eventTime is the time when this Event was first observed. It is required."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "note" = mkOption { - description = - "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; - type = (types.nullOr types.str); + description = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "regarding" = mkOption { - description = - "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "related" = mkOption { - description = - "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingController" = mkOption { - description = - "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { - description = - "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "series" = mkOption { - description = - "series is data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.events.v1.EventSeries")); + description = "series is data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.events.v1.EventSeries"); }; "type" = mkOption { - description = - "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; - type = (types.nullOr types.str); + description = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; + type = types.nullOr types.str; }; }; @@ -12422,29 +10890,24 @@ let "series" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.events.v1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.events.v1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12453,111 +10916,90 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.EventSeries" = { - options = { "count" = mkOption { - description = - "count is the number of occurrences in this series up to the last heartbeat time."; + description = "count is the number of occurrences in this series up to the last heartbeat time."; type = types.int; }; "lastObservedTime" = mkOption { - description = - "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; + description = "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.events.v1beta1.Event" = { - options = { "action" = mkOption { - description = - "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deprecatedCount" = mkOption { - description = - "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.int); + description = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.int; }; "deprecatedFirstTimestamp" = mkOption { - description = - "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedLastTimestamp" = mkOption { - description = - "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedSource" = mkOption { - description = - "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "eventTime" = mkOption { description = "eventTime is the time when this Event was first observed. It is required."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "note" = mkOption { - description = - "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; - type = (types.nullOr types.str); + description = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "regarding" = mkOption { - description = - "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "related" = mkOption { - description = - "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingController" = mkOption { - description = - "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { - description = - "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "series" = mkOption { - description = - "series is data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.events.v1beta1.EventSeries")); + description = "series is data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.events.v1beta1.EventSeries"); }; "type" = mkOption { - description = - "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; - type = (types.nullOr types.str); + description = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; + type = types.nullOr types.str; }; }; @@ -12579,29 +11021,24 @@ let "series" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1beta1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.events.v1beta1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.events.v1beta1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12610,38 +11047,31 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1beta1.EventSeries" = { - options = { "count" = mkOption { - description = - "count is the number of occurrences in this series up to the last heartbeat time."; + description = "count is the number of occurrences in this series up to the last heartbeat time."; type = types.int; }; "lastObservedTime" = mkOption { - description = - "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; + description = "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.extensions.v1beta1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -12656,7 +11086,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12664,47 +11094,38 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.extensions.v1beta1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressStatus"); }; }; @@ -12715,23 +11136,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressBackend" = { - options = { "resource" = mkOption { - description = - "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "serviceName" = mkOption { description = "Specifies the name of the referenced service."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "servicePort" = mkOption { description = "Specifies the port of the referenced service."; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; }; @@ -12740,29 +11158,24 @@ let "serviceName" = mkOverride 1002 null; "servicePort" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12771,10 +11184,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -12786,11 +11197,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue"); }; }; @@ -12798,32 +11209,26 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressSpec" = { - options = { "backend" = mkOption { - description = - "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend")); + description = "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressRule"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressTLS"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressTLS")); }; }; @@ -12833,32 +11238,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.extensions.v1beta1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12866,10 +11266,8 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod" = { - options = { "type" = mkOption { description = '' @@ -12878,36 +11276,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec")); + description = "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec"); }; "status" = mkOption { - description = - "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus")); + description = "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus"); }; }; @@ -12918,34 +11309,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12956,29 +11341,24 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of FlowSchemas."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchema")); + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchema"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12987,33 +11367,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec" = { - options = { "distinguisherMethod" = mkOption { - description = - "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; + description = "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod"); }; "matchingPrecedence" = mkOption { - description = - "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; - type = (types.nullOr types.int); + description = "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; + type = types.nullOr types.int; }; "priorityLevelConfiguration" = mkOption { - description = - "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; + description = "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; type = - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference"); + submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference"; }; "rules" = mkOption { - description = - "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects"))); + description = "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects")); }; }; @@ -13022,23 +11397,20 @@ let "matchingPrecedence" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus" = { - options = { "conditions" = mkOption { description = "`conditions` is a list of the current states of FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.GroupSubject" = { - options = { "name" = mkOption { description = '' @@ -13047,17 +11419,15 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.LimitResponse" = { - options = { "queuing" = mkOption { description = '' `queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `"Queue"`.''; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration"); }; "type" = mkOption { description = '' @@ -13066,11 +11436,9 @@ let }; }; - config = { "queuing" = mkOverride 1002 null; }; - + config = {"queuing" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration" = { - options = { "assuredConcurrencyShares" = mkOption { description = '' @@ -13079,12 +11447,11 @@ let ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "limitResponse" = mkOption { - description = - "`limitResponse` indicates what to do with requests that can not be executed right now"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitResponse")); + description = "`limitResponse` indicates what to do with requests that can not be executed right now"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitResponse"); }; }; @@ -13092,10 +11459,8 @@ let "assuredConcurrencyShares" = mkOverride 1002 null; "limitResponse" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule" = { - options = { "nonResourceURLs" = mkOption { description = '' @@ -13106,37 +11471,34 @@ let - "/hea/*" also matches nothing - "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects" = { - options = { "nonResourceRules" = mkOption { - description = - "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule"))); + description = "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule")); }; "resourceRules" = mkOption { - description = - "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule"))); + description = "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule")); }; "subjects" = mkOption { - description = - "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.Subject")); + description = "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.Subject"); }; }; @@ -13144,37 +11506,34 @@ let "nonResourceRules" = mkOverride 1002 null; "resourceRules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = '' `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec"); }; "status" = mkOption { description = '' `status` is the current status of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus"); }; }; @@ -13185,34 +11544,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13223,30 +11576,26 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of request-priorities."; - type = (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13255,29 +11604,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference" = { - options = { "name" = mkOption { - description = - "`name` is the name of the priority level configuration being referenced Required."; + description = "`name` is the name of the priority level configuration being referenced Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec" = { - options = { "limited" = mkOption { description = '' `limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `"Limited"`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration"); }; "type" = mkOption { description = '' @@ -13286,39 +11631,33 @@ let }; }; - config = { "limited" = mkOverride 1002 null; }; - + config = {"limited" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus" = { - options = { "conditions" = mkOption { description = ''`conditions` is the current state of "request-priority".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration" = { - options = { "handSize" = mkOption { - description = - "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; - type = (types.nullOr types.int); + description = "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; + type = types.nullOr types.int; }; "queueLengthLimit" = mkOption { - description = - "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; - type = (types.nullOr types.int); + description = "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; + type = types.nullOr types.int; }; "queues" = mkOption { - description = - "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; - type = (types.nullOr types.int); + description = "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; + type = types.nullOr types.int; }; }; @@ -13327,35 +11666,32 @@ let "queueLengthLimit" = mkOverride 1002 null; "queues" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule" = { - options = { "apiGroups" = mkOption { description = '' `apiGroups` is a list of matching API groups and may not be empty. "*" matches all API groups and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "clusterScope" = mkOption { - description = - "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; - type = (types.nullOr types.bool); + description = "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; + type = types.nullOr types.bool; }; "namespaces" = mkOption { description = '' `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*". Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -13363,10 +11699,8 @@ let "clusterScope" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject" = { - options = { "name" = mkOption { description = '' @@ -13374,21 +11708,18 @@ let type = types.str; }; "namespace" = mkOption { - description = - "`namespace` is the namespace of matching ServiceAccount objects. Required."; + description = "`namespace` is the namespace of matching ServiceAccount objects. Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.Subject" = { - options = { "group" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.GroupSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.GroupSubject"); }; "kind" = mkOption { description = "Required"; @@ -13397,11 +11728,11 @@ let "serviceAccount" = mkOption { description = ""; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject"); }; "user" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.UserSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.UserSubject"); }; }; @@ -13410,33 +11741,27 @@ let "serviceAccount" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.UserSubject" = { - options = { "name" = mkOption { - description = - ''`name` is the username that matches, or "*" to match all usernames. Required.''; + description = ''`name` is the username that matches, or "*" to match all usernames. Required.''; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.networking.v1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.networking.v1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -13451,7 +11776,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13459,22 +11784,18 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1.IPBlock" = { - options = { "cidr" = mkOption { description = '' @@ -13484,40 +11805,33 @@ let "except" = mkOption { description = '' Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; - config = { "except" = mkOverride 1002 null; }; - + config = {"except" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressStatus"); }; }; @@ -13528,20 +11842,18 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressBackend" = { - options = { "resource" = mkOption { description = '' Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "service" = mkOption { description = '' Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".''; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressServiceBackend")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressServiceBackend"); }; }; @@ -13549,30 +11861,24 @@ let "resource" = mkOverride 1002 null; "service" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassSpec")); + description = "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassSpec"); }; }; @@ -13582,28 +11888,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of IngressClasses."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressClass")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13612,20 +11914,17 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassSpec" = { - options = { "controller" = mkOption { description = '' Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "parameters" = mkOption { - description = - "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; }; @@ -13633,29 +11932,24 @@ let "controller" = mkOverride 1002 null; "parameters" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13664,10 +11958,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -13679,11 +11971,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.HTTPIngressRuleValue"); }; }; @@ -13691,48 +11983,38 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressServiceBackend" = { - options = { "name" = mkOption { - description = - "Name is the referenced service. The service must exist in the same namespace as the Ingress object."; + description = "Name is the referenced service. The service must exist in the same namespace as the Ingress object."; type = types.str; }; "port" = mkOption { - description = - "Port of the referenced service. A port name or port number is required for a IngressServiceBackend."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.ServiceBackendPort")); + description = "Port of the referenced service. A port name or port number is required for a IngressServiceBackend."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.ServiceBackendPort"); }; }; - config = { "port" = mkOverride 1002 null; }; - + config = {"port" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.IngressSpec" = { - options = { "defaultBackend" = mkOption { - description = - "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressBackend")); + description = "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressRule"))); + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressTLS"))); + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressTLS")); }; }; @@ -13742,32 +12024,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13775,29 +12052,24 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicy" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior for this NetworkPolicy."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.NetworkPolicySpec")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.NetworkPolicySpec"); }; }; @@ -13807,22 +12079,20 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyEgressRule" = { - options = { "ports" = mkOption { - description = - "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort"))); + description = "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort")); }; "to" = mkOption { - description = - "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer"))); + description = "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer")); }; }; @@ -13830,22 +12100,20 @@ let "ports" = mkOverride 1002 null; "to" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyIngressRule" = { - options = { "from" = mkOption { - description = - "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer"))); + description = "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer")); }; "ports" = mkOption { - description = - "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort"))); + description = "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort")); }; }; @@ -13853,29 +12121,24 @@ let "from" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicy")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicy"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13884,29 +12147,26 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyPeer" = { - options = { "ipBlock" = mkOption { - description = - "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IPBlock")); + description = "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IPBlock"); }; "namespaceSelector" = mkOption { description = '' Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "podSelector" = mkOption { description = '' This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -13915,20 +12175,16 @@ let "namespaceSelector" = mkOverride 1002 null; "podSelector" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyPort" = { - options = { "port" = mkOption { - description = - "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers."; - type = (types.nullOr (types.either types.int types.str)); + description = "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers."; + type = types.nullOr (types.either types.int types.str); }; "protocol" = mkOption { - description = - "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."; - type = (types.nullOr types.str); + description = "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."; + type = types.nullOr types.str; }; }; @@ -13936,32 +12192,29 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicySpec" = { - options = { "egress" = mkOption { - description = - "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyEgressRule"))); + description = "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyEgressRule")); }; "ingress" = mkOption { - description = - "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyIngressRule"))); + description = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyIngressRule")); }; "podSelector" = mkOption { - description = - "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "policyTypes" = mkOption { description = '' List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -13970,20 +12223,18 @@ let "ingress" = mkOverride 1002 null; "policyTypes" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.ServiceBackendPort" = { - options = { "name" = mkOption { description = '' Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "number" = mkOption { description = '' Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -13991,20 +12242,17 @@ let "name" = mkOverride 1002 null; "number" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -14019,7 +12267,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14027,47 +12275,38 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1beta1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressStatus"); }; }; @@ -14078,23 +12317,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressBackend" = { - options = { "resource" = mkOption { - description = - "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "serviceName" = mkOption { description = "Specifies the name of the referenced service."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "servicePort" = mkOption { description = "Specifies the port of the referenced service."; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; }; @@ -14103,30 +12339,24 @@ let "serviceName" = mkOverride 1002 null; "servicePort" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassSpec")); + description = "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassSpec"); }; }; @@ -14136,28 +12366,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of IngressClasses."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressClass")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14166,20 +12392,17 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassSpec" = { - options = { "controller" = mkOption { description = '' Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "parameters" = mkOption { - description = - "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; }; @@ -14187,29 +12410,24 @@ let "controller" = mkOverride 1002 null; "parameters" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14218,10 +12436,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -14233,11 +12449,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue"); }; }; @@ -14245,32 +12461,26 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressSpec" = { - options = { "backend" = mkOption { - description = - "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend")); + description = "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressRule"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressTLS"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressTLS")); }; }; @@ -14280,32 +12490,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1beta1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14313,43 +12518,34 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1alpha1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClassSpec"); + description = "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClassSpec"; }; }; @@ -14358,29 +12554,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14389,15 +12580,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.RuntimeClassSpec" = { - options = { "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Overhead")); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Overhead"); }; "runtimeHandler" = mkOption { description = '' @@ -14405,9 +12593,8 @@ let type = types.str; }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Scheduling"); }; }; @@ -14415,20 +12602,16 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -14436,28 +12619,22 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1beta1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "handler" = mkOption { description = '' @@ -14465,24 +12642,20 @@ let type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Overhead")); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Overhead"); }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Scheduling"); }; }; @@ -14493,29 +12666,24 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1beta1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1beta1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14524,20 +12692,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -14545,10 +12709,8 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.AllowedCSIDriver" = { - options = { "name" = mkOption { description = "Name is the registered name of the CSI driver"; @@ -14556,11 +12718,9 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.AllowedFlexVolume" = { - options = { "driver" = mkOption { description = "driver is the name of the Flexvolume driver."; @@ -14568,23 +12728,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.AllowedHostPath" = { - options = { "pathPrefix" = mkOption { description = '' pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."; - type = (types.nullOr types.bool); + description = "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."; + type = types.nullOr types.bool; }; }; @@ -14592,28 +12749,24 @@ let "pathPrefix" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.Eviction" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deleteOptions" = mkOption { description = "DeleteOptions may be provided"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "ObjectMeta describes the pod that is being evicted."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -14623,20 +12776,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."; - type = (types.nullOr types.str); + description = "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."; + type = types.nullOr types.str; }; }; @@ -14644,10 +12793,8 @@ let "ranges" = mkOverride 1002 null; "rule" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.HostPortRange" = { - options = { "max" = mkOption { description = "max is the end of the range, inclusive."; @@ -14659,11 +12806,9 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.IDRange" = { - options = { "max" = mkOption { description = "max is the end of the range, inclusive."; @@ -14675,33 +12820,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.PodDisruptionBudget" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec"); }; "status" = mkOption { description = "Most recently observed status of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus"); }; }; @@ -14712,28 +12853,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudget")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudget"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14742,25 +12879,22 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec" = { - options = { "maxUnavailable" = mkOption { description = '' An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "minAvailable" = mkOption { description = '' An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "selector" = mkOption { - description = - "Label query over pods whose evictions are managed by the disruption budget."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "Label query over pods whose evictions are managed by the disruption budget."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -14769,10 +12903,8 @@ let "minAvailable" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus" = { - options = { "currentHealthy" = mkOption { description = "current number of healthy pods"; @@ -14783,9 +12915,8 @@ let type = types.int; }; "disruptedPods" = mkOption { - description = - "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; + type = types.nullOr (types.attrsOf types.str); }; "disruptionsAllowed" = mkOption { description = "Number of pod disruptions that are currently allowed."; @@ -14796,9 +12927,8 @@ let type = types.int; }; "observedGeneration" = mkOption { - description = - "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; - type = (types.nullOr types.int); + description = "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; + type = types.nullOr types.int; }; }; @@ -14806,29 +12936,24 @@ let "disruptedPods" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicy" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec defines the policy enforced."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec"); }; }; @@ -14838,29 +12963,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicyList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicy")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicy"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14869,137 +12989,118 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec" = { - options = { "allowPrivilegeEscalation" = mkOption { - description = - "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."; - type = (types.nullOr types.bool); + description = "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."; + type = types.nullOr types.bool; }; "allowedCSIDrivers" = mkOption { - description = - "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedCSIDriver"))); + description = "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedCSIDriver")); }; "allowedCapabilities" = mkOption { - description = - "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."; - type = (types.nullOr (types.listOf types.str)); + description = "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."; + type = types.nullOr (types.listOf types.str); }; "allowedFlexVolumes" = mkOption { description = '' allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedFlexVolume"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedFlexVolume")); }; "allowedHostPaths" = mkOption { - description = - "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."; + description = "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedHostPath"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedHostPath")); }; "allowedProcMountTypes" = mkOption { - description = - "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."; - type = (types.nullOr (types.listOf types.str)); + description = "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."; + type = types.nullOr (types.listOf types.str); }; "allowedUnsafeSysctls" = mkOption { description = '' allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "defaultAddCapabilities" = mkOption { - description = - "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."; - type = (types.nullOr (types.listOf types.str)); + description = "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."; + type = types.nullOr (types.listOf types.str); }; "defaultAllowPrivilegeEscalation" = mkOption { - description = - "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."; - type = (types.nullOr types.bool); + description = "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."; + type = types.nullOr types.bool; }; "forbiddenSysctls" = mkOption { description = '' forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "fsGroup" = mkOption { - description = - "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions"); + description = "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."; + type = submoduleOf "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions"; }; "hostIPC" = mkOption { - description = - "hostIPC determines if the policy allows the use of HostIPC in the pod spec."; - type = (types.nullOr types.bool); + description = "hostIPC determines if the policy allows the use of HostIPC in the pod spec."; + type = types.nullOr types.bool; }; "hostNetwork" = mkOption { - description = - "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."; - type = (types.nullOr types.bool); + description = "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."; + type = types.nullOr types.bool; }; "hostPID" = mkOption { - description = - "hostPID determines if the policy allows the use of HostPID in the pod spec."; - type = (types.nullOr types.bool); + description = "hostPID determines if the policy allows the use of HostPID in the pod spec."; + type = types.nullOr types.bool; }; "hostPorts" = mkOption { description = "hostPorts determines which host port ranges are allowed to be exposed."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.HostPortRange"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.HostPortRange")); }; "privileged" = mkOption { description = "privileged determines if a pod can request to be run as privileged."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "readOnlyRootFilesystem" = mkOption { - description = - "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."; - type = (types.nullOr types.bool); + description = "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."; + type = types.nullOr types.bool; }; "requiredDropCapabilities" = mkOption { - description = - "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."; - type = (types.nullOr (types.listOf types.str)); + description = "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."; + type = types.nullOr (types.listOf types.str); }; "runAsGroup" = mkOption { - description = - "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions")); + description = "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled."; + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions"); }; "runAsUser" = mkOption { - description = - "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions"); + description = "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."; + type = submoduleOf "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions"; }; "runtimeClass" = mkOption { - description = - "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."; + description = "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."; type = - (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions")); + types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions"); }; "seLinux" = mkOption { - description = - "seLinux is the strategy that will dictate the allowable labels that may be set."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions"); + description = "seLinux is the strategy that will dictate the allowable labels that may be set."; + type = submoduleOf "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions"; }; "supplementalGroups" = mkOption { - description = - "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions"); + description = "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."; + type = submoduleOf "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions"; }; "volumes" = mkOption { - description = - "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."; - type = (types.nullOr (types.listOf types.str)); + description = "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."; + type = types.nullOr (types.listOf types.str); }; }; @@ -15025,92 +13126,73 @@ let "runtimeClass" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable RunAsGroup values that may be set."; + description = "rule is the strategy that will dictate the allowable RunAsGroup values that may be set."; type = types.str; }; }; - config = { "ranges" = mkOverride 1002 null; }; - + config = {"ranges" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable RunAsUser values that may be set."; + description = "rule is the strategy that will dictate the allowable RunAsUser values that may be set."; type = types.str; }; }; - config = { "ranges" = mkOverride 1002 null; }; - + config = {"ranges" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions" = { - options = { "allowedRuntimeClassNames" = mkOption { description = '' allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "defaultRuntimeClassName" = mkOption { - description = - "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."; - type = (types.nullOr types.str); + description = "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."; + type = types.nullOr types.str; }; }; - config = { "defaultRuntimeClassName" = mkOverride 1002 null; }; - + config = {"defaultRuntimeClassName" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions" = { - options = { "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable labels that may be set."; + description = "rule is the strategy that will dictate the allowable labels that may be set."; type = types.str; }; "seLinuxOptions" = mkOption { - description = - "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; }; - config = { "seLinuxOptions" = mkOverride 1002 null; }; - + config = {"seLinuxOptions" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."; - type = (types.nullOr types.str); + description = "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."; + type = types.nullOr types.str; }; }; @@ -15118,47 +13200,40 @@ let "ranges" = mkOverride 1002 null; "rule" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule")); }; }; @@ -15169,33 +13244,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject")); }; }; @@ -15205,28 +13275,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15235,28 +13301,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15265,35 +13327,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -15303,28 +13359,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule")); }; }; @@ -15334,33 +13386,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject")); }; }; @@ -15370,28 +13417,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15400,28 +13443,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15430,10 +13469,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -15449,16 +13486,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1.Subject" = { - options = { "apiGroup" = mkOption { description = '' APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -15472,7 +13507,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -15480,47 +13515,40 @@ let "apiGroup" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1alpha1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1alpha1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1alpha1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule")); }; }; @@ -15531,33 +13559,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject")); }; }; @@ -15567,28 +13590,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15597,28 +13616,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15627,35 +13642,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -15665,28 +13674,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule")); }; }; @@ -15696,33 +13701,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject")); }; }; @@ -15732,28 +13732,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15762,28 +13758,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15792,10 +13784,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -15811,16 +13801,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1alpha1.Subject" = { - options = { "apiVersion" = mkOption { description = '' APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -15834,7 +13822,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -15842,47 +13830,40 @@ let "apiVersion" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1beta1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1beta1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1beta1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule")); }; }; @@ -15893,33 +13874,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject")); }; }; @@ -15929,28 +13905,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15959,28 +13931,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15989,35 +13957,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -16027,28 +13989,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule")); }; }; @@ -16058,33 +14016,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject")); }; }; @@ -16094,28 +14047,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16124,28 +14073,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16154,10 +14099,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -16173,16 +14116,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1beta1.Subject" = { - options = { "apiGroup" = mkOption { description = '' APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -16196,7 +14137,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -16204,44 +14145,35 @@ let "apiGroup" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -16254,29 +14186,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16285,44 +14212,35 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1alpha1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -16335,29 +14253,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1alpha1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1alpha1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1alpha1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16366,44 +14279,35 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1beta1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -16416,29 +14320,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1beta1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1beta1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1beta1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16447,28 +14346,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.settings.v1alpha1.PodPreset" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.settings.v1alpha1.PodPresetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.settings.v1alpha1.PodPresetSpec"); }; }; @@ -16478,29 +14373,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.settings.v1alpha1.PodPresetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.settings.v1alpha1.PodPreset")); + type = types.listOf (submoduleOf "io.k8s.api.settings.v1alpha1.PodPreset"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16509,33 +14399,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.settings.v1alpha1.PodPresetSpec" = { - options = { "env" = mkOption { description = "Env defines the collection of EnvVar to inject into containers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvVar"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvVar")); }; "envFrom" = mkOption { - description = - "EnvFrom defines the collection of EnvFromSource to inject into containers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "EnvFrom defines the collection of EnvFromSource to inject into containers."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "selector" = mkOption { - description = - "Selector is a label query over a set of resources, in this case pods. Required."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "Selector is a label query over a set of resources, in this case pods. Required."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "volumeMounts" = mkOption { - description = - "VolumeMounts defines the collection of VolumeMount to inject into containers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeMount"))); + description = "VolumeMounts defines the collection of VolumeMount to inject into containers."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeMount")); }; "volumes" = mkOption { description = "Volumes defines the collection of Volume to inject into the pod."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Volume"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Volume")); }; }; @@ -16546,29 +14431,24 @@ let "volumeMounts" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriver" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the CSI Driver."; - type = (submoduleOf "io.k8s.api.storage.v1.CSIDriverSpec"); + type = submoduleOf "io.k8s.api.storage.v1.CSIDriverSpec"; }; }; @@ -16577,29 +14457,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriverList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSIDriver"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.CSIDriver")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.CSIDriver"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16608,20 +14483,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriverSpec" = { - options = { "attachRequired" = mkOption { - description = - "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; - type = (types.nullOr types.bool); + description = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; + type = types.nullOr types.bool; }; "fsGroupPolicy" = mkOption { - description = - "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; - type = (types.nullOr types.str); + description = "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; + type = types.nullOr types.str; }; "podInfoOnMount" = mkOption { description = '' @@ -16629,7 +14500,7 @@ let defined by a CSIVolumeSource, otherwise "false" "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageCapacity" = mkOption { description = '' @@ -16640,12 +14511,12 @@ let Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "volumeLifecycleModes" = mkOption { description = '' volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -16656,28 +14527,24 @@ let "storageCapacity" = mkOverride 1002 null; "volumeLifecycleModes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINode" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata.name must be the Kubernetes node name."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec is the specification of CSINode"; - type = (submoduleOf "io.k8s.api.storage.v1.CSINodeSpec"); + type = submoduleOf "io.k8s.api.storage.v1.CSINodeSpec"; }; }; @@ -16686,19 +14553,15 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeDriver" = { - options = { "allocatable" = mkOption { - description = - "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeNodeResources")); + description = "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeNodeResources"); }; "name" = mkOption { - description = - "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; + description = "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; type = types.str; }; "nodeID" = mkOption { @@ -16709,7 +14572,7 @@ let "topologyKeys" = mkOption { description = '' topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -16717,29 +14580,24 @@ let "allocatable" = mkOverride 1002 null; "topologyKeys" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSINode"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.CSINode")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.CSINode"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16748,73 +14606,64 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeSpec" = { - options = { "drivers" = mkOption { - description = - "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; - type = (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; + type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1.StorageClass" = { - options = { "allowVolumeExpansion" = mkOption { description = "AllowVolumeExpansion shows whether the storage class allow volume expand"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "allowedTopologies" = mkOption { - description = - "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; + description = "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm")); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "mountOptions" = mkOption { description = '' Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "parameters" = mkOption { - description = - "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; + type = types.nullOr (types.attrsOf types.str); }; "provisioner" = mkOption { description = "Provisioner indicates the type of the provisioner."; type = types.str; }; "reclaimPolicy" = mkOption { - description = - "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; - type = (types.nullOr types.str); + description = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; + type = types.nullOr types.str; }; "volumeBindingMode" = mkOption { - description = - "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; - type = (types.nullOr types.str); + description = "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; + type = types.nullOr types.str; }; }; @@ -16829,29 +14678,24 @@ let "reclaimPolicy" = mkOverride 1002 null; "volumeBindingMode" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.StorageClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of StorageClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.StorageClass")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.StorageClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16860,35 +14704,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentStatus"); }; }; @@ -16898,29 +14735,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16929,19 +14761,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -16949,14 +14778,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -16965,35 +14791,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError"); }; }; @@ -17002,19 +14822,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17022,48 +14839,38 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeNodeResources" = { - options = { "count" = mkOption { - description = - "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."; - type = (types.nullOr types.int); + description = "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."; + type = types.nullOr types.int; }; }; - config = { "count" = mkOverride 1002 null; }; - + config = {"count" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1alpha1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus"); }; }; @@ -17073,29 +14880,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17104,19 +14906,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17124,14 +14923,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -17140,35 +14936,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError"); }; }; @@ -17177,19 +14967,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17197,29 +14984,24 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriver" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the CSI Driver."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriverSpec"); + type = submoduleOf "io.k8s.api.storage.v1beta1.CSIDriverSpec"; }; }; @@ -17228,29 +15010,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriverList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSIDriver"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriver")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriver"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17259,20 +15036,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriverSpec" = { - options = { "attachRequired" = mkOption { - description = - "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; - type = (types.nullOr types.bool); + description = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; + type = types.nullOr types.bool; }; "fsGroupPolicy" = mkOption { - description = - "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; - type = (types.nullOr types.str); + description = "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; + type = types.nullOr types.str; }; "podInfoOnMount" = mkOption { description = '' @@ -17280,7 +15053,7 @@ let defined by a CSIVolumeSource, otherwise "false" "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageCapacity" = mkOption { description = '' @@ -17291,12 +15064,12 @@ let Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "volumeLifecycleModes" = mkOption { description = '' VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -17307,28 +15080,24 @@ let "storageCapacity" = mkOverride 1002 null; "volumeLifecycleModes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINode" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata.name must be the Kubernetes node name."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec is the specification of CSINode"; - type = (submoduleOf "io.k8s.api.storage.v1beta1.CSINodeSpec"); + type = submoduleOf "io.k8s.api.storage.v1beta1.CSINodeSpec"; }; }; @@ -17337,19 +15106,15 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeDriver" = { - options = { "allocatable" = mkOption { - description = - "allocatable represents the volume resources of a node that are available for scheduling."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeNodeResources")); + description = "allocatable represents the volume resources of a node that are available for scheduling."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeNodeResources"); }; "name" = mkOption { - description = - "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; + description = "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; type = types.str; }; "nodeID" = mkOption { @@ -17360,7 +15125,7 @@ let "topologyKeys" = mkOption { description = '' topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -17368,29 +15133,24 @@ let "allocatable" = mkOverride 1002 null; "topologyKeys" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSINode"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSINode")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSINode"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17399,74 +15159,65 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeSpec" = { - options = { "drivers" = mkOption { - description = - "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; + description = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; type = - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1beta1.StorageClass" = { - options = { "allowVolumeExpansion" = mkOption { description = "AllowVolumeExpansion shows whether the storage class allow volume expand"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "allowedTopologies" = mkOption { - description = - "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; + description = "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm")); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "mountOptions" = mkOption { description = '' Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "parameters" = mkOption { - description = - "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; + type = types.nullOr (types.attrsOf types.str); }; "provisioner" = mkOption { description = "Provisioner indicates the type of the provisioner."; type = types.str; }; "reclaimPolicy" = mkOption { - description = - "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; - type = (types.nullOr types.str); + description = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; + type = types.nullOr types.str; }; "volumeBindingMode" = mkOption { - description = - "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; - type = (types.nullOr types.str); + description = "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; + type = types.nullOr types.str; }; }; @@ -17481,29 +15232,24 @@ let "reclaimPolicy" = mkOverride 1002 null; "volumeBindingMode" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.StorageClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of StorageClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.StorageClass")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.StorageClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17512,35 +15258,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus"); }; }; @@ -17550,29 +15289,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17581,19 +15315,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17601,14 +15332,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -17617,35 +15345,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError"); }; }; @@ -17654,19 +15376,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17674,36 +15393,29 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeNodeResources" = { - options = { "count" = mkOption { - description = - "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."; - type = (types.nullOr types.int); + description = "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."; + type = types.nullOr types.int; }; }; - config = { "count" = mkOverride 1002 null; }; - + config = {"count" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" = { - options = { "description" = mkOption { description = "description is a human readable description of this column."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "format" = mkOption { - description = - "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = (types.nullOr types.str); + description = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.nullOr types.str; }; "jsonPath" = mkOption { - description = - "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; + description = "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; type = types.str; }; "name" = mkOption { @@ -17711,13 +15423,11 @@ let type = types.str; }; "priority" = mkOption { - description = - "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; - type = (types.nullOr types.int); + description = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; + type = types.nullOr types.int; }; "type" = mkOption { - description = - "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + description = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; type = types.str; }; }; @@ -17727,10 +15437,8 @@ let "format" = mkOverride 1002 null; "priority" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion" = { - options = { "strategy" = mkOption { description = '' @@ -17739,42 +15447,40 @@ let type = types.str; }; "webhook" = mkOption { - description = - "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion")); + description = "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion"); }; }; - config = { "webhook" = mkOverride 1002 null; }; - + config = {"webhook" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec describes how the user wants the resources to appear"; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec"; }; "status" = mkOption { description = "status indicates the actual state of the CustomResourceDefinition"; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus"); }; }; @@ -17784,33 +15490,27 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "lastTransitionTime last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "message is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "reason is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition. Can be True, False, Unknown."; type = types.str; }; "type" = mkOption { - description = - "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; + description = "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; type = types.str; }; }; @@ -17820,29 +15520,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items list individual CustomResourceDefinition objects"; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17851,40 +15548,33 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames" = { - options = { "categories" = mkOption { - description = - "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; - type = (types.nullOr (types.listOf types.str)); + description = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; + type = types.nullOr (types.listOf types.str); }; "kind" = mkOption { - description = - "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; + description = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; type = types.str; }; "listKind" = mkOption { description = '' listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "plural" = mkOption { - description = - "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; + description = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; type = types.str; }; "shortNames" = mkOption { - description = - "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; - type = (types.nullOr (types.listOf types.str)); + description = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; + type = types.nullOr (types.listOf types.str); }; "singular" = mkOption { - description = - "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; - type = (types.nullOr types.str); + description = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; + type = types.nullOr types.str; }; }; @@ -17894,41 +15584,39 @@ let "shortNames" = mkOverride 1002 null; "singular" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec" = { - options = { "conversion" = mkOption { description = "conversion defines conversion settings for the CRD."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion"); }; "group" = mkOption { - description = - "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; + description = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; type = types.str; }; "names" = mkOption { description = "names specify the resource and kind names for the custom resource."; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"; }; "preserveUnknownFields" = mkOption { - description = - "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; - type = (types.nullOr types.bool); + description = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; + type = types.nullOr types.bool; }; "scope" = mkOption { - description = - "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."; + description = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."; type = types.str; }; "versions" = mkOption { description = '' versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.''; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion"); }; }; @@ -17936,27 +15624,24 @@ let "conversion" = mkOverride 1002 null; "preserveUnknownFields" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus" = { - options = { "acceptedNames" = mkOption { - description = - "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames")); + description = "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"); }; "conditions" = mkOption { - description = - "conditions indicate state for particular aspects of a CustomResourceDefinition"; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition"))); + description = "conditions indicate state for particular aspects of a CustomResourceDefinition"; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition")); }; "storedVersions" = mkOption { - description = - "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; - type = (types.nullOr (types.listOf types.str)); + description = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; + type = types.nullOr (types.listOf types.str); }; }; @@ -17965,53 +15650,46 @@ let "conditions" = mkOverride 1002 null; "storedVersions" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" = { - options = { "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition"))); + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition")); }; "deprecated" = mkOption { - description = - "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; - type = (types.nullOr types.bool); + description = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; + type = types.nullOr types.bool; }; "deprecationWarning" = mkOption { - description = - "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; - type = (types.nullOr types.str); + description = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; + description = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; type = types.str; }; "schema" = mkOption { - description = - "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation")); + description = "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation"); }; "served" = mkOption { - description = - "served is a flag enabling/disabling this version from being served via REST APIs"; + description = "served is a flag enabling/disabling this version from being served via REST APIs"; type = types.bool; }; "storage" = mkOption { - description = - "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; + description = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; type = types.bool; }; "subresources" = mkOption { - description = - "subresources specify what subresources this version of the defined custom resource have."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources")); + description = "subresources specify what subresources this version of the defined custom resource have."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources"); }; }; @@ -18022,46 +15700,39 @@ let "schema" = mkOverride 1002 null; "subresources" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale" = { - options = { "labelSelectorPath" = mkOption { - description = - "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; - type = (types.nullOr types.str); + description = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; + type = types.nullOr types.str; }; "specReplicasPath" = mkOption { - description = - "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; + description = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; type = types.str; }; "statusReplicasPath" = mkOption { - description = - "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; + description = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; type = types.str; }; }; - config = { "labelSelectorPath" = mkOverride 1002 null; }; - + config = {"labelSelectorPath" = mkOverride 1002 null;}; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources" = { - options = { "scale" = mkOption { - description = - "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale")); + description = "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale"); }; "status" = mkOption { - description = - "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus")); + description = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus"); }; }; @@ -18069,32 +15740,28 @@ let "scale" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation" = { - options = { "openAPIV3Schema" = mkOption { - description = - "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); + description = "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"); }; }; - config = { "openAPIV3Schema" = mkOverride 1002 null; }; - + config = {"openAPIV3Schema" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" = { - options = { "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "url" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18102,179 +15769,186 @@ let "description" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" = { - options = { "$ref" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "$schema" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "additionalItems" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"); }; "additionalProperties" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"); }; "allOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "anyOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "default" = mkOption { - description = - "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false."; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); + description = "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false."; + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"); }; "definitions" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "dependencies" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enum" = mkOption { description = ""; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); }; "example" = mkOption { description = ""; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"); }; "exclusiveMaximum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "exclusiveMinimum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "externalDocs" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation"); }; "format" = mkOption { description = '' format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "id" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray"); }; "maxItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maximum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minimum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "multipleOf" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "not" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"); }; "nullable" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "oneOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "pattern" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "patternProperties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "properties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "required" = mkOption { description = ""; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "title" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uniqueItems" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-embedded-resource" = mkOption { - description = - "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; - type = (types.nullOr types.bool); + description = "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; + type = types.nullOr types.bool; }; "x-kubernetes-int-or-string" = mkOption { description = '' @@ -18288,7 +15962,7 @@ let - type: integer - type: string - ... zero or more''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-list-map-keys" = mkOption { description = '' @@ -18297,7 +15971,7 @@ let This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "x-kubernetes-list-type" = mkOption { description = '' @@ -18315,7 +15989,7 @@ let used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-map-type" = mkOption { description = '' @@ -18327,12 +16001,11 @@ let the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-preserve-unknown-fields" = mkOption { - description = - "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; - type = (types.nullOr types.bool); + description = "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; + type = types.nullOr types.bool; }; }; @@ -18381,13 +16054,11 @@ let "x-kubernetes-map-type" = mkOverride 1002 null; "x-kubernetes-preserve-unknown-fields" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference" = { - options = { "name" = mkOption { description = "name is the name of the service. Required"; @@ -18399,12 +16070,11 @@ let }; "path" = mkOption { description = "path is an optional URL path at which the webhook will be contacted."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; - type = (types.nullOr types.int); + description = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; + type = types.nullOr types.int; }; }; @@ -18412,23 +16082,21 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference"); }; "url" = mkOption { description = '' @@ -18443,7 +16111,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18452,75 +16120,63 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion" = { - options = { "clientConfig" = mkOption { - description = - "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig")); + description = "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig"); }; "conversionReviewVersions" = mkOption { - description = - "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."; - type = (types.listOf types.str); + description = "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."; + type = types.listOf types.str; }; }; - config = { "clientConfig" = mkOverride 1002 null; }; - + config = {"clientConfig" = mkOverride 1002 null;}; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" = - { - - options = { - "JSONPath" = mkOption { - description = - "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; - type = types.str; - }; - "description" = mkOption { - description = "description is a human readable description of this column."; - type = (types.nullOr types.str); - }; - "format" = mkOption { - description = - "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = (types.nullOr types.str); - }; - "name" = mkOption { - description = "name is a human readable name for the column."; - type = types.str; - }; - "priority" = mkOption { - description = - "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; - type = (types.nullOr types.int); - }; - "type" = mkOption { - description = - "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = types.str; - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" = { + options = { + "JSONPath" = mkOption { + description = "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; + type = types.str; }; - - config = { - "description" = mkOverride 1002 null; - "format" = mkOverride 1002 null; - "priority" = mkOverride 1002 null; + "description" = mkOption { + description = "description is a human readable description of this column."; + type = types.nullOr types.str; + }; + "format" = mkOption { + description = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.nullOr types.str; + }; + "name" = mkOption { + description = "name is a human readable name for the column."; + type = types.str; + }; + "priority" = mkOption { + description = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; + type = types.nullOr types.int; + }; + "type" = mkOption { + description = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" = { + config = { + "description" = mkOverride 1002 null; + "format" = mkOverride 1002 null; + "priority" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" = { options = { "conversionReviewVersions" = mkOption { description = '' conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `["v1beta1"]`.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "strategy" = mkOption { description = '' @@ -18529,10 +16185,10 @@ let type = types.str; }; "webhookClientConfig" = mkOption { - description = - "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig")); + description = "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig"); }; }; @@ -18540,34 +16196,32 @@ let "conversionReviewVersions" = mkOverride 1002 null; "webhookClientConfig" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec describes how the user wants the resources to appear"; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec"; }; "status" = mkOption { description = "status indicates the actual state of the CustomResourceDefinition"; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus"); }; }; @@ -18577,66 +16231,56 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" = - { - - options = { - "lastTransitionTime" = mkOption { - description = - "lastTransitionTime last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); - }; - "message" = mkOption { - description = - "message is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); - }; - "reason" = mkOption { - description = - "reason is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); - }; - "status" = mkOption { - description = "status is the status of the condition. Can be True, False, Unknown."; - type = types.str; - }; - "type" = mkOption { - description = - "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; - type = types.str; - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" = { + options = { + "lastTransitionTime" = mkOption { + description = "lastTransitionTime last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; - - config = { - "lastTransitionTime" = mkOverride 1002 null; - "message" = mkOverride 1002 null; - "reason" = mkOverride 1002 null; + "message" = mkOption { + description = "message is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; + }; + "reason" = mkOption { + description = "reason is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; + }; + "status" = mkOption { + description = "status is the status of the condition. Can be True, False, Unknown."; + type = types.str; + }; + "type" = mkOption { + description = "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; + type = types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" = { + config = { + "lastTransitionTime" = mkOverride 1002 null; + "message" = mkOverride 1002 null; + "reason" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" = { options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items list individual CustomResourceDefinition objects"; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18645,108 +16289,97 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" = - { - - options = { - "categories" = mkOption { - description = - "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; - type = (types.nullOr (types.listOf types.str)); - }; - "kind" = mkOption { - description = - "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; - type = types.str; - }; - "listKind" = mkOption { - description = '' - listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; - type = (types.nullOr types.str); - }; - "plural" = mkOption { - description = - "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; - type = types.str; - }; - "shortNames" = mkOption { - description = - "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; - type = (types.nullOr (types.listOf types.str)); - }; - "singular" = mkOption { - description = - "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; - type = (types.nullOr types.str); - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" = { + options = { + "categories" = mkOption { + description = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; + type = types.nullOr (types.listOf types.str); }; - - config = { - "categories" = mkOverride 1002 null; - "listKind" = mkOverride 1002 null; - "shortNames" = mkOverride 1002 null; - "singular" = mkOverride 1002 null; + "kind" = mkOption { + description = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; + type = types.str; + }; + "listKind" = mkOption { + description = '' + listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; + type = types.nullOr types.str; + }; + "plural" = mkOption { + description = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; + type = types.str; + }; + "shortNames" = mkOption { + description = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; + type = types.nullOr (types.listOf types.str); + }; + "singular" = mkOption { + description = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; + type = types.nullOr types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec" = { + config = { + "categories" = mkOverride 1002 null; + "listKind" = mkOverride 1002 null; + "shortNames" = mkOverride 1002 null; + "singular" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec" = { options = { "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition"))); + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition")); }; "conversion" = mkOption { description = "conversion defines conversion settings for the CRD."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion"); }; "group" = mkOption { - description = - "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; + description = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; type = types.str; }; "names" = mkOption { description = "names specify the resource and kind names for the custom resource."; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"; }; "preserveUnknownFields" = mkOption { - description = - "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; - type = (types.nullOr types.bool); + description = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; + type = types.nullOr types.bool; }; "scope" = mkOption { - description = - "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."; + description = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."; type = types.str; }; "subresources" = mkOption { - description = - "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources")); + description = "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"); }; "validation" = mkOption { - description = - "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation")); + description = "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation"); }; "version" = mkOption { - description = - "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."; - type = (types.nullOr types.str); + description = "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."; + type = types.nullOr types.str; }; "versions" = mkOption { description = '' versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.''; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion")); }; }; @@ -18759,136 +16392,115 @@ let "version" = mkOverride 1002 null; "versions" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" = - { - - options = { - "acceptedNames" = mkOption { - description = - "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames")); - }; - "conditions" = mkOption { - description = - "conditions indicate state for particular aspects of a CustomResourceDefinition"; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition"))); - }; - "storedVersions" = mkOption { - description = - "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; - type = (types.nullOr (types.listOf types.str)); - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" = { + options = { + "acceptedNames" = mkOption { + description = "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"); }; - - config = { - "acceptedNames" = mkOverride 1002 null; - "conditions" = mkOverride 1002 null; - "storedVersions" = mkOverride 1002 null; + "conditions" = mkOption { + description = "conditions indicate state for particular aspects of a CustomResourceDefinition"; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition")); + }; + "storedVersions" = mkOption { + description = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; + type = types.nullOr (types.listOf types.str); }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" = - { - - options = { - "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition"))); - }; - "deprecated" = mkOption { - description = - "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; - type = (types.nullOr types.bool); - }; - "deprecationWarning" = mkOption { - description = - "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; - type = (types.nullOr types.str); - }; - "name" = mkOption { - description = - "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; - type = types.str; - }; - "schema" = mkOption { - description = - "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation")); - }; - "served" = mkOption { - description = - "served is a flag enabling/disabling this version from being served via REST APIs"; - type = types.bool; - }; - "storage" = mkOption { - description = - "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; - type = types.bool; - }; - "subresources" = mkOption { - description = - "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources")); - }; - }; - - config = { - "additionalPrinterColumns" = mkOverride 1002 null; - "deprecated" = mkOverride 1002 null; - "deprecationWarning" = mkOverride 1002 null; - "schema" = mkOverride 1002 null; - "subresources" = mkOverride 1002 null; - }; + config = { + "acceptedNames" = mkOverride 1002 null; + "conditions" = mkOverride 1002 null; + "storedVersions" = mkOverride 1002 null; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" = - { - - options = { - "labelSelectorPath" = mkOption { - description = - "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; - type = (types.nullOr types.str); - }; - "specReplicasPath" = mkOption { - description = - "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; - type = types.str; - }; - "statusReplicasPath" = mkOption { - description = - "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; - type = types.str; - }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" = { + options = { + "additionalPrinterColumns" = mkOption { + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition")); + }; + "deprecated" = mkOption { + description = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; + type = types.nullOr types.bool; + }; + "deprecationWarning" = mkOption { + description = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; + type = types.nullOr types.str; + }; + "name" = mkOption { + description = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; + type = types.str; + }; + "schema" = mkOption { + description = "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation"); + }; + "served" = mkOption { + description = "served is a flag enabling/disabling this version from being served via REST APIs"; + type = types.bool; + }; + "storage" = mkOption { + description = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; + type = types.bool; + }; + "subresources" = mkOption { + description = "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"); }; - - config = { "labelSelectorPath" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" = - { }; + + config = { + "additionalPrinterColumns" = mkOverride 1002 null; + "deprecated" = mkOverride 1002 null; + "deprecationWarning" = mkOverride 1002 null; + "schema" = mkOverride 1002 null; + "subresources" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" = { + options = { + "labelSelectorPath" = mkOption { + description = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; + type = types.nullOr types.str; + }; + "specReplicasPath" = mkOption { + description = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; + type = types.str; + }; + "statusReplicasPath" = mkOption { + description = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; + type = types.str; + }; + }; + + config = {"labelSelectorPath" = mkOverride 1002 null;}; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" = { - options = { "scale" = mkOption { - description = - "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale")); + description = "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale"); }; "status" = mkOption { - description = - "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus")); + description = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus"); }; }; @@ -18896,32 +16508,28 @@ let "scale" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" = { - options = { "openAPIV3Schema" = mkOption { - description = - "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); + description = "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"); }; }; - config = { "openAPIV3Schema" = mkOverride 1002 null; }; - + config = {"openAPIV3Schema" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" = { - options = { "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "url" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18929,179 +16537,186 @@ let "description" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" = { - options = { "$ref" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "$schema" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "additionalItems" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool"); }; "additionalProperties" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool"); }; "allOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "anyOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "default" = mkOption { - description = - "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); + description = "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."; + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"); }; "definitions" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "dependencies" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enum" = mkOption { description = ""; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); }; "example" = mkOption { description = ""; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"); }; "exclusiveMaximum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "exclusiveMinimum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "externalDocs" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation"); }; "format" = mkOption { description = '' format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "id" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray"); }; "maxItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maximum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minimum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "multipleOf" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "not" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"); }; "nullable" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "oneOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "pattern" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "patternProperties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "properties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "required" = mkOption { description = ""; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "title" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uniqueItems" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-embedded-resource" = mkOption { - description = - "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; - type = (types.nullOr types.bool); + description = "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; + type = types.nullOr types.bool; }; "x-kubernetes-int-or-string" = mkOption { description = '' @@ -19115,7 +16730,7 @@ let - type: integer - type: string - ... zero or more''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-list-map-keys" = mkOption { description = '' @@ -19124,7 +16739,7 @@ let This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "x-kubernetes-list-type" = mkOption { description = '' @@ -19142,7 +16757,7 @@ let used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-map-type" = mkOption { description = '' @@ -19154,12 +16769,11 @@ let the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-preserve-unknown-fields" = mkOption { - description = - "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; - type = (types.nullOr types.bool); + description = "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; + type = types.nullOr types.bool; }; }; @@ -19208,13 +16822,11 @@ let "x-kubernetes-map-type" = mkOverride 1002 null; "x-kubernetes-preserve-unknown-fields" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "name is the name of the service. Required"; @@ -19226,12 +16838,11 @@ let }; "path" = mkOption { description = "path is an optional URL path at which the webhook will be contacted."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; - type = (types.nullOr types.int); + description = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; + type = types.nullOr types.int; }; }; @@ -19239,23 +16850,21 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference"); }; "url" = mkOption { description = '' @@ -19270,7 +16879,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19279,42 +16888,39 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.api.resource.Quantity" = { }; + "io.k8s.apimachinery.pkg.api.resource.Quantity" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { description = "name is the name of the group."; type = types.str; }; "preferredVersion" = mkOption { - description = - "preferredVersion is the version preferred by the API server, which probably is the storage version."; - type = (types.nullOr - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")); + description = "preferredVersion is the version preferred by the API server, which probably is the storage version."; + type = + types.nullOr + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"); }; "serverAddressByClientCIDRs" = mkOption { - description = - "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"))); + description = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")); }; "versions" = mkOption { description = "versions are the versions supported in this group."; - type = (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")); + type = + types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"); }; }; @@ -19324,24 +16930,20 @@ let "preferredVersion" = mkOverride 1002 null; "serverAddressByClientCIDRs" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "groups" = mkOption { description = "groups is a list of APIGroup."; - type = (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup")); + type = types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; }; @@ -19349,24 +16951,20 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" = { - options = { "categories" = mkOption { - description = - "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"; - type = (types.nullOr (types.listOf types.str)); + description = "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"; + type = types.nullOr (types.listOf types.str); }; "group" = mkOption { description = '' group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"; + description = "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"; type = types.str; }; "name" = mkOption { @@ -19379,27 +16977,24 @@ let }; "shortNames" = mkOption { description = "shortNames is a list of suggested short names of the resource."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "singularName" = mkOption { - description = - "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."; + description = "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."; type = types.str; }; "storageVersionHash" = mkOption { - description = - "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates."; - type = (types.nullOr types.str); + description = "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates."; + type = types.nullOr types.str; }; "verbs" = mkOption { - description = - "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"; - type = (types.listOf types.str); + description = "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"; + type = types.listOf types.str; }; "version" = mkOption { description = '' version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19410,28 +17005,24 @@ let "storageVersionHash" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "groupVersion" = mkOption { description = "groupVersion is the group and version this APIResourceList is for."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "resources" = mkOption { description = "resources contains the name of the resources and if they are namespaced."; - type = (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource")); + type = types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource"); }; }; @@ -19439,30 +17030,26 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "serverAddressByClientCIDRs" = mkOption { - description = - "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; - type = (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")); + description = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; + type = + types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"); }; "versions" = mkOption { description = "versions are the api versions that are available."; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -19470,45 +17057,37 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "dryRun" = mkOption { - description = - "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed"; - type = (types.nullOr (types.listOf types.str)); + description = "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed"; + type = types.nullOr (types.listOf types.str); }; "gracePeriodSeconds" = mkOption { - description = - "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately."; - type = (types.nullOr types.int); + description = "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately."; + type = types.nullOr types.int; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "orphanDependents" = mkOption { description = '' Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "preconditions" = mkOption { - description = - "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions")); + description = "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"); }; "propagationPolicy" = mkOption { - description = - "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."; - type = (types.nullOr types.str); + description = "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."; + type = types.nullOr types.str; }; }; @@ -19521,15 +17100,12 @@ let "preconditions" = mkOverride 1002 null; "propagationPolicy" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" = { - options = { "groupVersion" = mkOption { - description = - ''groupVersion specifies the API group and version in the form "group/version"''; + description = ''groupVersion specifies the API group and version in the form "group/version"''; type = types.str; }; "version" = mkOption { @@ -19539,22 +17115,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" = { - options = { "matchExpressions" = mkOption { - description = - "matchExpressions is a list of label selector requirements. The requirements are ANDed."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement"))); + description = "matchExpressions is a list of label selector requirements. The requirements are ANDed."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement")); }; "matchLabels" = mkOption { description = '' matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.''; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; }; @@ -19562,54 +17136,45 @@ let "matchExpressions" = mkOverride 1002 null; "matchLabels" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" = { - options = { "key" = mkOption { description = "key is the label key that the selector applies to."; type = types.str; }; "operator" = mkOption { - description = - "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."; + description = "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."; type = types.str; }; "values" = mkOption { - description = - "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" = { - options = { "continue" = mkOption { - description = - "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message."; - type = (types.nullOr types.str); + description = "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message."; + type = types.nullOr types.str; }; "remainingItemCount" = mkOption { - description = - "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact."; - type = (types.nullOr types.int); + description = "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact."; + type = types.nullOr types.int; }; "resourceVersion" = mkOption { - description = - "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; - type = (types.nullOr types.str); + description = "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; + type = types.nullOr types.str; }; "selfLink" = mkOption { description = '' selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19619,39 +17184,34 @@ let "resourceVersion" = mkOverride 1002 null; "selfLink" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" = { - options = { "apiVersion" = mkOption { description = '' APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldsType" = mkOption { description = '' FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldsV1" = mkOption { - description = - ''FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1")); + description = ''FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.''; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1"); }; "manager" = mkOption { description = "Manager is an identifier of the workflow managing these fields."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "operation" = mkOption { - description = - "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."; - type = (types.nullOr types.str); + description = "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."; + type = types.nullOr types.str; }; "time" = mkOption { - description = - "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"; - type = (types.nullOr types.str); + description = "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"; + type = types.nullOr types.str; }; }; @@ -19663,45 +17223,39 @@ let "operation" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" = { - options = { "annotations" = mkOption { - description = - "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"; + type = types.nullOr (types.attrsOf types.str); }; "clusterName" = mkOption { - description = - "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."; - type = (types.nullOr types.str); + description = "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."; + type = types.nullOr types.str; }; "creationTimestamp" = mkOption { description = '' CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "deletionGracePeriodSeconds" = mkOption { - description = - "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."; - type = (types.nullOr types.int); + description = "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."; + type = types.nullOr types.int; }; "deletionTimestamp" = mkOption { description = '' DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "finalizers" = mkOption { - description = - "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."; - type = (types.nullOr (types.listOf types.str)); + description = "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."; + type = types.nullOr (types.listOf types.str); }; "generateName" = mkOption { description = '' @@ -19710,63 +17264,64 @@ let If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "generation" = mkOption { - description = - "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."; - type = (types.nullOr types.int); + description = "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."; + type = types.nullOr types.int; }; "labels" = mkOption { - description = - "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"; + type = types.nullOr (types.attrsOf types.str); }; "managedFields" = mkOption { description = '' ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry")); }; "name" = mkOption { - description = - "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; - type = (types.nullOr types.str); + description = "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ownerReferences" = mkOption { - description = - "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "resourceVersion" = mkOption { description = '' An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "selfLink" = mkOption { description = '' SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = '' UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19788,10 +17343,8 @@ let "selfLink" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; @@ -19800,25 +17353,22 @@ let "blockOwnerDeletion" = mkOption { description = '' If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "controller" = mkOption { description = "If true, this reference points to the managing controller."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + description = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; "uid" = mkOption { - description = - "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; + description = "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; type = types.str; }; }; @@ -19827,19 +17377,17 @@ let "blockOwnerDeletion" = mkOverride 1002 null; "controller" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.Patch" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.Patch" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions" = { - options = { "resourceVersion" = mkOption { description = "Specifies the target ResourceVersion"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = "Specifies the target UID."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19847,66 +17395,56 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" = { - options = { "clientCIDR" = mkOption { - description = - "The CIDR with which clients can match their IP to figure out the server address that they should use."; + description = "The CIDR with which clients can match their IP to figure out the server address that they should use."; type = types.str; }; "serverAddress" = mkOption { - description = - "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."; + description = "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.Status" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "code" = mkOption { description = "Suggested HTTP return code for this status, 0 if not set."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "details" = mkOption { - description = - "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails")); + description = "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "message" = mkOption { description = "A human-readable description of the status of this operation."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; "reason" = mkOption { description = '' A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19920,10 +17458,8 @@ let "reason" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" = { - options = { "field" = mkOption { description = '' @@ -19932,17 +17468,15 @@ let Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { - description = - "A human-readable description of the cause of the error. This field may be presented as-is to a reader."; - type = (types.nullOr types.str); + description = "A human-readable description of the cause of the error. This field may be presented as-is to a reader."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "A machine-readable description of the cause of the error. If this value is empty there is no information available."; - type = (types.nullOr types.str); + description = "A machine-readable description of the cause of the error. If this value is empty there is no information available."; + type = types.nullOr types.str; }; }; @@ -19951,41 +17485,34 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails" = { - options = { "causes" = mkOption { - description = - "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause"))); + description = "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause")); }; "group" = mkOption { - description = - "The group attribute of the resource associated with the status StatusReason."; - type = (types.nullOr types.str); + description = "The group attribute of the resource associated with the status StatusReason."; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."; - type = (types.nullOr types.str); + description = "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."; + type = types.nullOr types.str; }; "retryAfterSeconds" = mkOption { - description = - "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."; - type = (types.nullOr types.int); + description = "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."; + type = types.nullOr types.int; }; "uid" = mkOption { - description = - "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; - type = (types.nullOr types.str); + description = "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; + type = types.nullOr types.str; }; }; @@ -19997,11 +17524,9 @@ let "retryAfterSeconds" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.Time" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.Time" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" = { - options = { "object" = mkOption { description = '' @@ -20010,7 +17535,7 @@ let * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context.''; - type = (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"); + type = submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"; }; "type" = mkOption { description = ""; @@ -20018,13 +17543,11 @@ let }; }; - config = { }; - + config = {}; }; - "io.k8s.apimachinery.pkg.runtime.RawExtension" = { }; - "io.k8s.apimachinery.pkg.util.intstr.IntOrString" = { }; + "io.k8s.apimachinery.pkg.runtime.RawExtension" = {}; + "io.k8s.apimachinery.pkg.util.intstr.IntOrString" = {}; "io.k8s.apimachinery.pkg.version.Info" = { - options = { "buildDate" = mkOption { description = ""; @@ -20064,35 +17587,33 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec contains information for locating and communicating with a server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec"); }; "status" = mkOption { description = "Status contains derived information about an API server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus"); }; }; @@ -20103,22 +17624,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status is the status of the condition. Can be True, False, Unknown."; @@ -20135,29 +17654,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService")); + type = + types.listOf + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -20166,39 +17682,34 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec" = { - options = { "caBundle" = mkOption { - description = - "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "group" = mkOption { description = "Group is the API group name this server hosts"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "groupPriorityMinimum" = mkOption { - description = - "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; + description = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; type = types.int; }; "insecureSkipTLSVerify" = mkOption { - description = - "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; - type = (types.nullOr types.bool); + description = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; + type = types.nullOr types.bool; }; "service" = mkOption { - description = - "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference")); + description = "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference"); }; "version" = mkOption { description = ''Version is the API version this server hosts. For example, "v1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "versionPriority" = mkOption { description = '' @@ -20214,37 +17725,36 @@ let "service" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state of apiService."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference" = { - options = { "name" = mkOption { description = "Name is the name of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace is the namespace of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -20253,34 +17763,32 @@ let "namespace" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec contains information for locating and communicating with a server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec"); }; "status" = mkOption { description = "Status contains derived information about an API server"; - type = (types.nullOr (submoduleOf - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus"); }; }; @@ -20291,22 +17799,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status is the status of the condition. Can be True, False, Unknown."; @@ -20323,29 +17829,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService")); + type = + types.listOf + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -20354,39 +17857,34 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec" = { - options = { "caBundle" = mkOption { - description = - "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "group" = mkOption { description = "Group is the API group name this server hosts"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "groupPriorityMinimum" = mkOption { - description = - "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; + description = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; type = types.int; }; "insecureSkipTLSVerify" = mkOption { - description = - "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; - type = (types.nullOr types.bool); + description = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; + type = types.nullOr types.bool; }; "service" = mkOption { - description = - "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; - type = (types.nullOr (submoduleOf - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference")); + description = "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; + type = + types.nullOr (submoduleOf + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference"); }; "version" = mkOption { description = ''Version is the API version this server hosts. For example, "v1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "versionPriority" = mkOption { description = '' @@ -20402,37 +17900,36 @@ let "service" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state of apiService."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "Name is the name of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace is the namespace of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -20441,1208 +17938,1244 @@ let "namespace" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; - }; -in -{ +in { # all resource versions options = { - resources = { - "admissionregistration.k8s.io"."v1"."MutatingWebhookConfiguration" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + resources = + { + "admissionregistration.k8s.io"."v1"."MutatingWebhookConfiguration" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1"."ValidatingWebhookConfiguration" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1beta1"."MutatingWebhookConfiguration" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1"."ValidatingWebhookConfiguration" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1beta1"."MutatingWebhookConfiguration" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1beta1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1beta1"."ValidatingWebhookConfiguration" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1beta1")); - default = { }; - }; - "apps"."v1"."ControllerRevision" = mkOption { - description = - "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" - "ControllerRevision" "apps" "v1")); - default = { }; - }; - "apps"."v1"."DaemonSet" = mkOption { - description = "DaemonSet represents the configuration of a daemon set."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."Deployment" = mkOption { - description = "Deployment enables declarative updates for Pods and ReplicaSets."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."ReplicaSet" = mkOption { - description = - "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."StatefulSet" = mkOption { - description = '' - StatefulSet represents a set of pods with consistent identities. Identities are defined as: - - Network: A single stable DNS and hostname. - - Storage: As many VolumeClaims as requested. - The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" - "apps" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1"."TokenRequest" = mkOption { - description = "TokenRequest requests a token for a given service account."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" - "authentication.k8s.io" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1"."TokenReview" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1beta1"."TokenReview" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1beta1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1"."LocalSubjectAccessReview" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SelfSubjectAccessReview" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SelfSubjectRulesReview" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SubjectAccessReview" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."LocalSubjectAccessReview" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" - "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SelfSubjectAccessReview" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SelfSubjectRulesReview" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SubjectAccessReview" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "autoscaling"."v1"."HorizontalPodAutoscaler" = mkOption { - description = "configuration of a horizontal pod autoscaler."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v1")); - default = { }; - }; - "autoscaling"."v2beta1"."HorizontalPodAutoscaler" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta1")); - default = { }; - }; - "autoscaling"."v2beta2"."HorizontalPodAutoscaler" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2")); - default = { }; - }; - "batch"."v1"."Job" = mkOption { - description = "Job represents the configuration of a single job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1")); - default = { }; - }; - "batch"."v1beta1"."CronJob" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" - "v1beta1")); - default = { }; - }; - "batch"."v2alpha1"."CronJob" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v2alpha1.CronJob" "cronjobs" "CronJob" "batch" - "v2alpha1")); - default = { }; - }; - "certificates.k8s.io"."v1"."CertificateSigningRequest" = mkOption { - description = '' - CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + "admissionregistration.k8s.io" "v1beta1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1beta1"."ValidatingWebhookConfiguration" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1beta1"); + default = {}; + }; + "apps"."v1"."ControllerRevision" = mkOption { + description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" + "ControllerRevision" "apps" "v1"); + default = {}; + }; + "apps"."v1"."DaemonSet" = mkOption { + description = "DaemonSet represents the configuration of a daemon set."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."Deployment" = mkOption { + description = "Deployment enables declarative updates for Pods and ReplicaSets."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."ReplicaSet" = mkOption { + description = "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."StatefulSet" = mkOption { + description = '' + StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" + "apps" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1"."TokenRequest" = mkOption { + description = "TokenRequest requests a token for a given service account."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" + "authentication.k8s.io" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1"."TokenReview" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1beta1"."TokenReview" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1beta1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1"."LocalSubjectAccessReview" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SelfSubjectAccessReview" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SelfSubjectRulesReview" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SubjectAccessReview" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."LocalSubjectAccessReview" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" + "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SelfSubjectAccessReview" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SelfSubjectRulesReview" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SubjectAccessReview" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "autoscaling"."v1"."HorizontalPodAutoscaler" = mkOption { + description = "configuration of a horizontal pod autoscaler."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v1"); + default = {}; + }; + "autoscaling"."v2beta1"."HorizontalPodAutoscaler" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta1"); + default = {}; + }; + "autoscaling"."v2beta2"."HorizontalPodAutoscaler" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2"); + default = {}; + }; + "batch"."v1"."Job" = mkOption { + description = "Job represents the configuration of a single job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1"); + default = {}; + }; + "batch"."v1beta1"."CronJob" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" + "v1beta1"); + default = {}; + }; + "batch"."v2alpha1"."CronJob" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v2alpha1.CronJob" "cronjobs" "CronJob" "batch" + "v2alpha1"); + default = {}; + }; + "certificates.k8s.io"."v1"."CertificateSigningRequest" = mkOption { + description = '' + CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. - Kubelets use this API to obtain: - 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). - 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). - This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1")); - default = { }; - }; - "certificates.k8s.io"."v1beta1"."CertificateSigningRequest" = mkOption { - description = "Describes a certificate signing request"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" - "v1beta1")); - default = { }; - }; - "coordination.k8s.io"."v1"."Lease" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1")); - default = { }; - }; - "coordination.k8s.io"."v1beta1"."Lease" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1beta1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1beta1")); - default = { }; - }; - "core"."v1"."Binding" = mkOption { - description = - "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1")); - default = { }; - }; - "core"."v1"."ConfigMap" = mkOption { - description = "ConfigMap holds configuration data for pods to consume."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" - "v1")); - default = { }; - }; - "core"."v1"."Endpoints" = mkOption { - description = '' - Endpoints is a collection of endpoints that implement the actual service. Example: - Name: "mysvc", - Subsets: [ - { - Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], - Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] - }, - { - Addresses: [{"ip": "10.10.3.3"}], - Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] - }, - ]''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" - "v1")); - default = { }; - }; - "core"."v1"."Event" = mkOption { - description = "Event is a report of an event somewhere in the cluster."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1")); - default = { }; - }; - "core"."v1"."LimitRange" = mkOption { - description = - "LimitRange sets resource usage limits for each kind of resource in a Namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" - "v1")); - default = { }; - }; - "core"."v1"."Namespace" = mkOption { - description = - "Namespace provides a scope for Names. Use of multiple namespaces is optional."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" - "v1")); - default = { }; - }; - "core"."v1"."Node" = mkOption { - description = - "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1")); - default = { }; - }; - "core"."v1"."PersistentVolume" = mkOption { - description = - "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" - "PersistentVolume" "core" "v1")); - default = { }; - }; - "core"."v1"."PersistentVolumeClaim" = mkOption { - description = - "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" - "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1")); - default = { }; - }; - "core"."v1"."Pod" = mkOption { - description = - "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1")); - default = { }; - }; - "core"."v1"."PodTemplate" = mkOption { - description = "PodTemplate describes a template for creating copies of a predefined pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" - "core" "v1")); - default = { }; - }; - "core"."v1"."ReplicationController" = mkOption { - description = - "ReplicationController represents the configuration of a replication controller."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" - "replicationcontrollers" "ReplicationController" "core" "v1")); - default = { }; - }; - "core"."v1"."ResourceQuota" = mkOption { - description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" - "ResourceQuota" "core" "v1")); - default = { }; - }; - "core"."v1"."Secret" = mkOption { - description = - "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1")); - default = { }; - }; - "core"."v1"."Service" = mkOption { - description = - "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1")); - default = { }; - }; - "core"."v1"."ServiceAccount" = mkOption { - description = - "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" - "ServiceAccount" "core" "v1")); - default = { }; - }; - "discovery.k8s.io"."v1beta1"."EndpointSlice" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1beta1")); - default = { }; - }; - "events.k8s.io"."v1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.events.v1.Event" "events" "Event" "events.k8s.io" - "v1")); - default = { }; - }; - "events.k8s.io"."v1beta1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.events.v1beta1.Event" "events" "Event" "events.k8s.io" - "v1beta1")); - default = { }; - }; - "extensions"."v1beta1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.extensions.v1beta1.Ingress" "ingresses" "Ingress" - "extensions" "v1beta1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1alpha1"."FlowSchema" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1alpha1"."PriorityLevelConfiguration" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "networking.k8s.io"."v1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1"."IngressClass" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1"."NetworkPolicy" = mkOption { - description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" - "NetworkPolicy" "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1beta1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1beta1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1beta1")); - default = { }; - }; - "networking.k8s.io"."v1beta1"."IngressClass" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1beta1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1beta1")); - default = { }; - }; - "node.k8s.io"."v1alpha1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1alpha1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1alpha1")); - default = { }; - }; - "node.k8s.io"."v1beta1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."Eviction" = mkOption { - description = - "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" - "policy" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."PodDisruptionBudget" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" - "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."PodSecurityPolicy" = mkOption { - description = - "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" - "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRole" "clusterroles" - "ClusterRole" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" - "clusterrolebindings" "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.RoleBinding" "rolebindings" - "RoleBinding" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1beta1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "scheduling.k8s.io"."v1"."PriorityClass" = mkOption { - description = - "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1")); - default = { }; - }; - "scheduling.k8s.io"."v1alpha1"."PriorityClass" = mkOption { - description = - "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1alpha1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1alpha1")); - default = { }; - }; - "scheduling.k8s.io"."v1beta1"."PriorityClass" = mkOption { - description = - "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1beta1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1beta1")); - default = { }; - }; - "settings.k8s.io"."v1alpha1"."PodPreset" = mkOption { - description = - "PodPreset is a policy resource that defines additional runtime requirements for a Pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.settings.v1alpha1.PodPreset" "podpresets" "PodPreset" - "settings.k8s.io" "v1alpha1")); - default = { }; - }; - "storage.k8s.io"."v1"."CSIDriver" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."CSINode" = mkOption { - description = - "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."StorageClass" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1"); + default = {}; + }; + "certificates.k8s.io"."v1beta1"."CertificateSigningRequest" = mkOption { + description = "Describes a certificate signing request"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" + "v1beta1"); + default = {}; + }; + "coordination.k8s.io"."v1"."Lease" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1"); + default = {}; + }; + "coordination.k8s.io"."v1beta1"."Lease" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1beta1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1beta1"); + default = {}; + }; + "core"."v1"."Binding" = mkOption { + description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1"); + default = {}; + }; + "core"."v1"."ConfigMap" = mkOption { + description = "ConfigMap holds configuration data for pods to consume."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" + "v1"); + default = {}; + }; + "core"."v1"."Endpoints" = mkOption { + description = '' + Endpoints is a collection of endpoints that implement the actual service. Example: + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ]''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" + "v1"); + default = {}; + }; + "core"."v1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1"); + default = {}; + }; + "core"."v1"."LimitRange" = mkOption { + description = "LimitRange sets resource usage limits for each kind of resource in a Namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" + "v1"); + default = {}; + }; + "core"."v1"."Namespace" = mkOption { + description = "Namespace provides a scope for Names. Use of multiple namespaces is optional."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" + "v1"); + default = {}; + }; + "core"."v1"."Node" = mkOption { + description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1"); + default = {}; + }; + "core"."v1"."PersistentVolume" = mkOption { + description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" + "PersistentVolume" "core" "v1"); + default = {}; + }; + "core"."v1"."PersistentVolumeClaim" = mkOption { + description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" + "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1"); + default = {}; + }; + "core"."v1"."Pod" = mkOption { + description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1"); + default = {}; + }; + "core"."v1"."PodTemplate" = mkOption { + description = "PodTemplate describes a template for creating copies of a predefined pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" + "core" "v1"); + default = {}; + }; + "core"."v1"."ReplicationController" = mkOption { + description = "ReplicationController represents the configuration of a replication controller."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" + "replicationcontrollers" "ReplicationController" "core" "v1"); + default = {}; + }; + "core"."v1"."ResourceQuota" = mkOption { + description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" + "ResourceQuota" "core" "v1"); + default = {}; + }; + "core"."v1"."Secret" = mkOption { + description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1"); + default = {}; + }; + "core"."v1"."Service" = mkOption { + description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1"); + default = {}; + }; + "core"."v1"."ServiceAccount" = mkOption { + description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" + "ServiceAccount" "core" "v1"); + default = {}; + }; + "discovery.k8s.io"."v1beta1"."EndpointSlice" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1beta1"); + default = {}; + }; + "events.k8s.io"."v1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.events.v1.Event" "events" "Event" "events.k8s.io" + "v1"); + default = {}; + }; + "events.k8s.io"."v1beta1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.events.v1beta1.Event" "events" "Event" "events.k8s.io" + "v1beta1"); + default = {}; + }; + "extensions"."v1beta1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.extensions.v1beta1.Ingress" "ingresses" "Ingress" + "extensions" "v1beta1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1alpha1"."FlowSchema" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1alpha1"."PriorityLevelConfiguration" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "networking.k8s.io"."v1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1"."IngressClass" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1"."NetworkPolicy" = mkOption { + description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" + "NetworkPolicy" "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1beta1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1beta1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1beta1"); + default = {}; + }; + "networking.k8s.io"."v1beta1"."IngressClass" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1beta1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1beta1"); + default = {}; + }; + "node.k8s.io"."v1alpha1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1alpha1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1alpha1"); + default = {}; + }; + "node.k8s.io"."v1beta1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."Eviction" = mkOption { + description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" + "policy" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."PodDisruptionBudget" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."PodSecurityPolicy" = mkOption { + description = "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRole" "clusterroles" + "ClusterRole" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" + "clusterrolebindings" "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.RoleBinding" "rolebindings" + "RoleBinding" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1beta1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "scheduling.k8s.io"."v1"."PriorityClass" = mkOption { + description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1"); + default = {}; + }; + "scheduling.k8s.io"."v1alpha1"."PriorityClass" = mkOption { + description = "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1alpha1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1alpha1"); + default = {}; + }; + "scheduling.k8s.io"."v1beta1"."PriorityClass" = mkOption { + description = "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1beta1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1beta1"); + default = {}; + }; + "settings.k8s.io"."v1alpha1"."PodPreset" = mkOption { + description = "PodPreset is a policy resource that defines additional runtime requirements for a Pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.settings.v1alpha1.PodPreset" "podpresets" "PodPreset" + "settings.k8s.io" "v1alpha1"); + default = {}; + }; + "storage.k8s.io"."v1"."CSIDriver" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."CSINode" = mkOption { + description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."StorageClass" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1alpha1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1alpha1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1alpha1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1alpha1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSIDriver" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSINode" = mkOption { - description = - "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."StorageClass" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1alpha1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1alpha1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSIDriver" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSINode" = mkOption { + description = "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."StorageClass" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "apiextensions.k8s.io"."v1"."CustomResourceDefinition" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1")); - default = { }; - }; - "apiextensions.k8s.io"."v1beta1"."CustomResourceDefinition" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1beta1")); - default = { }; - }; - "apiregistration.k8s.io"."v1"."APIService" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - "apiservices" "APIService" "apiregistration.k8s.io" "v1")); - default = { }; - }; - "apiregistration.k8s.io"."v1beta1"."APIService" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" "apiservices" - "APIService" "apiregistration.k8s.io" "v1beta1")); - default = { }; - }; + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "apiextensions.k8s.io"."v1"."CustomResourceDefinition" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1"); + default = {}; + }; + "apiextensions.k8s.io"."v1beta1"."CustomResourceDefinition" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1beta1"); + default = {}; + }; + "apiregistration.k8s.io"."v1"."APIService" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "apiservices" "APIService" "apiregistration.k8s.io" "v1"); + default = {}; + }; + "apiregistration.k8s.io"."v1beta1"."APIService" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = types.attrsOf (submoduleForDefinition + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" "apiservices" + "APIService" "apiregistration.k8s.io" "v1beta1"); + default = {}; + }; + } + // { + "APIServices" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "apiservices" "APIService" "apiregistration.k8s.io" "v1"); + default = {}; + }; + "bindings" = mkOption { + description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1"); + default = {}; + }; + "cSIDrivers" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1"); + default = {}; + }; + "cSINodes" = mkOption { + description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1"); + default = {}; + }; + "certificateSigningRequests" = mkOption { + description = '' + CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. - } // { - "APIServices" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - "apiservices" "APIService" "apiregistration.k8s.io" "v1")); - default = { }; - }; - "bindings" = mkOption { - description = - "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1")); - default = { }; - }; - "cSIDrivers" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1")); - default = { }; - }; - "cSINodes" = mkOption { - description = - "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1")); - default = { }; - }; - "certificateSigningRequests" = mkOption { - description = '' - CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). - Kubelets use this API to obtain: - 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). - 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1"); + default = {}; + }; + "clusterRoles" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "clusterRoleBindings" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "configMaps" = mkOption { + description = "ConfigMap holds configuration data for pods to consume."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" + "v1"); + default = {}; + }; + "controllerRevisions" = mkOption { + description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" + "ControllerRevision" "apps" "v1"); + default = {}; + }; + "cronJobs" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" + "v1beta1"); + default = {}; + }; + "customResourceDefinitions" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1"); + default = {}; + }; + "daemonSets" = mkOption { + description = "DaemonSet represents the configuration of a daemon set."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" + "v1"); + default = {}; + }; + "deployments" = mkOption { + description = "Deployment enables declarative updates for Pods and ReplicaSets."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" + "v1"); + default = {}; + }; + "endpointSlices" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1beta1"); + default = {}; + }; + "endpoints" = mkOption { + description = '' + Endpoints is a collection of endpoints that implement the actual service. Example: + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ]''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" + "v1"); + default = {}; + }; + "events" = mkOption { + description = "Event is a report of an event somewhere in the cluster."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1"); + default = {}; + }; + "eviction" = mkOption { + description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" + "policy" "v1beta1"); + default = {}; + }; + "flowSchemas" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "horizontalPodAutoscalers" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2"); + default = {}; + }; + "ingresses" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1"); + default = {}; + }; + "ingressClasses" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1"); + default = {}; + }; + "jobs" = mkOption { + description = "Job represents the configuration of a single job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1"); + default = {}; + }; + "leases" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1"); + default = {}; + }; + "limitRanges" = mkOption { + description = "LimitRange sets resource usage limits for each kind of resource in a Namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" + "v1"); + default = {}; + }; + "localSubjectAccessReviews" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "mutatingWebhookConfigurations" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "namespaces" = mkOption { + description = "Namespace provides a scope for Names. Use of multiple namespaces is optional."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" + "v1"); + default = {}; + }; + "networkPolicies" = mkOption { + description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" + "NetworkPolicy" "networking.k8s.io" "v1"); + default = {}; + }; + "nodes" = mkOption { + description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1"); + default = {}; + }; + "persistentVolumes" = mkOption { + description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" + "PersistentVolume" "core" "v1"); + default = {}; + }; + "persistentVolumeClaims" = mkOption { + description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" + "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1"); + default = {}; + }; + "pods" = mkOption { + description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1"); + default = {}; + }; + "podDisruptionBudgets" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1"); + default = {}; + }; + "podPresets" = mkOption { + description = "PodPreset is a policy resource that defines additional runtime requirements for a Pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.settings.v1alpha1.PodPreset" "podpresets" "PodPreset" + "settings.k8s.io" "v1alpha1"); + default = {}; + }; + "podSecurityPolicies" = mkOption { + description = "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1"); + default = {}; + }; + "podTemplates" = mkOption { + description = "PodTemplate describes a template for creating copies of a predefined pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" + "core" "v1"); + default = {}; + }; + "priorityClasses" = mkOption { + description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1"); + default = {}; + }; + "priorityLevelConfigurations" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "replicaSets" = mkOption { + description = "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" + "v1"); + default = {}; + }; + "replicationControllers" = mkOption { + description = "ReplicationController represents the configuration of a replication controller."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" + "replicationcontrollers" "ReplicationController" "core" "v1"); + default = {}; + }; + "resourceQuotas" = mkOption { + description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" + "ResourceQuota" "core" "v1"); + default = {}; + }; + "roles" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "roleBindings" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "runtimeClasses" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1beta1"); + default = {}; + }; + "secrets" = mkOption { + description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1"); + default = {}; + }; + "selfSubjectAccessReviews" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "selfSubjectRulesReviews" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "services" = mkOption { + description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1"); + default = {}; + }; + "serviceAccounts" = mkOption { + description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" + "ServiceAccount" "core" "v1"); + default = {}; + }; + "statefulSets" = mkOption { + description = '' + StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" + "apps" "v1"); + default = {}; + }; + "storageClasses" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1")); - default = { }; - }; - "clusterRoles" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "clusterRoleBindings" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "configMaps" = mkOption { - description = "ConfigMap holds configuration data for pods to consume."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" - "v1")); - default = { }; - }; - "controllerRevisions" = mkOption { - description = - "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" - "ControllerRevision" "apps" "v1")); - default = { }; - }; - "cronJobs" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" - "v1beta1")); - default = { }; - }; - "customResourceDefinitions" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1")); - default = { }; - }; - "daemonSets" = mkOption { - description = "DaemonSet represents the configuration of a daemon set."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" - "v1")); - default = { }; - }; - "deployments" = mkOption { - description = "Deployment enables declarative updates for Pods and ReplicaSets."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" - "v1")); - default = { }; - }; - "endpointSlices" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1beta1")); - default = { }; - }; - "endpoints" = mkOption { - description = '' - Endpoints is a collection of endpoints that implement the actual service. Example: - Name: "mysvc", - Subsets: [ - { - Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], - Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] - }, - { - Addresses: [{"ip": "10.10.3.3"}], - Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] - }, - ]''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" - "v1")); - default = { }; - }; - "events" = mkOption { - description = "Event is a report of an event somewhere in the cluster."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1")); - default = { }; - }; - "eviction" = mkOption { - description = - "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" - "policy" "v1beta1")); - default = { }; - }; - "flowSchemas" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "horizontalPodAutoscalers" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2")); - default = { }; - }; - "ingresses" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1")); - default = { }; - }; - "ingressClasses" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1")); - default = { }; - }; - "jobs" = mkOption { - description = "Job represents the configuration of a single job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1")); - default = { }; - }; - "leases" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1")); - default = { }; - }; - "limitRanges" = mkOption { - description = - "LimitRange sets resource usage limits for each kind of resource in a Namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" - "v1")); - default = { }; - }; - "localSubjectAccessReviews" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "mutatingWebhookConfigurations" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "namespaces" = mkOption { - description = - "Namespace provides a scope for Names. Use of multiple namespaces is optional."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" - "v1")); - default = { }; - }; - "networkPolicies" = mkOption { - description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" - "NetworkPolicy" "networking.k8s.io" "v1")); - default = { }; - }; - "nodes" = mkOption { - description = - "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1")); - default = { }; - }; - "persistentVolumes" = mkOption { - description = - "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" - "PersistentVolume" "core" "v1")); - default = { }; - }; - "persistentVolumeClaims" = mkOption { - description = - "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" - "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1")); - default = { }; - }; - "pods" = mkOption { - description = - "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1")); - default = { }; - }; - "podDisruptionBudgets" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" - "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1")); - default = { }; - }; - "podPresets" = mkOption { - description = - "PodPreset is a policy resource that defines additional runtime requirements for a Pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.settings.v1alpha1.PodPreset" "podpresets" "PodPreset" - "settings.k8s.io" "v1alpha1")); - default = { }; - }; - "podSecurityPolicies" = mkOption { - description = - "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" - "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1")); - default = { }; - }; - "podTemplates" = mkOption { - description = "PodTemplate describes a template for creating copies of a predefined pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" - "core" "v1")); - default = { }; - }; - "priorityClasses" = mkOption { - description = - "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1")); - default = { }; - }; - "priorityLevelConfigurations" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "replicaSets" = mkOption { - description = - "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" - "v1")); - default = { }; - }; - "replicationControllers" = mkOption { - description = - "ReplicationController represents the configuration of a replication controller."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" - "replicationcontrollers" "ReplicationController" "core" "v1")); - default = { }; - }; - "resourceQuotas" = mkOption { - description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" - "ResourceQuota" "core" "v1")); - default = { }; - }; - "roles" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "roleBindings" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "runtimeClasses" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1beta1")); - default = { }; - }; - "secrets" = mkOption { - description = - "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1")); - default = { }; - }; - "selfSubjectAccessReviews" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "selfSubjectRulesReviews" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "services" = mkOption { - description = - "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1")); - default = { }; - }; - "serviceAccounts" = mkOption { - description = - "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" - "ServiceAccount" "core" "v1")); - default = { }; - }; - "statefulSets" = mkOption { - description = '' - StatefulSet represents a set of pods with consistent identities. Identities are defined as: - - Network: A single stable DNS and hostname. - - Storage: As many VolumeClaims as requested. - The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" - "apps" "v1")); - default = { }; - }; - "storageClasses" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1"); + default = {}; + }; + "subjectAccessReviews" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "token" = mkOption { + description = "TokenRequest requests a token for a given service account."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" + "authentication.k8s.io" "v1"); + default = {}; + }; + "tokenReviews" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1"); + default = {}; + }; + "validatingWebhookConfigurations" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "volumeAttachments" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1")); - default = { }; + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1"); + default = {}; + }; }; - "subjectAccessReviews" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "token" = mkOption { - description = "TokenRequest requests a token for a given service account."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" - "authentication.k8s.io" "v1")); - default = { }; - }; - "tokenReviews" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1")); - default = { }; - }; - "validatingWebhookConfigurations" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "volumeAttachments" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1")); - default = { }; - }; - - }; }; config = { @@ -22373,7 +19906,6 @@ in mkAliasDefinitions options.resources."validatingWebhookConfigurations"; "storage.k8s.io"."v1"."VolumeAttachment" = mkAliasDefinitions options.resources."volumeAttachments"; - }; }; } diff --git a/modules/generated/v1.20.nix b/modules/generated/v1.20.nix index 62ef0ef..dae9145 100644 --- a/modules/generated/v1.20.nix +++ b/modules/generated/v1.20.nix @@ -1,9 +1,11 @@ # This file was generated with kubenix k8s generator, do not edit -{ lib, options, config, ... }: - -with lib; - -let +{ + lib, + options, + config, + ... +}: +with lib; let getDefaults = resource: group: version: kind: catAttrs "default" (filter (default: @@ -13,38 +15,37 @@ let && (default.kind == null || default.kind == kind)) config.defaults); - types = lib.types // rec { - str = mkOptionType { - name = "str"; - description = "string"; - check = isString; - merge = mergeEqualOption; - }; - - # Either value of type `finalType` or `coercedType`, the latter is - # converted to `finalType` using `coerceFunc`. - coercedTo = coercedType: coerceFunc: finalType: - mkOptionType rec { - name = "coercedTo"; - description = "${finalType.description} or ${coercedType.description}"; - check = x: finalType.check x || coercedType.check x; - merge = loc: defs: - let - coerceVal = val: - if finalType.check val then - val - else - let coerced = coerceFunc val; in assert finalType.check coerced; coerced; - - in - finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); - getSubOptions = finalType.getSubOptions; - getSubModules = finalType.getSubModules; - substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); - typeMerge = t1: t2: null; - functor = (defaultFunctor name) // { wrapped = finalType; }; + types = + lib.types + // rec { + str = mkOptionType { + name = "str"; + description = "string"; + check = isString; + merge = mergeEqualOption; }; - }; + + # Either value of type `finalType` or `coercedType`, the latter is + # converted to `finalType` using `coerceFunc`. + coercedTo = coercedType: coerceFunc: finalType: + mkOptionType rec { + name = "coercedTo"; + description = "${finalType.description} or ${coercedType.description}"; + check = x: finalType.check x || coercedType.check x; + merge = loc: defs: let + coerceVal = val: + if finalType.check val + then val + else let coerced = coerceFunc val; in assert finalType.check coerced; coerced; + in + finalType.merge loc (map (def: def // {value = coerceVal def.value;}) defs); + getSubOptions = finalType.getSubOptions; + getSubModules = finalType.getSubModules; + substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); + typeMerge = t1: t2: null; + functor = (defaultFunctor name) // {wrapped = finalType;}; + }; + }; mkOptionDefault = mkOverride 1001; @@ -52,36 +53,42 @@ let listToAttrs (map (value: nameValuePair - (if isAttrs value.${mergeKey} then - toString value.${mergeKey}.content - else - (toString value.${mergeKey})) - value) + ( + if isAttrs value.${mergeKey} + then toString value.${mergeKey}.content + else (toString value.${mergeKey}) + ) + value) values); submoduleOf = ref: - types.submodule ({ name, ... }: { - options = definitions."${ref}".options or { }; - config = definitions."${ref}".config or { }; + types.submodule ({name, ...}: { + options = definitions."${ref}".options or {}; + config = definitions."${ref}".config or {}; }); submoduleWithMergeOf = ref: mergeKey: - types.submodule ({ name, ... }: - let - convertName = name: - if definitions."${ref}".options.${mergeKey}.type == types.int then toInt name else name; - in - { - options = definitions."${ref}".options; - config = definitions."${ref}".config // { + types.submodule ({name, ...}: let + convertName = name: + if definitions."${ref}".options.${mergeKey}.type == types.int + then toInt name + else name; + in { + options = definitions."${ref}".options; + config = + definitions."${ref}".config + // { ${mergeKey} = mkOverride 1002 (convertName name); }; - }); + }); - submoduleForDefinition = ref: resource: kind: group: version: - let apiVersion = if group == "core" then version else "${group}/${version}"; - in - types.submodule ({ name, ... }: { + submoduleForDefinition = ref: resource: kind: group: version: let + apiVersion = + if group == "core" + then version + else "${group}/${version}"; + in + types.submodule ({name, ...}: { imports = getDefaults resource group version kind; options = definitions."${ref}".options; config = mkMerge [ @@ -96,27 +103,23 @@ let ]; }); - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: - (types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) - (types.attrsOf (submoduleWithMergeOf ref mergeKey))); + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: (types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) + (types.attrsOf (submoduleWithMergeOf ref mergeKey))); definitions = { "io.k8s.api.admissionregistration.v1.MutatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; - type = (types.listOf types.str); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; + type = types.listOf types.str; }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -127,7 +130,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Equivalent"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -167,12 +170,11 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "reinvocationPolicy" = mkOption { description = '' @@ -183,23 +185,21 @@ let IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to "Never".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; + description = "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; type = types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; + type = types.nullOr types.int; }; }; @@ -212,31 +212,30 @@ let "rules" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1.MutatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1.MutatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -246,30 +245,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of MutatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -278,25 +273,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.RuleWithOperations" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "apiVersions" = mkOption { - description = - "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "operations" = mkOption { - description = - "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' @@ -307,12 +297,12 @@ let If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "scope" = mkOption { description = '' scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -323,10 +313,8 @@ let "resources" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ServiceReference" = { - options = { "name" = mkOption { description = "`name` is the name of the service. Required"; @@ -337,14 +325,12 @@ let type = types.str; }; "path" = mkOption { - description = - "`path` is an optional URL path which will be sent in any request to this service."; - type = (types.nullOr types.str); + description = "`path` is an optional URL path which will be sent in any request to this service."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -352,24 +338,20 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; - type = (types.listOf types.str); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; + type = types.listOf types.str; }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -380,7 +362,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Equivalent"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -420,28 +402,25 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; + description = "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; type = types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; + type = types.nullOr types.int; }; }; @@ -453,31 +432,30 @@ let "rules" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -487,30 +465,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ValidatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -519,15 +493,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' @@ -535,7 +506,7 @@ let If the webhook is running within the cluster, then you should use `service`.''; type = - (types.nullOr (submoduleOf "io.k8s.api.admissionregistration.v1.ServiceReference")); + types.nullOr (submoduleOf "io.k8s.api.admissionregistration.v1.ServiceReference"); }; "url" = mkOption { description = '' @@ -550,7 +521,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -559,24 +530,20 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; - type = (types.nullOr (types.listOf types.str)); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; + type = types.nullOr (types.listOf types.str); }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -587,7 +554,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Exact"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -627,12 +594,11 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "reinvocationPolicy" = mkOption { description = '' @@ -643,23 +609,21 @@ let IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to "Never".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; - type = (types.nullOr types.str); + description = "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; + type = types.nullOr types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; + type = types.nullOr types.int; }; }; @@ -674,31 +638,30 @@ let "sideEffects" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -708,30 +671,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of MutatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -740,25 +699,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "apiVersions" = mkOption { - description = - "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "operations" = mkOption { - description = - "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' @@ -769,12 +723,12 @@ let If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "scope" = mkOption { description = '' scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -785,10 +739,8 @@ let "resources" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "`name` is the name of the service. Required"; @@ -799,14 +751,12 @@ let type = types.str; }; "path" = mkOption { - description = - "`path` is an optional URL path which will be sent in any request to this service."; - type = (types.nullOr types.str); + description = "`path` is an optional URL path which will be sent in any request to this service."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -814,24 +764,20 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; - type = (types.nullOr (types.listOf types.str)); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; + type = types.nullOr (types.listOf types.str); }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -842,7 +788,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Exact"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -882,28 +828,25 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; - type = (types.nullOr types.str); + description = "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; + type = types.nullOr types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; + type = types.nullOr types.int; }; }; @@ -917,31 +860,30 @@ let "sideEffects" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -951,30 +893,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ValidatingWebhookConfiguration."; - type = (types.listOf (submoduleOf - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration")); + type = + types.listOf (submoduleOf + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -983,23 +921,21 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.ServiceReference")); + type = + types.nullOr + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.ServiceReference"); }; "url" = mkOption { description = '' @@ -1014,7 +950,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -1023,24 +959,20 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion" = { - options = { "apiServerID" = mkOption { description = "The ID of the reporting API server."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "decodableVersions" = mkOption { - description = - "The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions."; - type = (types.nullOr (types.listOf types.str)); + description = "The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions."; + type = types.nullOr (types.listOf types.str); }; "encodingVersion" = mkOption { - description = - "The API server encodes the object to this version when persisting it in the backend (e.g., etcd)."; - type = (types.nullOr types.str); + description = "The API server encodes the object to this version when persisting it in the backend (e.g., etcd)."; + type = types.nullOr types.str; }; }; @@ -1049,33 +981,28 @@ let "decodableVersions" = mkOverride 1002 null; "encodingVersion" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "The name is .."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec is an empty spec. It is here to comply with Kubernetes API style."; - type = (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"); + type = submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"; }; "status" = mkOption { - description = - "API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend."; - type = (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"); + description = "API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend."; + type = submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"; }; }; @@ -1084,23 +1011,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "If set, this represents the .metadata.generation that the condition was set based upon."; - type = (types.nullOr types.int); + description = "If set, this represents the .metadata.generation that the condition was set based upon."; + type = types.nullOr types.int; }; "reason" = mkOption { description = "The reason for the condition's last transition."; @@ -1121,29 +1045,25 @@ let "message" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; type = - (types.listOf (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion")); + types.listOf (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1152,26 +1072,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; - "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec" = { }; + "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec" = {}; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus" = { - options = { "commonEncodingVersion" = mkOption { - description = - "If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality."; - type = (types.nullOr types.str); + description = "If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "The latest available observations of the storageVersion's state."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionCondition")); }; "storageVersions" = mkOption { description = "The reported versions per API server instance."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion")); }; }; @@ -1180,29 +1099,24 @@ let "conditions" = mkOverride 1002 null; "storageVersions" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ControllerRevision" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "data" = mkOption { description = "Data is the serialized representation of the state."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "revision" = mkOption { description = "Revision indicates the revision of the state represented by Data."; @@ -1216,29 +1130,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ControllerRevisionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of ControllerRevisions"; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.ControllerRevision")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.ControllerRevision"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1247,35 +1156,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetSpec")); + description = "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetSpec"); }; "status" = mkOption { - description = - "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetStatus")); + description = "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetStatus"); }; }; @@ -1286,22 +1188,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1318,29 +1218,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "A list of daemon sets."; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.DaemonSet")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.DaemonSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1349,34 +1244,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)."; - type = (types.nullOr types.int); + description = "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; - type = (types.nullOr types.int); + description = "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "template" = mkOption { - description = - "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "updateStrategy" = mkOption { description = "An update strategy to replace existing DaemonSet pods with new pods."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetUpdateStrategy")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetUpdateStrategy"); }; }; @@ -1385,60 +1274,54 @@ let "revisionHistoryLimit" = mkOverride 1002 null; "updateStrategy" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetStatus" = { - options = { "collisionCount" = mkOption { - description = - "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; - type = (types.nullOr types.int); + description = "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a DaemonSet's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a DaemonSet's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentNumberScheduled" = mkOption { - description = - "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "desiredNumberScheduled" = mkOption { - description = - "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "numberAvailable" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"; - type = (types.nullOr types.int); + description = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"; + type = types.nullOr types.int; }; "numberMisscheduled" = mkOption { - description = - "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "numberReady" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; + description = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; type = types.int; }; "numberUnavailable" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"; - type = (types.nullOr types.int); + description = "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { description = "The most recent generation observed by the daemon set controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "updatedNumberScheduled" = mkOption { description = "The total number of nodes that are running updated daemon pod"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -1450,19 +1333,17 @@ let "observedGeneration" = mkOverride 1002 null; "updatedNumberScheduled" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetUpdateStrategy" = { - options = { "rollingUpdate" = mkOption { description = ''Rolling update config params. Present only if type = "RollingUpdate".''; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDaemonSet")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDaemonSet"); }; "type" = mkOption { description = '' Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -1470,32 +1351,28 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.Deployment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the Deployment."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentSpec"); }; "status" = mkOption { description = "Most recently observed status of the Deployment."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStatus"); }; }; @@ -1506,26 +1383,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "The last time this condition was updated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1543,28 +1418,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Deployments."; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.Deployment")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.Deployment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1573,47 +1444,40 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "paused" = mkOption { description = "Indicates that the deployment is paused."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "progressDeadlineSeconds" = mkOption { - description = - "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s."; - type = (types.nullOr types.int); + description = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s."; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; - type = (types.nullOr types.int); + description = "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; - type = (types.nullOr types.int); + description = "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "strategy" = mkOption { description = "The deployment strategy to use to replace existing pods with new ones."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStrategy")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStrategy"); }; "template" = mkOption { description = "Template describes the pods that will be created."; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; }; @@ -1625,50 +1489,46 @@ let "revisionHistoryLimit" = mkOverride 1002 null; "strategy" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentStatus" = { - options = { "availableReplicas" = mkOption { - description = - "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."; - type = (types.nullOr types.int); + description = "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."; + type = types.nullOr types.int; }; "collisionCount" = mkOption { - description = - "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."; - type = (types.nullOr types.int); + description = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a deployment's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a deployment's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "observedGeneration" = mkOption { description = "The generation observed by the deployment controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "Total number of ready pods targeted by this deployment."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."; - type = (types.nullOr types.int); + description = "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."; + type = types.nullOr types.int; }; "unavailableReplicas" = mkOption { - description = - "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."; - type = (types.nullOr types.int); + description = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."; + type = types.nullOr types.int; }; "updatedReplicas" = mkOption { - description = - "Total number of non-terminated pods targeted by this deployment that have the desired template spec."; - type = (types.nullOr types.int); + description = "Total number of non-terminated pods targeted by this deployment that have the desired template spec."; + type = types.nullOr types.int; }; }; @@ -1682,20 +1542,16 @@ let "unavailableReplicas" = mkOverride 1002 null; "updatedReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentStrategy" = { - options = { "rollingUpdate" = mkOption { - description = - "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDeployment")); + description = "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDeployment"); }; "type" = mkOption { - description = - ''Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.''; - type = (types.nullOr types.str); + description = ''Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.''; + type = types.nullOr types.str; }; }; @@ -1703,35 +1559,28 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetSpec")); + description = "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetSpec"); }; "status" = mkOption { - description = - "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetStatus")); + description = "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetStatus"); }; }; @@ -1742,22 +1591,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "The last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1774,30 +1621,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.ReplicaSet")); + description = "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.ReplicaSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1806,30 +1647,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; - type = (types.nullOr types.int); + description = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "template" = mkOption { - description = - "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -1838,40 +1673,37 @@ let "replicas" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetStatus" = { - options = { "availableReplicas" = mkOption { - description = - "The number of available replicas (ready for at least minReadySeconds) for this replica set."; - type = (types.nullOr types.int); + description = "The number of available replicas (ready for at least minReadySeconds) for this replica set."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a replica set's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a replica set's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "fullyLabeledReplicas" = mkOption { - description = - "The number of pods that have labels matching the labels of the pod template of the replicaset."; - type = (types.nullOr types.int); + description = "The number of pods that have labels matching the labels of the pod template of the replicaset."; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { - description = - "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."; - type = (types.nullOr types.int); + description = "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "The number of ready replicas for this replica set."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; + description = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; type = types.int; }; }; @@ -1883,33 +1715,26 @@ let "observedGeneration" = mkOverride 1002 null; "readyReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateDaemonSet" = { - options = { "maxUnavailable" = mkOption { - description = - "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."; + type = types.nullOr (types.either types.int types.str); }; }; - config = { "maxUnavailable" = mkOverride 1002 null; }; - + config = {"maxUnavailable" = mkOverride 1002 null;}; }; "io.k8s.api.apps.v1.RollingUpdateDeployment" = { - options = { "maxSurge" = mkOption { - description = - "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods."; + type = types.nullOr (types.either types.int types.str); }; "maxUnavailable" = mkOption { - description = - "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods."; + type = types.nullOr (types.either types.int types.str); }; }; @@ -1917,46 +1742,38 @@ let "maxSurge" = mkOverride 1002 null; "maxUnavailable" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy" = { - options = { "partition" = mkOption { - description = - "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."; - type = (types.nullOr types.int); + description = "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."; + type = types.nullOr types.int; }; }; - config = { "partition" = mkOverride 1002 null; }; - + config = {"partition" = mkOverride 1002 null;}; }; "io.k8s.api.apps.v1.StatefulSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec defines the desired identities of pods in this set."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetSpec"); }; "status" = mkOption { - description = - "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetStatus")); + description = "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetStatus"); }; }; @@ -1967,22 +1784,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1999,28 +1814,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.StatefulSet")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.StatefulSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -2029,30 +1840,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetSpec" = { - options = { "podManagementPolicy" = mkOption { - description = - "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."; - type = (types.nullOr types.str); + description = "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."; + type = types.nullOr types.str; }; "replicas" = mkOption { - description = - "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1."; - type = (types.nullOr types.int); + description = "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10."; - type = (types.nullOr types.int); + description = "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "serviceName" = mkOption { description = '' @@ -2060,20 +1865,17 @@ let type = types.str; }; "template" = mkOption { - description = - "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "updateStrategy" = mkOption { - description = - "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetUpdateStrategy")); + description = "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetUpdateStrategy"); }; "volumeClaimTemplates" = mkOption { - description = - "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."; + description = "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim")); }; }; @@ -2084,56 +1886,50 @@ let "updateStrategy" = mkOverride 1002 null; "volumeClaimTemplates" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetStatus" = { - options = { "collisionCount" = mkOption { - description = - "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; - type = (types.nullOr types.int); + description = "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a statefulset's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a statefulset's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentReplicas" = mkOption { - description = - "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."; - type = (types.nullOr types.int); + description = "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."; + type = types.nullOr types.int; }; "currentRevision" = mkOption { - description = - "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."; - type = (types.nullOr types.str); + description = "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { - description = - "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."; - type = (types.nullOr types.int); + description = "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."; + type = types.nullOr types.int; }; "replicas" = mkOption { description = "replicas is the number of Pods created by the StatefulSet controller."; type = types.int; }; "updateRevision" = mkOption { - description = - "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"; - type = (types.nullOr types.str); + description = "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"; + type = types.nullOr types.str; }; "updatedReplicas" = mkOption { - description = - "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."; - type = (types.nullOr types.int); + description = "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."; + type = types.nullOr types.int; }; }; @@ -2147,20 +1943,16 @@ let "updateRevision" = mkOverride 1002 null; "updatedReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetUpdateStrategy" = { - options = { "rollingUpdate" = mkOption { - description = - "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy")); + description = "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy"); }; "type" = mkOption { - description = - "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."; - type = (types.nullOr types.str); + description = "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."; + type = types.nullOr types.str; }; }; @@ -2168,26 +1960,24 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.BoundObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind of the referent. Valid kinds are 'Pod' and 'Secret'."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = "Name of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = "UID of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2197,32 +1987,28 @@ let "name" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.authentication.v1.TokenRequestSpec"); + type = submoduleOf "io.k8s.api.authentication.v1.TokenRequestSpec"; }; "status" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenRequestStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenRequestStatus"); }; }; @@ -2232,25 +2018,20 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequestSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."; - type = (types.listOf types.str); + description = "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."; + type = types.listOf types.str; }; "boundObjectRef" = mkOption { - description = - "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.BoundObjectReference")); + description = "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.BoundObjectReference"); }; "expirationSeconds" = mkOption { - description = - "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."; - type = (types.nullOr types.int); + description = "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."; + type = types.nullOr types.int; }; }; @@ -2258,10 +2039,8 @@ let "boundObjectRef" = mkOverride 1002 null; "expirationSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequestStatus" = { - options = { "expirationTimestamp" = mkOption { description = "ExpirationTimestamp is the time of expiration of the returned token."; @@ -2273,34 +2052,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.authentication.v1.TokenReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authentication.v1.TokenReviewSpec"); + type = submoduleOf "io.k8s.api.authentication.v1.TokenReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request can be authenticated."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenReviewStatus")); + description = "Status is filled in by the server and indicates whether the request can be authenticated."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenReviewStatus"); }; }; @@ -2310,19 +2084,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenReviewSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; - type = (types.nullOr (types.listOf types.str)); + description = "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; + type = types.nullOr (types.listOf types.str); }; "token" = mkOption { description = "Token is the opaque bearer token."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2330,27 +2101,25 @@ let "audiences" = mkOverride 1002 null; "token" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenReviewStatus" = { - options = { "audiences" = mkOption { description = '' Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "authenticated" = mkOption { description = "Authenticated indicates that the token was associated with a known user."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "error" = mkOption { description = "Error indicates that the token couldn't be checked"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is the UserInfo associated with the provided token."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.UserInfo")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.UserInfo"); }; }; @@ -2360,27 +2129,24 @@ let "error" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.UserInfo" = { - options = { "extra" = mkOption { description = "Any additional information provided by the authenticator."; - type = (types.nullOr (types.loaOf types.str)); + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "The names of groups this user is a part of."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "uid" = mkOption { - description = - "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; - type = (types.nullOr types.str); + description = "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; + type = types.nullOr types.str; }; "username" = mkOption { description = "The name that uniquely identifies this user among all active users."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2390,33 +2156,28 @@ let "uid" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewSpec"); + type = submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request can be authenticated."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewStatus")); + description = "Status is filled in by the server and indicates whether the request can be authenticated."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewStatus"); }; }; @@ -2426,19 +2187,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReviewSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; - type = (types.nullOr (types.listOf types.str)); + description = "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; + type = types.nullOr (types.listOf types.str); }; "token" = mkOption { description = "Token is the opaque bearer token."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2446,27 +2204,25 @@ let "audiences" = mkOverride 1002 null; "token" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReviewStatus" = { - options = { "audiences" = mkOption { description = '' Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "authenticated" = mkOption { description = "Authenticated indicates that the token was associated with a known user."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "error" = mkOption { description = "Error indicates that the token couldn't be checked"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is the UserInfo associated with the provided token."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.UserInfo")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.UserInfo"); }; }; @@ -2476,27 +2232,24 @@ let "error" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.UserInfo" = { - options = { "extra" = mkOption { description = "Any additional information provided by the authenticator."; - type = (types.nullOr (types.loaOf types.str)); + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "The names of groups this user is a part of."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "uid" = mkOption { - description = - "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; - type = (types.nullOr types.str); + description = "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; + type = types.nullOr types.str; }; "username" = mkOption { description = "The name that uniquely identifies this user among all active users."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2506,35 +2259,29 @@ let "uid" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.LocalSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; - type = (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; + type = submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2544,18 +2291,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.NonResourceAttributes" = { - options = { "path" = mkOption { description = "Path is the URL path of the request"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = "Verb is the standard HTTP verb"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2563,59 +2308,55 @@ let "path" = mkOverride 1002 null; "verb" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.NonResourceRule" = { - options = { "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { "nonResourceURLs" = mkOverride 1002 null; }; - + config = {"nonResourceURLs" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1.ResourceAttributes" = { - options = { "group" = mkOption { description = ''Group is the API Group of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = ''Resource is one of the existing resource types. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subresource" = mkOption { description = ''Subresource is one of the existing resource types. "" means none.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = '' Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "version" = mkOption { description = ''Version is the API Version of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2628,31 +2369,29 @@ let "verb" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.ResourceRule" = { - options = { "apiGroups" = mkOption { description = '' APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { description = '' ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -2661,35 +2400,29 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. user and groups must be empty"; - type = (submoduleOf "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. user and groups must be empty"; + type = submoduleOf "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2699,20 +2432,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec" = { - options = { "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes")); + description = "NonResourceAttributes describes information for a non-resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes"); }; }; @@ -2720,34 +2449,29 @@ let "nonResourceAttributes" = mkOverride 1002 null; "resourceAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectRulesReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated."; - type = (submoduleOf "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates the set of actions a user can perform."; + description = "Status is filled in by the server and indicates the set of actions a user can perform."; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectRulesReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectRulesReviewStatus"); }; }; @@ -2757,46 +2481,39 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec" = { - options = { "namespace" = mkOption { description = "Namespace to evaluate rules for. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "namespace" = mkOverride 1002 null; }; - + config = {"namespace" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1.SubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2806,38 +2523,33 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectAccessReviewSpec" = { - options = { "extra" = mkOption { - description = - "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "Groups is the groups you're testing for."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes")); + description = "NonResourceAttributes describes information for a non-resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes"); }; "uid" = mkOption { description = "UID information about the requesting user."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = '' User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2849,29 +2561,24 @@ let "uid" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectAccessReviewStatus" = { - options = { "allowed" = mkOption { - description = - "Allowed is required. True if the action would be allowed, false otherwise."; + description = "Allowed is required. True if the action would be allowed, false otherwise."; type = types.bool; }; "denied" = mkOption { - description = - "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; - type = (types.nullOr types.bool); + description = "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; + type = types.nullOr types.bool; }; "evaluationError" = mkOption { - description = - "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; - type = (types.nullOr types.str); + description = "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; + type = types.nullOr types.str; }; "reason" = mkOption { description = "Reason is optional. It indicates why a request was allowed or denied."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2880,63 +2587,52 @@ let "evaluationError" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectRulesReviewStatus" = { - options = { "evaluationError" = mkOption { - description = - "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; - type = (types.nullOr types.str); + description = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; + type = types.nullOr types.str; }; "incomplete" = mkOption { - description = - "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; + description = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; type = types.bool; }; "nonResourceRules" = mkOption { - description = - "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1.NonResourceRule")); + description = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1.NonResourceRule"); }; "resourceRules" = mkOption { - description = - "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1.ResourceRule")); + description = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1.ResourceRule"); }; }; - config = { "evaluationError" = mkOverride 1002 null; }; - + config = {"evaluationError" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; + type = submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -2946,18 +2642,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.NonResourceAttributes" = { - options = { "path" = mkOption { description = "Path is the URL path of the request"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = "Verb is the standard HTTP verb"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2965,59 +2659,55 @@ let "path" = mkOverride 1002 null; "verb" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.NonResourceRule" = { - options = { "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { "nonResourceURLs" = mkOverride 1002 null; }; - + config = {"nonResourceURLs" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.ResourceAttributes" = { - options = { "group" = mkOption { description = ''Group is the API Group of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = ''Resource is one of the existing resource types. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subresource" = mkOption { description = ''Subresource is one of the existing resource types. "" means none.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = '' Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "version" = mkOption { description = ''Version is the API Version of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3030,31 +2720,29 @@ let "verb" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.ResourceRule" = { - options = { "apiGroups" = mkOption { description = '' APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { description = '' ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -3063,35 +2751,30 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. user and groups must be empty"; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. user and groups must be empty"; + type = submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -3101,21 +2784,17 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec" = { - options = { "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; + description = "NonResourceAttributes describes information for a non-resource access request"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes"); }; }; @@ -3123,34 +2802,30 @@ let "nonResourceAttributes" = mkOverride 1002 null; "resourceAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated."; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates the set of actions a user can perform."; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus")); + description = "Status is filled in by the server and indicates the set of actions a user can perform."; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus"); }; }; @@ -3160,46 +2835,40 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec" = { - options = { "namespace" = mkOption { description = "Namespace to evaluate rules for. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "namespace" = mkOverride 1002 null; }; - + config = {"namespace" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.SubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -3209,39 +2878,34 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec" = { - options = { "extra" = mkOption { - description = - "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; + type = types.nullOr (types.loaOf types.str); }; "group" = mkOption { description = "Groups is the groups you're testing for."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; + description = "NonResourceAttributes describes information for a non-resource access request"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes"); }; "uid" = mkOption { description = "UID information about the requesting user."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = '' User is the user you're testing for. If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3253,29 +2917,24 @@ let "uid" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus" = { - options = { "allowed" = mkOption { - description = - "Allowed is required. True if the action would be allowed, false otherwise."; + description = "Allowed is required. True if the action would be allowed, false otherwise."; type = types.bool; }; "denied" = mkOption { - description = - "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; - type = (types.nullOr types.bool); + description = "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; + type = types.nullOr types.bool; }; "evaluationError" = mkOption { - description = - "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; - type = (types.nullOr types.str); + description = "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; + type = types.nullOr types.str; }; "reason" = mkOption { description = "Reason is optional. It indicates why a request was allowed or denied."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3284,42 +2943,34 @@ let "evaluationError" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus" = { - options = { "evaluationError" = mkOption { - description = - "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; - type = (types.nullOr types.str); + description = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; + type = types.nullOr types.str; }; "incomplete" = mkOption { - description = - "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; + description = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; type = types.bool; }; "nonResourceRules" = mkOption { - description = - "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceRule")); + description = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceRule"); }; "resourceRules" = mkOption { - description = - "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceRule")); + description = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceRule"); }; }; - config = { "evaluationError" = mkOverride 1002 null; }; - + config = {"evaluationError" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3327,43 +2978,36 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + description = "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; type = - (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec")); + types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "current information about the autoscaler."; type = - (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus")); + types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus"); }; }; @@ -3374,28 +3018,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "list of horizontal pod autoscaler objects."; - type = (types.listOf (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler")); + type = types.listOf (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -3404,30 +3044,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec" = { - options = { "maxReplicas" = mkOption { - description = - "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."; + description = "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."; type = types.int; }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource."; - type = (submoduleOf "io.k8s.api.autoscaling.v1.CrossVersionObjectReference"); + description = "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource."; + type = submoduleOf "io.k8s.api.autoscaling.v1.CrossVersionObjectReference"; }; "targetCPUUtilizationPercentage" = mkOption { - description = - "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used."; - type = (types.nullOr types.int); + description = "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used."; + type = types.nullOr types.int; }; }; @@ -3435,15 +3069,12 @@ let "minReplicas" = mkOverride 1002 null; "targetCPUUtilizationPercentage" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus" = { - options = { "currentCPUUtilizationPercentage" = mkOption { - description = - "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."; - type = (types.nullOr types.int); + description = "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."; + type = types.nullOr types.int; }; "currentReplicas" = mkOption { description = "current number of replicas of pods managed by this autoscaler."; @@ -3454,13 +3085,12 @@ let type = types.int; }; "lastScaleTime" = mkOption { - description = - "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { description = "most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -3469,35 +3099,28 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.Scale" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleSpec")); + description = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleSpec"); }; "status" = mkOption { - description = - "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleStatus")); + description = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleStatus"); }; }; @@ -3508,39 +3131,32 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.ScaleSpec" = { - options = { "replicas" = mkOption { description = "desired number of instances for the scaled object."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "replicas" = mkOverride 1002 null; }; - + config = {"replicas" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.ScaleStatus" = { - options = { "replicas" = mkOption { description = "actual number of observed instances of the scaled object."; type = types.int; }; "selector" = mkOption { - description = - "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"; - type = (types.nullOr types.str); + description = "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"; + type = types.nullOr types.str; }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource" = { - options = { "container" = mkOption { description = "container is the name of the container in the pods of the scaling target"; @@ -3551,14 +3167,13 @@ let type = types.str; }; "targetAverageUtilization" = mkOption { - description = - "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "targetAverageValue" = mkOption { description = '' targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3566,19 +3181,16 @@ let "targetAverageUtilization" = mkOverride 1002 null; "targetAverageValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus" = { - options = { "container" = mkOption { description = "container is the name of the container in the pods of the scaling target"; type = types.str; }; "currentAverageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; + type = types.nullOr types.int; }; "currentAverageValue" = mkOption { description = '' @@ -3591,15 +3203,13 @@ let }; }; - config = { "currentAverageUtilization" = mkOverride 1002 null; }; - + config = {"currentAverageUtilization" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3607,36 +3217,30 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource" = { - options = { "metricName" = mkOption { description = "metricName is the name of the metric in question."; type = types.str; }; "metricSelector" = mkOption { - description = - "metricSelector is used to identify a specific time series within a given metric."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "metricSelector is used to identify a specific time series within a given metric."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "targetAverageValue" = mkOption { - description = - "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue."; - type = (types.nullOr types.str); + description = "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue."; + type = types.nullOr types.str; }; "targetValue" = mkOption { - description = - "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue."; - type = (types.nullOr types.str); + description = "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue."; + type = types.nullOr types.str; }; }; @@ -3645,15 +3249,12 @@ let "targetAverageValue" = mkOverride 1002 null; "targetValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus" = { - options = { "currentAverageValue" = mkOption { - description = - "currentAverageValue is the current value of metric averaged over autoscaled pods."; - type = (types.nullOr types.str); + description = "currentAverageValue is the current value of metric averaged over autoscaled pods."; + type = types.nullOr types.str; }; "currentValue" = mkOption { description = "currentValue is the current value of the metric (as a quantity)"; @@ -3664,9 +3265,8 @@ let type = types.str; }; "metricSelector" = mkOption { - description = - "metricSelector is used to identify a specific time series within a given metric."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "metricSelector is used to identify a specific time series within a given metric."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -3674,36 +3274,32 @@ let "currentAverageValue" = mkOverride 1002 null; "metricSelector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec")); + description = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "status is the current information about the autoscaler."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus"); }; }; @@ -3714,24 +3310,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another"; - type = (types.nullOr types.str); + description = "lastTransitionTime is the last time the condition transitioned from one status to another"; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable explanation containing details about the transition"; - type = (types.nullOr types.str); + description = "message is a human-readable explanation containing details about the transition"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason is the reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition (True, False, Unknown)"; @@ -3748,29 +3340,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of horizontal pod autoscaler objects."; type = - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler")); + types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata is the standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -3779,31 +3367,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec" = { - options = { "maxReplicas" = mkOption { - description = - "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; + description = "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; type = types.int; }; "metrics" = mkOption { - description = - "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."; + description = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricSpec"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricSpec")); }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + description = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; }; @@ -3811,42 +3393,36 @@ let "metrics" = mkOverride 1002 null; "minReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus" = { - options = { "conditions" = mkOption { - description = - "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; - type = (types.listOf - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition")); + description = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; + type = + types.listOf + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition"); }; "currentMetrics" = mkOption { - description = - "currentMetrics is the last read state of the metrics used by this autoscaler."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricStatus"))); + description = "currentMetrics is the last read state of the metrics used by this autoscaler."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricStatus")); }; "currentReplicas" = mkOption { - description = - "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; + description = "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; type = types.int; }; "desiredReplicas" = mkOption { - description = - "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; + description = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; type = types.int; }; "lastScaleTime" = mkOption { - description = - "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed by this autoscaler."; + type = types.nullOr types.int; }; }; @@ -3855,36 +3431,32 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.MetricSpec" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricSource")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricSource"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource"); }; "type" = mkOption { description = '' @@ -3900,36 +3472,32 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.MetricStatus" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus"); }; "type" = mkOption { description = '' @@ -3945,28 +3513,24 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource" = { - options = { "averageValue" = mkOption { - description = - "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "metricName" = mkOption { description = "metricName is the name of the metric in question."; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "target" = mkOption { description = "target is the described Kubernetes object."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; "targetValue" = mkOption { description = "targetValue is the target value of the metric (as a quantity)."; @@ -3978,15 +3542,12 @@ let "averageValue" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus" = { - options = { "averageValue" = mkOption { - description = - "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "currentValue" = mkOption { description = "currentValue is the current value of the metric (as a quantity)."; @@ -3997,13 +3558,12 @@ let type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "target" = mkOption { description = "target is the described Kubernetes object."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; }; @@ -4011,36 +3571,29 @@ let "averageValue" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.PodsMetricSource" = { - options = { "metricName" = mkOption { description = "metricName is the name of the metric in question"; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "targetAverageValue" = mkOption { - description = - "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + description = "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; type = types.str; }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus" = { - options = { "currentAverageValue" = mkOption { - description = - "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + description = "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; type = types.str; }; "metricName" = mkOption { @@ -4048,31 +3601,27 @@ let type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource" = { - options = { "name" = mkOption { description = "name is the name of the resource in question."; type = types.str; }; "targetAverageUtilization" = mkOption { - description = - "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "targetAverageValue" = mkOption { description = '' targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4080,15 +3629,12 @@ let "targetAverageUtilization" = mkOverride 1002 null; "targetAverageValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus" = { - options = { "currentAverageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; + type = types.nullOr types.int; }; "currentAverageValue" = mkOption { description = '' @@ -4101,11 +3647,9 @@ let }; }; - config = { "currentAverageUtilization" = mkOverride 1002 null; }; - + config = {"currentAverageUtilization" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource" = { - options = { "container" = mkOption { description = "container is the name of the container in the pods of the scaling target"; @@ -4117,15 +3661,13 @@ let }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus" = { - options = { "container" = mkOption { description = "Container is the name of the container in the pods of the scaling target"; @@ -4133,7 +3675,7 @@ let }; "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "name" = mkOption { description = "Name is the name of the resource in question."; @@ -4141,15 +3683,13 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -4157,53 +3697,45 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource" = { - options = { "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy" = { - options = { "periodSeconds" = mkOption { - description = - "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."; + description = "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."; type = types.int; }; "type" = mkOption { @@ -4211,33 +3743,28 @@ let type = types.str; }; "value" = mkOption { - description = - "Value contains the amount of change which is permitted by the policy. It must be greater than zero"; + description = "Value contains the amount of change which is permitted by the policy. It must be greater than zero"; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.HPAScalingRules" = { - options = { "policies" = mkOption { - description = - "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy"))); + description = "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy")); }; "selectPolicy" = mkOption { - description = - "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."; - type = (types.nullOr types.str); + description = "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."; + type = types.nullOr types.str; }; "stabilizationWindowSeconds" = mkOption { - description = - "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."; - type = (types.nullOr types.int); + description = "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."; + type = types.nullOr types.int; }; }; @@ -4246,36 +3773,32 @@ let "selectPolicy" = mkOverride 1002 null; "stabilizationWindowSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec")); + description = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "status is the current information about the autoscaler."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus"); }; }; @@ -4286,15 +3809,12 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior" = { - options = { "scaleDown" = mkOption { - description = - "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules")); + description = "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules"); }; "scaleUp" = mkOption { description = '' @@ -4302,7 +3822,7 @@ let * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules"); }; }; @@ -4310,24 +3830,20 @@ let "scaleDown" = mkOverride 1002 null; "scaleUp" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another"; - type = (types.nullOr types.str); + description = "lastTransitionTime is the last time the condition transitioned from one status to another"; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable explanation containing details about the transition"; - type = (types.nullOr types.str); + description = "message is a human-readable explanation containing details about the transition"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason is the reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition (True, False, Unknown)"; @@ -4344,29 +3860,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of horizontal pod autoscaler objects."; type = - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler")); + types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata is the standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4375,37 +3887,31 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec" = { - options = { "behavior" = mkOption { - description = - "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior")); + description = "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior"); }; "maxReplicas" = mkOption { - description = - "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; + description = "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; type = types.int; }; "metrics" = mkOption { - description = - "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."; + description = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricSpec"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricSpec")); }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + description = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; }; @@ -4414,42 +3920,36 @@ let "metrics" = mkOverride 1002 null; "minReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus" = { - options = { "conditions" = mkOption { - description = - "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; - type = (types.listOf - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition")); + description = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; + type = + types.listOf + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition"); }; "currentMetrics" = mkOption { - description = - "currentMetrics is the last read state of the metrics used by this autoscaler."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricStatus"))); + description = "currentMetrics is the last read state of the metrics used by this autoscaler."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricStatus")); }; "currentReplicas" = mkOption { - description = - "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; + description = "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; type = types.int; }; "desiredReplicas" = mkOption { - description = - "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; + description = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; type = types.int; }; "lastScaleTime" = mkOption { - description = - "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed by this autoscaler."; + type = types.nullOr types.int; }; }; @@ -4458,53 +3958,46 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricIdentifier" = { - options = { "name" = mkOption { description = "name is the name of the given metric"; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.MetricSpec" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricSource")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricSource"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource"); }; "type" = mkOption { description = '' @@ -4520,36 +4013,32 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricStatus" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus"); }; "type" = mkOption { description = '' @@ -4565,29 +4054,24 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricTarget" = { - options = { "averageUtilization" = mkOption { - description = - "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type"; - type = (types.nullOr types.int); + description = "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type"; + type = types.nullOr types.int; }; "averageValue" = mkOption { - description = - "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "type" = mkOption { - description = - "type represents whether the metric type is Utilization, Value, or AverageValue"; + description = "type represents whether the metric type is Utilization, Value, or AverageValue"; type = types.str; }; "value" = mkOption { description = "value is the target value of the metric (as a quantity)."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4596,24 +4080,20 @@ let "averageValue" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricValueStatus" = { - options = { "averageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "averageValue" = mkOption { - description = - "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "value" = mkOption { description = "value is the current value of the metric (as a quantity)."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4622,82 +4102,72 @@ let "averageValue" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource" = { - options = { "describedObject" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "describedObject" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.PodsMetricSource" = { - options = { "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource" = { - options = { "name" = mkOption { description = "name is the name of the resource in question."; @@ -4705,19 +4175,17 @@ let }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "name" = mkOption { description = "Name is the name of the resource in question."; @@ -4725,36 +4193,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.batch.v1.Job" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; "status" = mkOption { - description = - "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobStatus")); + description = "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobStatus"); }; }; @@ -4765,26 +4226,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time the condition was checked."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transit from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -4802,29 +4261,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of Jobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1.Job")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1.Job"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4833,50 +4287,40 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobSpec" = { - options = { "activeDeadlineSeconds" = mkOption { - description = - "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer"; - type = (types.nullOr types.int); + description = "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer"; + type = types.nullOr types.int; }; "backoffLimit" = mkOption { - description = - "Specifies the number of retries before marking this job failed. Defaults to 6"; - type = (types.nullOr types.int); + description = "Specifies the number of retries before marking this job failed. Defaults to 6"; + type = types.nullOr types.int; }; "completions" = mkOption { - description = - "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr types.int); + description = "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = types.nullOr types.int; }; "manualSelector" = mkOption { - description = - "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector"; - type = (types.nullOr types.bool); + description = "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector"; + type = types.nullOr types.bool; }; "parallelism" = mkOption { - description = - "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr types.int); + description = "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "template" = mkOption { - description = - "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "ttlSecondsAfterFinished" = mkOption { - description = - "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature."; - type = (types.nullOr types.int); + description = "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature."; + type = types.nullOr types.int; }; }; @@ -4889,39 +4333,39 @@ let "selector" = mkOverride 1002 null; "ttlSecondsAfterFinished" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobStatus" = { - options = { "active" = mkOption { description = "The number of actively running pods."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "completionTime" = mkOption { - description = - "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully."; - type = (types.nullOr types.str); + description = "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = '' The latest available observations of an object's current state. When a job fails, one of the conditions will have type == "Failed". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/''; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "failed" = mkOption { description = "The number of pods which reached phase Failed."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "startTime" = mkOption { - description = - "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC."; - type = (types.nullOr types.str); + description = "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC."; + type = types.nullOr types.str; }; "succeeded" = mkOption { description = "The number of pods which reached phase Succeeded."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -4933,35 +4377,28 @@ let "startTime" = mkOverride 1002 null; "succeeded" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJob" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobSpec")); + description = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobSpec"); }; "status" = mkOption { - description = - "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobStatus")); + description = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobStatus"); }; }; @@ -4972,29 +4409,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CronJobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1beta1.CronJob")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1beta1.CronJob"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5003,43 +4435,37 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobSpec" = { - options = { "concurrencyPolicy" = mkOption { description = '' Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "failedJobsHistoryLimit" = mkOption { - description = - "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; - type = (types.nullOr types.int); + description = "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; + type = types.nullOr types.int; }; "jobTemplate" = mkOption { description = "Specifies the job that will be created when executing a CronJob."; - type = (submoduleOf "io.k8s.api.batch.v1beta1.JobTemplateSpec"); + type = submoduleOf "io.k8s.api.batch.v1beta1.JobTemplateSpec"; }; "schedule" = mkOption { description = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."; type = types.str; }; "startingDeadlineSeconds" = mkOption { - description = - "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; - type = (types.nullOr types.int); + description = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; + type = types.nullOr types.int; }; "successfulJobsHistoryLimit" = mkOption { - description = - "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."; - type = (types.nullOr types.int); + description = "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."; + type = types.nullOr types.int; }; "suspend" = mkOption { - description = - "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; - type = (types.nullOr types.bool); + description = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; + type = types.nullOr types.bool; }; }; @@ -5050,18 +4476,16 @@ let "successfulJobsHistoryLimit" = mkOverride 1002 null; "suspend" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobStatus" = { - options = { "active" = mkOption { description = "A list of pointers to currently running jobs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference")); }; "lastScheduleTime" = mkOption { description = "Information when was the last time the job was successfully scheduled."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -5069,20 +4493,16 @@ let "active" = mkOverride 1002 null; "lastScheduleTime" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.JobTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; }; @@ -5090,35 +4510,28 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJob" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobSpec")); + description = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobSpec"); }; "status" = mkOption { - description = - "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobStatus")); + description = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v2alpha1.CronJobStatus"); }; }; @@ -5129,29 +4542,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CronJobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v2alpha1.CronJob")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v2alpha1.CronJob"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5160,43 +4568,37 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJobSpec" = { - options = { "concurrencyPolicy" = mkOption { description = '' Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "failedJobsHistoryLimit" = mkOption { - description = - "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; - type = (types.nullOr types.int); + description = "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; + type = types.nullOr types.int; }; "jobTemplate" = mkOption { description = "Specifies the job that will be created when executing a CronJob."; - type = (submoduleOf "io.k8s.api.batch.v2alpha1.JobTemplateSpec"); + type = submoduleOf "io.k8s.api.batch.v2alpha1.JobTemplateSpec"; }; "schedule" = mkOption { description = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."; type = types.str; }; "startingDeadlineSeconds" = mkOption { - description = - "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; - type = (types.nullOr types.int); + description = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; + type = types.nullOr types.int; }; "successfulJobsHistoryLimit" = mkOption { - description = - "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; - type = (types.nullOr types.int); + description = "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified."; + type = types.nullOr types.int; }; "suspend" = mkOption { - description = - "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; - type = (types.nullOr types.bool); + description = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; + type = types.nullOr types.bool; }; }; @@ -5207,18 +4609,16 @@ let "successfulJobsHistoryLimit" = mkOverride 1002 null; "suspend" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.CronJobStatus" = { - options = { "active" = mkOption { description = "A list of pointers to currently running jobs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference")); }; "lastScheduleTime" = mkOption { description = "Information when was the last time the job was successfully scheduled."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -5226,20 +4626,16 @@ let "active" = mkOverride 1002 null; "lastScheduleTime" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v2alpha1.JobTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; }; @@ -5247,35 +4643,30 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users."; - type = (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestSpec"); + description = "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users."; + type = submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestSpec"; }; "status" = mkOption { - description = - "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestStatus")); + description = "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure."; + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestStatus"); }; }; @@ -5285,28 +4676,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; - type = (types.nullOr types.str); + description = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "lastUpdateTime is the time of the last update to this condition"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message contains a human readable message with details about the request state"; - type = (types.nullOr types.str); + description = "message contains a human readable message with details about the request state"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason indicates a brief reason for the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' @@ -5336,29 +4723,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a collection of CertificateSigningRequest objects"; type = - (types.listOf (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequest")); + types.listOf (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequest"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5367,20 +4750,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestSpec" = { - options = { "extra" = mkOption { - description = - "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr (types.loaOf types.str)); + description = "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { - description = - "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr (types.listOf types.str)); + description = "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr (types.listOf types.str); }; "request" = mkOption { description = '' @@ -5413,9 +4792,8 @@ let type = types.str; }; "uid" = mkOption { - description = - "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr types.str); + description = "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr types.str; }; "usages" = mkOption { description = '' @@ -5433,12 +4811,11 @@ let "code signing", "email protection", "s/mime", "ipsec end system", "ipsec tunnel", "ipsec user", "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "username" = mkOption { - description = - "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr types.str); + description = "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr types.str; }; }; @@ -5449,10 +4826,8 @@ let "usages" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestStatus" = { - options = { "certificate" = mkOption { description = '' @@ -5478,13 +4853,14 @@ let ... -----END CERTIFICATE----- )''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "conditions" = mkOption { description = '' conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestCondition")); }; }; @@ -5492,34 +4868,32 @@ let "certificate" = mkOverride 1002 null; "conditions" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "The certificate request itself and any additional information."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec"); }; "status" = mkOption { description = "Derived information about the request."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus"); }; }; @@ -5530,36 +4904,32 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; - type = (types.nullOr types.str); + description = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "timestamp for the last update to this condition"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "human readable message with details about the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "brief reason for the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown". Defaults to "True". If unset, should be treated as "True".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { - description = - ''type of the condition. Known conditions include "Approved", "Denied", and "Failed".''; + description = ''type of the condition. Known conditions include "Approved", "Denied", and "Failed".''; type = types.str; }; }; @@ -5571,29 +4941,26 @@ let "reason" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequest")); + type = + types.listOf + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequest"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5602,20 +4969,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec" = { - options = { "extra" = mkOption { - description = - "Extra information about the requesting user. See user.Info interface for details."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra information about the requesting user. See user.Info interface for details."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { - description = - "Group information about the requesting user. See user.Info interface for details."; - type = (types.nullOr (types.listOf types.str)); + description = "Group information about the requesting user. See user.Info interface for details."; + type = types.nullOr (types.listOf types.str); }; "request" = mkOption { description = "Base64-encoded PKCS#10 CSR data"; @@ -5630,12 +4993,11 @@ let "kubernetes.io/kubelet-serving". 3. Otherwise, it is assigned "kubernetes.io/legacy-unknown". Distribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID information about the requesting user. See user.Info interface for details."; - type = (types.nullOr types.str); + description = "UID information about the requesting user. See user.Info interface for details."; + type = types.nullOr types.str; }; "usages" = mkOption { description = '' @@ -5665,12 +5027,11 @@ let "ocsp signing", "microsoft sgc", "netscape sgc"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "username" = mkOption { - description = - "Information about the requesting user. See user.Info interface for details."; - type = (types.nullOr types.str); + description = "Information about the requesting user. See user.Info interface for details."; + type = types.nullOr types.str; }; }; @@ -5682,20 +5043,18 @@ let "usages" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus" = { - options = { "certificate" = mkOption { - description = - "If request was approved, the controller will place the issued certificate here."; - type = (types.nullOr types.str); + description = "If request was approved, the controller will place the issued certificate here."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "Conditions applied to the request, such as approval or denial."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition")); }; }; @@ -5703,30 +5062,24 @@ let "certificate" = mkOverride 1002 null; "conditions" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.Lease" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.coordination.v1.LeaseSpec")); + description = "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.coordination.v1.LeaseSpec"); }; }; @@ -5736,29 +5089,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.LeaseList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.coordination.v1.Lease")); + type = types.listOf (submoduleOf "io.k8s.api.coordination.v1.Lease"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5767,32 +5115,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.LeaseSpec" = { - options = { "acquireTime" = mkOption { description = "acquireTime is a time when the current lease was acquired."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "holderIdentity" = mkOption { description = "holderIdentity contains the identity of the holder of a current lease."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "leaseDurationSeconds" = mkOption { - description = - "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; - type = (types.nullOr types.int); + description = "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; + type = types.nullOr types.int; }; "leaseTransitions" = mkOption { description = "leaseTransitions is the number of transitions of a lease between holders."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "renewTime" = mkOption { - description = - "renewTime is a time when the current holder of a lease has last updated the lease."; - type = (types.nullOr types.str); + description = "renewTime is a time when the current holder of a lease has last updated the lease."; + type = types.nullOr types.str; }; }; @@ -5803,30 +5147,24 @@ let "leaseTransitions" = mkOverride 1002 null; "renewTime" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.Lease" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.coordination.v1beta1.LeaseSpec")); + description = "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.coordination.v1beta1.LeaseSpec"); }; }; @@ -5836,29 +5174,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.LeaseList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.coordination.v1beta1.Lease")); + type = types.listOf (submoduleOf "io.k8s.api.coordination.v1beta1.Lease"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5867,32 +5200,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.LeaseSpec" = { - options = { "acquireTime" = mkOption { description = "acquireTime is a time when the current lease was acquired."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "holderIdentity" = mkOption { description = "holderIdentity contains the identity of the holder of a current lease."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "leaseDurationSeconds" = mkOption { - description = - "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; - type = (types.nullOr types.int); + description = "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; + type = types.nullOr types.int; }; "leaseTransitions" = mkOption { description = "leaseTransitions is the number of transitions of a lease between holders."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "renewTime" = mkOption { - description = - "renewTime is a time when the current holder of a lease has last updated the lease."; - type = (types.nullOr types.str); + description = "renewTime is a time when the current holder of a lease has last updated the lease."; + type = types.nullOr types.str; }; }; @@ -5903,29 +5232,26 @@ let "leaseTransitions" = mkOverride 1002 null; "renewTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "partition" = mkOption { description = '' The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readOnly" = mkOption { description = '' Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "volumeID" = mkOption { - description = - "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + description = "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; type = types.str; }; }; @@ -5935,24 +5261,20 @@ let "partition" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Affinity" = { - options = { "nodeAffinity" = mkOption { description = "Describes node affinity scheduling rules for the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeAffinity")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeAffinity"); }; "podAffinity" = mkOption { - description = - "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAffinity")); + description = "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAffinity"); }; "podAntiAffinity" = mkOption { - description = - "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAntiAffinity")); + description = "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAntiAffinity"); }; }; @@ -5961,14 +5283,11 @@ let "podAffinity" = mkOverride 1002 null; "podAntiAffinity" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AttachedVolume" = { - options = { "devicePath" = mkOption { - description = - "DevicePath represents the device path where the volume should be available"; + description = "DevicePath represents the device path where the volume should be available"; type = types.str; }; "name" = mkOption { @@ -5977,15 +5296,13 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.AzureDiskVolumeSource" = { - options = { "cachingMode" = mkOption { description = "Host Caching mode: None, Read Only, Read Write."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "diskName" = mkOption { description = "The Name of the data disk in the blob storage"; @@ -5998,17 +5315,15 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"; - type = (types.nullOr types.str); + description = "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; }; @@ -6018,24 +5333,20 @@ let "kind" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AzureFilePersistentVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretName" = mkOption { description = "the name of secret that contains Azure Storage Account Name and Key"; type = types.str; }; "secretNamespace" = mkOption { - description = - "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"; - type = (types.nullOr types.str); + description = "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"; + type = types.nullOr types.str; }; "shareName" = mkOption { description = "Share Name"; @@ -6047,15 +5358,12 @@ let "readOnly" = mkOverride 1002 null; "secretNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AzureFileVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretName" = mkOption { description = "the name of secret that contains Azure Storage Account Name and Key"; @@ -6067,30 +5375,25 @@ let }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Binding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "target" = mkOption { description = "The target object that you want to bind to the standard object."; - type = (submoduleOf "io.k8s.api.core.v1.ObjectReference"); + type = submoduleOf "io.k8s.api.core.v1.ObjectReference"; }; }; @@ -6099,20 +5402,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CSIPersistentVolumeSource" = { - options = { "controllerExpandSecretRef" = mkOption { - description = - "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "controllerPublishSecretRef" = mkOption { - description = - "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "driver" = mkOption { description = "Driver is the name of the driver to use for this volume. Required."; @@ -6121,30 +5420,26 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "nodePublishSecretRef" = mkOption { - description = - "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "nodeStageSecretRef" = mkOption { - description = - "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "readOnly" = mkOption { - description = - "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeAttributes" = mkOption { description = "Attributes of the volume to publish."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "volumeHandle" = mkOption { - description = - "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."; + description = "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."; type = types.str; }; }; @@ -6158,35 +5453,29 @@ let "readOnly" = mkOverride 1002 null; "volumeAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CSIVolumeSource" = { - options = { "driver" = mkOption { - description = - "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."; + description = "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."; type = types.str; }; "fsType" = mkOption { description = '' Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "nodePublishSecretRef" = mkOption { - description = - "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "readOnly" = mkOption { - description = - "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeAttributes" = mkOption { - description = - "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."; - type = (types.nullOr (types.attrsOf types.str)); + description = "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -6196,18 +5485,16 @@ let "readOnly" = mkOverride 1002 null; "volumeAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Capabilities" = { - options = { "add" = mkOption { description = "Added capabilities"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "drop" = mkOption { description = "Removed capabilities"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -6215,40 +5502,32 @@ let "add" = mkOverride 1002 null; "drop" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CephFSPersistentVolumeSource" = { - options = { "monitors" = mkOption { - description = - "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.listOf types.str; }; "path" = mkOption { - description = - "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; - type = (types.nullOr types.str); + description = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretFile" = mkOption { - description = - "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "user" = mkOption { - description = - "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -6259,40 +5538,32 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CephFSVolumeSource" = { - options = { "monitors" = mkOption { - description = - "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.listOf types.str; }; "path" = mkOption { - description = - "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; - type = (types.nullOr types.str); + description = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretFile" = mkOption { - description = - "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "user" = mkOption { - description = - "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -6303,29 +5574,24 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CinderPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: points to a secret object containing parameters used to connect to OpenStack."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: points to a secret object containing parameters used to connect to OpenStack."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "volumeID" = mkOption { - description = - "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + description = "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; type = types.str; }; }; @@ -6335,29 +5601,24 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CinderVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: points to a secret object containing parameters used to connect to OpenStack."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: points to a secret object containing parameters used to connect to OpenStack."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "volumeID" = mkOption { - description = - "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + description = "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; type = types.str; }; }; @@ -6367,33 +5628,27 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ClientIPConfig" = { - options = { "timeoutSeconds" = mkOption { description = '' timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "timeoutSeconds" = mkOverride 1002 null; }; - + config = {"timeoutSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ComponentCondition" = { - options = { "error" = mkOption { - description = - "Condition error code for a component. For example, a health check error code."; - type = (types.nullOr types.str); + description = "Condition error code for a component. For example, a health check error code."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "Message about the condition for a component. For example, information about a health check."; - type = (types.nullOr types.str); + description = "Message about the condition for a component. For example, information about a health check."; + type = types.nullOr types.str; }; "status" = mkOption { description = '' @@ -6410,31 +5665,30 @@ let "error" = mkOverride 1002 null; "message" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ComponentStatus" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "List of component conditions observed"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -6444,29 +5698,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ComponentStatusList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ComponentStatus objects."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ComponentStatus")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ComponentStatus"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -6475,40 +5724,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMap" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "binaryData" = mkOption { - description = - "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet."; - type = (types.nullOr (types.attrsOf types.str)); + description = "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet."; + type = types.nullOr (types.attrsOf types.str); }; "data" = mkOption { - description = - "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process."; + type = types.nullOr (types.attrsOf types.str); }; "immutable" = mkOption { - description = - "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; - type = (types.nullOr types.bool); + description = "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -6520,19 +5761,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapEnvSource" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6540,23 +5778,20 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapKeySelector" = { - options = { "key" = mkOption { description = "The key to select."; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6564,29 +5799,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of ConfigMaps."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ConfigMap")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ConfigMap"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -6595,35 +5825,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapNodeConfigSource" = { - options = { "kubeletConfigKey" = mkOption { - description = - "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."; + description = "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."; type = types.str; }; "name" = mkOption { - description = - "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."; + description = "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."; type = types.str; }; "namespace" = mkOption { - description = - "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."; + description = "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."; type = types.str; }; "resourceVersion" = mkOption { - description = - "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; - type = (types.nullOr types.str); + description = "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; - type = (types.nullOr types.str); + description = "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; + type = types.nullOr types.str; }; }; @@ -6631,24 +5854,20 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapProjection" = { - options = { "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6657,29 +5876,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6689,126 +5903,121 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Container" = { - options = { "args" = mkOption { - description = - "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "command" = mkOption { - description = - "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "env" = mkOption { description = "List of environment variables to set in the container. Cannot be updated."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "envFrom" = mkOption { - description = - "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "image" = mkOption { - description = - "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."; - type = (types.nullOr types.str); + description = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."; + type = types.nullOr types.str; }; "imagePullPolicy" = mkOption { - description = - "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; - type = (types.nullOr types.str); + description = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; + type = types.nullOr types.str; }; "lifecycle" = mkOption { - description = - "Actions that the management system should take in response to container lifecycle events. Cannot be updated."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle")); + description = "Actions that the management system should take in response to container lifecycle events. Cannot be updated."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle"); }; "livenessProbe" = mkOption { - description = - "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "name" = mkOption { - description = - "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."; + description = "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."; type = types.str; }; "ports" = mkOption { description = '' List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated.''; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ContainerPort" - "containerPort")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "containerPort"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "readinessProbe" = mkOption { - description = - "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "resources" = mkOption { - description = - "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "securityContext" = mkOption { - description = - "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext")); + description = "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext"); }; "startupProbe" = mkOption { - description = - "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "stdin" = mkOption { - description = - "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; + type = types.nullOr types.bool; }; "stdinOnce" = mkOption { - description = - "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; - type = (types.nullOr types.bool); + description = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; + type = types.nullOr types.bool; }; "terminationMessagePath" = mkOption { - description = - "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; - type = (types.nullOr types.str); + description = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; + type = types.nullOr types.str; }; "terminationMessagePolicy" = mkOption { - description = - "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; - type = (types.nullOr types.str); + description = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; + type = types.nullOr types.str; }; "tty" = mkOption { - description = - "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; + type = types.nullOr types.bool; }; "volumeDevices" = mkOption { description = "volumeDevices is the list of block devices to be used by the container."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumeMounts" = mkOption { description = "Pod volumes to mount into the container's filesystem. Cannot be updated."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "workingDir" = mkOption { - description = - "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; - type = (types.nullOr types.str); + description = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; + type = types.nullOr types.str; }; }; @@ -6835,50 +6044,43 @@ let "volumeMounts" = mkOverride 1002 null; "workingDir" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerImage" = { - options = { "names" = mkOption { description = '' Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "sizeBytes" = mkOption { description = "The size of the image in bytes."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "sizeBytes" = mkOverride 1002 null; }; - + config = {"sizeBytes" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ContainerPort" = { - options = { "containerPort" = mkOption { - description = - "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."; + description = "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."; type = types.int; }; "hostIP" = mkOption { description = "What host IP to bind the external port to."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "hostPort" = mkOption { - description = - "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."; - type = (types.nullOr types.int); + description = "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."; + type = types.nullOr types.int; }; "name" = mkOption { - description = - "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."; - type = (types.nullOr types.str); + description = "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."; + type = types.nullOr types.str; }; "protocol" = mkOption { description = ''Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6888,22 +6090,20 @@ let "name" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerState" = { - options = { "running" = mkOption { description = "Details about a running container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateRunning")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateRunning"); }; "terminated" = mkOption { description = "Details about a terminated container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateTerminated")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateTerminated"); }; "waiting" = mkOption { description = "Details about a waiting container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateWaiting")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateWaiting"); }; }; @@ -6912,26 +6112,22 @@ let "terminated" = mkOverride 1002 null; "waiting" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStateRunning" = { - options = { "startedAt" = mkOption { description = "Time at which the container was last (re-)started"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "startedAt" = mkOverride 1002 null; }; - + config = {"startedAt" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ContainerStateTerminated" = { - options = { "containerID" = mkOption { description = "Container's ID in the format 'docker://'"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "exitCode" = mkOption { description = "Exit status from the last termination of the container"; @@ -6939,23 +6135,23 @@ let }; "finishedAt" = mkOption { description = "Time at which the container last terminated"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Message regarding the last termination of the container"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason from the last termination of the container"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "signal" = mkOption { description = "Signal from the last termination of the container"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "startedAt" = mkOption { description = "Time at which previous execution of the container started"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6967,18 +6163,16 @@ let "signal" = mkOverride 1002 null; "startedAt" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStateWaiting" = { - options = { "message" = mkOption { description = "Message regarding why the container is not yet running."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason the container is not yet running."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6986,18 +6180,15 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStatus" = { - options = { "containerID" = mkOption { description = "Container's ID in the format 'docker://'."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"; + description = "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"; type = types.str; }; "imageID" = mkOption { @@ -7006,11 +6197,10 @@ let }; "lastState" = mkOption { description = "Details about the container's last termination condition."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState"); }; "name" = mkOption { - description = - "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."; + description = "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."; type = types.str; }; "ready" = mkOption { @@ -7018,18 +6208,16 @@ let type = types.bool; }; "restartCount" = mkOption { - description = - "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC."; + description = "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC."; type = types.int; }; "started" = mkOption { - description = - "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."; - type = (types.nullOr types.bool); + description = "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."; + type = types.nullOr types.bool; }; "state" = mkOption { description = "Details about the container's current condition."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState"); }; }; @@ -7039,10 +6227,8 @@ let "started" = mkOverride 1002 null; "state" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.DaemonEndpoint" = { - options = { "Port" = mkOption { description = "Port number of the given endpoint."; @@ -7050,44 +6236,36 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.DownwardAPIProjection" = { - options = { "items" = mkOption { description = "Items is a list of DownwardAPIVolume file"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile")); }; }; - config = { "items" = mkOverride 1002 null; }; - + config = {"items" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.DownwardAPIVolumeFile" = { - options = { "fieldRef" = mkOption { - description = - "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector")); + description = "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector"); }; "mode" = mkOption { - description = - "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"; + description = "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"; type = types.str; }; "resourceFieldRef" = mkOption { - description = - "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector")); + description = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector"); }; }; @@ -7096,20 +6274,17 @@ let "mode" = mkOverride 1002 null; "resourceFieldRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.DownwardAPIVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { description = "Items is a list of downward API volume file"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile")); }; }; @@ -7117,20 +6292,17 @@ let "defaultMode" = mkOverride 1002 null; "items" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EmptyDirVolumeSource" = { - options = { "medium" = mkOption { description = '' What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "sizeLimit" = mkOption { - description = - "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"; - type = (types.nullOr types.str); + description = "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"; + type = types.nullOr types.str; }; }; @@ -7138,28 +6310,24 @@ let "medium" = mkOverride 1002 null; "sizeLimit" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointAddress" = { - options = { "hostname" = mkOption { description = "The Hostname of this endpoint"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ip" = mkOption { - description = - "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."; + description = "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."; type = types.str; }; "nodeName" = mkOption { - description = - "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."; - type = (types.nullOr types.str); + description = "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."; + type = types.nullOr types.str; }; "targetRef" = mkOption { description = "Reference to object providing the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; }; @@ -7168,20 +6336,16 @@ let "nodeName" = mkOverride 1002 null; "targetRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."; - type = (types.nullOr types.str); + description = "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."; + type = types.nullOr types.str; }; "port" = mkOption { description = "The port number of the endpoint."; @@ -7189,7 +6353,7 @@ let }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7198,24 +6362,20 @@ let "name" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointSubset" = { - options = { "addresses" = mkOption { - description = - "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress"))); + description = "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress")); }; "notReadyAddresses" = mkOption { - description = - "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress"))); + description = "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress")); }; "ports" = mkOption { description = "Port numbers available on the related IP addresses."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointPort")); }; }; @@ -7224,30 +6384,24 @@ let "notReadyAddresses" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Endpoints" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "subsets" = mkOption { - description = - "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointSubset"))); + description = "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointSubset")); }; }; @@ -7257,29 +6411,24 @@ let "metadata" = mkOverride 1002 null; "subsets" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointsList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Endpoints")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Endpoints"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -7288,23 +6437,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvFromSource" = { - options = { "configMapRef" = mkOption { description = "The ConfigMap to select from"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapEnvSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapEnvSource"); }; "prefix" = mkOption { - description = - "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."; - type = (types.nullOr types.str); + description = "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."; + type = types.nullOr types.str; }; "secretRef" = mkOption { description = "The Secret to select from"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretEnvSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretEnvSource"); }; }; @@ -7313,10 +6459,8 @@ let "prefix" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvVar" = { - options = { "name" = mkOption { description = "Name of the environment variable. Must be a C_IDENTIFIER."; @@ -7325,12 +6469,11 @@ let "value" = mkOption { description = '' Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "valueFrom" = mkOption { - description = - "Source for the environment variable's value. Cannot be used if value is not empty."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EnvVarSource")); + description = "Source for the environment variable's value. Cannot be used if value is not empty."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EnvVarSource"); }; }; @@ -7338,28 +6481,24 @@ let "value" = mkOverride 1002 null; "valueFrom" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvVarSource" = { - options = { "configMapKeyRef" = mkOption { description = "Selects a key of a ConfigMap."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapKeySelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapKeySelector"); }; "fieldRef" = mkOption { - description = - "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector")); + description = "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector"); }; "resourceFieldRef" = mkOption { - description = - "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector")); + description = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector"); }; "secretKeyRef" = mkOption { description = "Selects a key of a secret in the pod's namespace"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretKeySelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretKeySelector"); }; }; @@ -7369,122 +6508,117 @@ let "resourceFieldRef" = mkOverride 1002 null; "secretKeyRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralContainer" = { - options = { "args" = mkOption { - description = - "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "command" = mkOption { - description = - "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "env" = mkOption { description = "List of environment variables to set in the container. Cannot be updated."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "envFrom" = mkOption { - description = - "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "image" = mkOption { - description = - "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"; - type = (types.nullOr types.str); + description = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"; + type = types.nullOr types.str; }; "imagePullPolicy" = mkOption { - description = - "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; - type = (types.nullOr types.str); + description = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; + type = types.nullOr types.str; }; "lifecycle" = mkOption { description = "Lifecycle is not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle"); }; "livenessProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "name" = mkOption { - description = - "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."; + description = "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."; type = types.str; }; "ports" = mkOption { description = "Ports are not allowed for ephemeral containers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerPort")); }; "readinessProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "resources" = mkOption { - description = - "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "securityContext" = mkOption { description = "SecurityContext is not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext"); }; "startupProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "stdin" = mkOption { - description = - "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; + type = types.nullOr types.bool; }; "stdinOnce" = mkOption { - description = - "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; - type = (types.nullOr types.bool); + description = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; + type = types.nullOr types.bool; }; "targetContainerName" = mkOption { - description = - "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."; - type = (types.nullOr types.str); + description = "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."; + type = types.nullOr types.str; }; "terminationMessagePath" = mkOption { - description = - "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; - type = (types.nullOr types.str); + description = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; + type = types.nullOr types.str; }; "terminationMessagePolicy" = mkOption { - description = - "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; - type = (types.nullOr types.str); + description = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; + type = types.nullOr types.str; }; "tty" = mkOption { - description = - "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; + type = types.nullOr types.bool; }; "volumeDevices" = mkOption { description = "volumeDevices is the list of block devices to be used by the container."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumeMounts" = mkOption { description = "Pod volumes to mount into the container's filesystem. Cannot be updated."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "workingDir" = mkOption { - description = - "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; - type = (types.nullOr types.str); + description = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; + type = types.nullOr types.str; }; }; @@ -7512,15 +6646,12 @@ let "volumeMounts" = mkOverride 1002 null; "workingDir" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeClaimTemplate" = mkOption { description = '' @@ -7531,7 +6662,7 @@ let This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. Required, must not be nil.''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimTemplate")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimTemplate"); }; }; @@ -7539,87 +6670,76 @@ let "readOnly" = mkOverride 1002 null; "volumeClaimTemplate" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Event" = { - options = { "action" = mkOption { description = "What action was taken/failed regarding to the Regarding object."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "count" = mkOption { description = "The number of times this event has occurred."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "eventTime" = mkOption { description = "Time when this Event was first observed."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "firstTimestamp" = mkOption { - description = - "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"; - type = (types.nullOr types.str); + description = "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"; + type = types.nullOr types.str; }; "involvedObject" = mkOption { description = "The object that this event is about."; - type = (submoduleOf "io.k8s.api.core.v1.ObjectReference"); + type = submoduleOf "io.k8s.api.core.v1.ObjectReference"; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "lastTimestamp" = mkOption { description = "The time at which the most recent occurrence of this event was recorded."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human-readable description of the status of this operation."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"; }; "reason" = mkOption { - description = - "This should be a short, machine understandable string that gives the reason for the transition into the object's current status."; - type = (types.nullOr types.str); + description = "This should be a short, machine understandable string that gives the reason for the transition into the object's current status."; + type = types.nullOr types.str; }; "related" = mkOption { description = "Optional secondary object for more complex actions."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingComponent" = mkOption { - description = - "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."; - type = (types.nullOr types.str); + description = "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { description = "ID of the controller instance, e.g. `kubelet-xyzf`."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "series" = mkOption { - description = - "Data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSeries")); + description = "Data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSeries"); }; "source" = mkOption { - description = - "The component reporting this event. Should be a short machine understandable string."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "The component reporting this event. Should be a short machine understandable string."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "type" = mkOption { - description = - "Type of this event (Normal, Warning), new types could be added in the future"; - type = (types.nullOr types.str); + description = "Type of this event (Normal, Warning), new types could be added in the future"; + type = types.nullOr types.str; }; }; @@ -7640,29 +6760,24 @@ let "source" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of events"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -7671,18 +6786,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventSeries" = { - options = { "count" = mkOption { description = "Number of occurrences in this series up to the last heartbeat time"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "lastObservedTime" = mkOption { description = "Time of the last occurrence observed"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7690,18 +6803,16 @@ let "count" = mkOverride 1002 null; "lastObservedTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventSource" = { - options = { "component" = mkOption { description = "Component from which the event is generated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "host" = mkOption { description = "Node name on which the event is generated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7709,46 +6820,39 @@ let "component" = mkOverride 1002 null; "host" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ExecAction" = { - options = { "command" = mkOption { - description = - "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."; - type = (types.nullOr (types.listOf types.str)); + description = "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "command" = mkOverride 1002 null; }; - + config = {"command" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.FCVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lun" = mkOption { description = "Optional: FC target lun number"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "targetWWNs" = mkOption { description = "Optional: FC target worldwide names (WWNs)"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "wwids" = mkOption { - description = - "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."; - type = (types.nullOr (types.listOf types.str)); + description = "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."; + type = types.nullOr (types.listOf types.str); }; }; @@ -7759,10 +6863,8 @@ let "targetWWNs" = mkOverride 1002 null; "wwids" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlexPersistentVolumeSource" = { - options = { "driver" = mkOption { description = "Driver is the name of the driver to use for this volume."; @@ -7771,21 +6873,19 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "options" = mkOption { description = "Optional: Extra command options if any."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; }; @@ -7795,10 +6895,8 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlexVolumeSource" = { - options = { "driver" = mkOption { description = "Driver is the name of the driver to use for this volume."; @@ -7807,21 +6905,19 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "options" = mkOption { description = "Optional: Extra command options if any."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; }; @@ -7831,19 +6927,16 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlockerVolumeSource" = { - options = { "datasetName" = mkOption { - description = - "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"; - type = (types.nullOr types.str); + description = "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"; + type = types.nullOr types.str; }; "datasetUUID" = mkOption { description = "UUID of the dataset. This is unique identifier of a Flocker dataset"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7851,30 +6944,26 @@ let "datasetName" = mkOverride 1002 null; "datasetUUID" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "partition" = mkOption { description = '' The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "pdName" = mkOption { - description = - "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + description = "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr types.bool; }; }; @@ -7883,15 +6972,12 @@ let "partition" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GitRepoVolumeSource" = { - options = { "directory" = mkOption { - description = - "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."; - type = (types.nullOr types.str); + description = "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."; + type = types.nullOr types.str; }; "repository" = mkOption { description = "Repository URL"; @@ -7899,7 +6985,7 @@ let }; "revision" = mkOption { description = "Commit hash for the specified revision."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7907,30 +6993,24 @@ let "directory" = mkOverride 1002 null; "revision" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource" = { - options = { "endpoints" = mkOption { - description = - "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "endpointsNamespace" = mkOption { - description = - "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.str); + description = "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.str; }; "path" = mkOption { - description = - "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.bool; }; }; @@ -7938,55 +7018,47 @@ let "endpointsNamespace" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GlusterfsVolumeSource" = { - options = { "endpoints" = mkOption { - description = - "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "path" = mkOption { - description = - "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.bool; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.HTTPGetAction" = { - options = { "host" = mkOption { description = '' Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "httpHeaders" = mkOption { description = "Custom headers to set in the request. HTTP allows repeated headers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.HTTPHeader"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.HTTPHeader")); }; "path" = mkOption { description = "Path to access on the HTTP server."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; - type = (types.either types.int types.str); + description = "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; + type = types.either types.int types.str; }; "scheme" = mkOption { description = "Scheme to use for connecting to the host. Defaults to HTTP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7996,10 +7068,8 @@ let "path" = mkOverride 1002 null; "scheme" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HTTPHeader" = { - options = { "name" = mkOption { description = "The header field name"; @@ -8011,25 +7081,21 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.Handler" = { - options = { "exec" = mkOption { - description = - "One and only one of the following should be specified. Exec specifies the action to take."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction")); + description = "One and only one of the following should be specified. Exec specifies the action to take."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction"); }; "httpGet" = mkOption { description = "HTTPGet specifies the http request to perform."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction"); }; "tcpSocket" = mkOption { - description = - "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction")); + description = "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction"); }; }; @@ -8038,18 +7104,16 @@ let "httpGet" = mkOverride 1002 null; "tcpSocket" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HostAlias" = { - options = { "hostnames" = mkOption { description = "Hostnames for the above IP address."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ip" = mkOption { description = "IP address of the host file entry."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -8057,77 +7121,67 @@ let "hostnames" = mkOverride 1002 null; "ip" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HostPathVolumeSource" = { - options = { "path" = mkOption { - description = - "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + description = "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; type = types.str; }; "type" = mkOption { description = '' Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "type" = mkOverride 1002 null; }; - + config = {"type" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ISCSIPersistentVolumeSource" = { - options = { "chapAuthDiscovery" = mkOption { description = "whether support iSCSI Discovery CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "chapAuthSession" = mkOption { description = "whether support iSCSI Session CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "initiatorName" = mkOption { - description = - "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; - type = (types.nullOr types.str); + description = "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; + type = types.nullOr types.str; }; "iqn" = mkOption { description = "Target iSCSI Qualified Name."; type = types.str; }; "iscsiInterface" = mkOption { - description = - "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; - type = (types.nullOr types.str); + description = "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; + type = types.nullOr types.str; }; "lun" = mkOption { description = "iSCSI Target Lun number."; type = types.int; }; "portals" = mkOption { - description = - "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; - type = (types.nullOr (types.listOf types.str)); + description = "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + type = types.nullOr (types.listOf types.str); }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { description = "CHAP Secret for iSCSI target and initiator authentication"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "targetPortal" = mkOption { - description = - "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + description = "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; type = types.str; }; }; @@ -8142,59 +7196,52 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ISCSIVolumeSource" = { - options = { "chapAuthDiscovery" = mkOption { description = "whether support iSCSI Discovery CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "chapAuthSession" = mkOption { description = "whether support iSCSI Session CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "initiatorName" = mkOption { - description = - "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; - type = (types.nullOr types.str); + description = "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; + type = types.nullOr types.str; }; "iqn" = mkOption { description = "Target iSCSI Qualified Name."; type = types.str; }; "iscsiInterface" = mkOption { - description = - "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; - type = (types.nullOr types.str); + description = "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; + type = types.nullOr types.str; }; "lun" = mkOption { description = "iSCSI Target Lun number."; type = types.int; }; "portals" = mkOption { - description = - "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; - type = (types.nullOr (types.listOf types.str)); + description = "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + type = types.nullOr (types.listOf types.str); }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { description = "CHAP Secret for iSCSI target and initiator authentication"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "targetPortal" = mkOption { - description = - "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + description = "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; type = types.str; }; }; @@ -8209,42 +7256,34 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.KeyToPath" = { - options = { "key" = mkOption { description = "The key to project."; type = types.str; }; "mode" = mkOption { - description = - "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."; + description = "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."; type = types.str; }; }; - config = { "mode" = mkOverride 1002 null; }; - + config = {"mode" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Lifecycle" = { - options = { "postStart" = mkOption { - description = - "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler")); + description = "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler"); }; "preStop" = mkOption { - description = - "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler")); + description = "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler"); }; }; @@ -8252,30 +7291,24 @@ let "postStart" = mkOverride 1002 null; "preStop" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRange" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LimitRangeSpec")); + description = "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LimitRangeSpec"); }; }; @@ -8285,33 +7318,28 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeItem" = { - options = { "default" = mkOption { - description = - "Default resource requirement limit value by resource name if resource limit is omitted."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Default resource requirement limit value by resource name if resource limit is omitted."; + type = types.nullOr (types.attrsOf types.str); }; "defaultRequest" = mkOption { - description = - "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."; + type = types.nullOr (types.attrsOf types.str); }; "max" = mkOption { description = "Max usage constraints on this kind by resource name."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "maxLimitRequestRatio" = mkOption { - description = - "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource."; - type = (types.nullOr (types.attrsOf types.str)); + description = "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource."; + type = types.nullOr (types.attrsOf types.str); }; "min" = mkOption { description = "Min usage constraints on this kind by resource name."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "type" = mkOption { description = "Type of resource that this limit applies to."; @@ -8326,30 +7354,24 @@ let "maxLimitRequestRatio" = mkOverride 1002 null; "min" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRange")); + description = "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRange"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8358,37 +7380,30 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeSpec" = { - options = { "limits" = mkOption { description = "Limits is the list of LimitRangeItem objects that are enforced."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRangeItem")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRangeItem"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.LoadBalancerIngress" = { - options = { "hostname" = mkOption { - description = - "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"; - type = (types.nullOr types.str); + description = "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"; + type = types.nullOr types.str; }; "ip" = mkOption { - description = - "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"; - type = (types.nullOr types.str); + description = "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"; + type = types.nullOr types.str; }; "ports" = mkOption { - description = - "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PortStatus"))); + description = "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PortStatus")); }; }; @@ -8397,103 +7412,82 @@ let "ip" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LoadBalancerStatus" = { - options = { "ingress" = mkOption { - description = - "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."; + description = "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LoadBalancerIngress"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LoadBalancerIngress")); }; }; - config = { "ingress" = mkOverride 1002 null; }; - + config = {"ingress" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.LocalObjectReference" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; }; - config = { "name" = mkOverride 1002 null; }; - + config = {"name" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.LocalVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a fileystem if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "path" = mkOption { - description = - "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."; + description = "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."; type = types.str; }; }; - config = { "fsType" = mkOverride 1002 null; }; - + config = {"fsType" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NFSVolumeSource" = { - options = { "path" = mkOption { - description = - "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + description = "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr types.bool; }; "server" = mkOption { - description = - "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + description = "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; type = types.str; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Namespace" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceSpec")); + description = "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceSpec"); }; "status" = mkOption { - description = - "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceStatus")); + description = "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceStatus"); }; }; @@ -8504,22 +7498,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceCondition" = { - options = { "lastTransitionTime" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -8536,30 +7528,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Namespace")); + description = "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Namespace"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8568,35 +7554,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceSpec" = { - options = { "finalizers" = mkOption { - description = - "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; - type = (types.nullOr (types.listOf types.str)); + description = "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; + type = types.nullOr (types.listOf types.str); }; }; - config = { "finalizers" = mkOverride 1002 null; }; - + config = {"finalizers" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NamespaceStatus" = { - options = { "conditions" = mkOption { - description = - "Represents the latest available observations of a namespace's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a namespace's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "phase" = mkOption { - description = - "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; - type = (types.nullOr types.str); + description = "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; + type = types.nullOr types.str; }; }; @@ -8604,35 +7587,28 @@ let "conditions" = mkOverride 1002 null; "phase" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Node" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSpec")); + description = "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeStatus")); + description = "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeStatus"); }; }; @@ -8643,10 +7619,8 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeAddress" = { - options = { "address" = mkOption { description = "The node address."; @@ -8658,22 +7632,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.NodeAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.PreferredSchedulingTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.PreferredSchedulingTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector")); + description = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector"); }; }; @@ -8681,26 +7653,24 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeCondition" = { - options = { "lastHeartbeatTime" = mkOption { description = "Last time we got an update on a given condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transit from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -8718,42 +7688,34 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeConfigSource" = { - options = { "configMap" = mkOption { description = "ConfigMap is a reference to a Node's ConfigMap"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapNodeConfigSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapNodeConfigSource"); }; }; - config = { "configMap" = mkOverride 1002 null; }; - + config = {"configMap" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeConfigStatus" = { - options = { "active" = mkOption { - description = - "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "assigned" = mkOption { - description = - "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "error" = mkOption { - description = - "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."; - type = (types.nullOr types.str); + description = "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."; + type = types.nullOr types.str; }; "lastKnownGood" = mkOption { - description = - "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; }; @@ -8763,41 +7725,34 @@ let "error" = mkOverride 1002 null; "lastKnownGood" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeDaemonEndpoints" = { - options = { "kubeletEndpoint" = mkOption { description = "Endpoint on which Kubelet is listening."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DaemonEndpoint")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DaemonEndpoint"); }; }; - config = { "kubeletEndpoint" = mkOverride 1002 null; }; - + config = {"kubeletEndpoint" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of nodes"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Node")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Node"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8806,54 +7761,48 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSelector" = { - options = { "nodeSelectorTerms" = mkOption { description = "Required. A list of node selector terms. The terms are ORed."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.NodeSelectorRequirement" = { - options = { "key" = mkOption { description = "The label key that the selector applies to."; type = types.str; }; "operator" = mkOption { - description = - "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."; + description = "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."; type = types.str; }; "values" = mkOption { - description = - "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeSelectorTerm" = { - options = { "matchExpressions" = mkOption { description = "A list of node selector requirements by node's labels."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement")); }; "matchFields" = mkOption { description = "A list of node selector requirements by node's fields."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement")); }; }; @@ -8861,43 +7810,36 @@ let "matchExpressions" = mkOverride 1002 null; "matchFields" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSpec" = { - options = { "configSource" = mkOption { - description = - "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "externalID" = mkOption { - description = - "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"; - type = (types.nullOr types.str); + description = "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"; + type = types.nullOr types.str; }; "podCIDR" = mkOption { description = "PodCIDR represents the pod IP range assigned to the node."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podCIDRs" = mkOption { - description = - "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."; - type = (types.nullOr (types.listOf types.str)); + description = "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."; + type = types.nullOr (types.listOf types.str); }; "providerID" = mkOption { - description = - "ID of the node assigned by the cloud provider in the format: ://"; - type = (types.nullOr types.str); + description = "ID of the node assigned by the cloud provider in the format: ://"; + type = types.nullOr types.str; }; "taints" = mkOption { description = "If specified, the node's taints."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Taint"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Taint")); }; "unschedulable" = mkOption { - description = - "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration"; - type = (types.nullOr types.bool); + description = "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration"; + type = types.nullOr types.bool; }; }; @@ -8910,65 +7852,64 @@ let "taints" = mkOverride 1002 null; "unschedulable" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeStatus" = { - options = { "addresses" = mkOption { - description = - "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "allocatable" = mkOption { - description = - "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."; + type = types.nullOr (types.attrsOf types.str); }; "capacity" = mkOption { - description = - "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; + type = types.nullOr (types.attrsOf types.str); }; "conditions" = mkOption { - description = - "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "config" = mkOption { - description = - "Status of the config assigned to the node via the dynamic Kubelet config feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigStatus")); + description = "Status of the config assigned to the node via the dynamic Kubelet config feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigStatus"); }; "daemonEndpoints" = mkOption { description = "Endpoints of daemons running on the Node."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeDaemonEndpoints")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeDaemonEndpoints"); }; "images" = mkOption { description = "List of container images on this node"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerImage"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerImage")); }; "nodeInfo" = mkOption { - description = - "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSystemInfo")); + description = "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSystemInfo"); }; "phase" = mkOption { - description = - "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."; - type = (types.nullOr types.str); + description = "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."; + type = types.nullOr types.str; }; "volumesAttached" = mkOption { description = "List of volumes that are attached to the node."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.AttachedVolume"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.AttachedVolume")); }; "volumesInUse" = mkOption { description = "List of attachable volumes in use (mounted) by the node."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -8985,10 +7926,8 @@ let "volumesAttached" = mkOverride 1002 null; "volumesInUse" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSystemInfo" = { - options = { "architecture" = mkOption { description = "The Architecture reported by the node"; @@ -8999,13 +7938,11 @@ let type = types.str; }; "containerRuntimeVersion" = mkOption { - description = - "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."; + description = "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."; type = types.str; }; "kernelVersion" = mkOption { - description = - "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."; + description = "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."; type = types.str; }; "kubeProxyVersion" = mkOption { @@ -9017,8 +7954,7 @@ let type = types.str; }; "machineID" = mkOption { - description = - "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"; + description = "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"; type = types.str; }; "operatingSystem" = mkOption { @@ -9026,27 +7962,22 @@ let type = types.str; }; "osImage" = mkOption { - description = - "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."; + description = "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."; type = types.str; }; "systemUUID" = mkOption { - description = - "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"; + description = "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.ObjectFieldSelector" = { - options = { "apiVersion" = mkOption { - description = - ''Version of the schema the FieldPath is written in terms of, defaults to "v1".''; - type = (types.nullOr types.str); + description = ''Version of the schema the FieldPath is written in terms of, defaults to "v1".''; + type = types.nullOr types.str; }; "fieldPath" = mkOption { description = "Path of the field to select in the specified API version."; @@ -9054,45 +7985,38 @@ let }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldPath" = mkOption { description = '' If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "namespace" = mkOption { - description = - "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; - type = (types.nullOr types.str); + description = "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; + type = types.nullOr types.str; }; "resourceVersion" = mkOption { - description = - "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; - type = (types.nullOr types.str); + description = "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"; - type = (types.nullOr types.str); + description = "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"; + type = types.nullOr types.str; }; }; @@ -9105,35 +8029,28 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolume" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "status" = mkOption { - description = - "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeStatus")); + description = "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeStatus"); }; }; @@ -9144,35 +8061,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaim" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec")); + description = "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"); }; "status" = mkOption { - description = - "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimStatus")); + description = "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimStatus"); }; }; @@ -9183,27 +8093,25 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time we probed the condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = '' Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "ResizeStarted" that means the underlying persistent volume is being resized.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = ""; @@ -9221,30 +8129,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim")); + description = "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9253,44 +8155,36 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimSpec" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; + type = types.nullOr (types.listOf types.str); }; "dataSource" = mkOption { - description = - "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "resources" = mkOption { - description = - "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "selector" = mkOption { description = "A label query over volumes to consider for binding."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "storageClassName" = mkOption { - description = - "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"; - type = (types.nullOr types.str); + description = "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"; + type = types.nullOr types.str; }; "volumeMode" = mkOption { - description = - "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."; - type = (types.nullOr types.str); + description = "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."; + type = types.nullOr types.str; }; "volumeName" = mkOption { - description = - "VolumeName is the binding reference to the PersistentVolume backing this claim."; - type = (types.nullOr types.str); + description = "VolumeName is the binding reference to the PersistentVolume backing this claim."; + type = types.nullOr types.str; }; }; @@ -9303,31 +8197,31 @@ let "volumeMode" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimStatus" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; + type = types.nullOr (types.listOf types.str); }; "capacity" = mkOption { description = "Represents the actual resources of the underlying volume."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "conditions" = mkOption { - description = - "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."; - type = (types.nullOr + description = "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PersistentVolumeClaimCondition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "phase" = mkOption { description = "Phase represents the current phase of PersistentVolumeClaim."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -9337,65 +8231,52 @@ let "conditions" = mkOverride 1002 null; "phase" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimTemplate" = { - options = { "metadata" = mkOption { - description = - "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here."; - type = (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"); + description = "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here."; + type = submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"; }; }; - config = { "metadata" = mkOverride 1002 null; }; - + config = {"metadata" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" = { - options = { "claimName" = mkOption { - description = - "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + description = "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; type = types.str; }; "readOnly" = mkOption { description = "Will force the ReadOnly setting in VolumeMounts. Default false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PersistentVolumeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolume")); + description = "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolume"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9404,159 +8285,129 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeSpec" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"; + type = types.nullOr (types.listOf types.str); }; "awsElasticBlockStore" = mkOption { - description = - "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource")); + description = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"); }; "azureDisk" = mkOption { - description = - "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource")); + description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource"); }; "azureFile" = mkOption { - description = - "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFilePersistentVolumeSource")); + description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFilePersistentVolumeSource"); }; "capacity" = mkOption { - description = - "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; - type = (types.nullOr (types.attrsOf types.str)); + description = "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; + type = types.nullOr (types.attrsOf types.str); }; "cephfs" = mkOption { - description = - "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSPersistentVolumeSource")); + description = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSPersistentVolumeSource"); }; "cinder" = mkOption { - description = - "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderPersistentVolumeSource")); + description = "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderPersistentVolumeSource"); }; "claimRef" = mkOption { - description = - "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "csi" = mkOption { - description = - "CSI represents storage that is handled by an external CSI driver (Beta feature)."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIPersistentVolumeSource")); + description = "CSI represents storage that is handled by an external CSI driver (Beta feature)."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIPersistentVolumeSource"); }; "fc" = mkOption { - description = - "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource")); + description = "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource"); }; "flexVolume" = mkOption { - description = - "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexPersistentVolumeSource")); + description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexPersistentVolumeSource"); }; "flocker" = mkOption { - description = - "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource")); + description = "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource"); }; "gcePersistentDisk" = mkOption { - description = - "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource")); + description = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"); }; "glusterfs" = mkOption { - description = - "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource")); + description = "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource"); }; "hostPath" = mkOption { - description = - "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource")); + description = "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource"); }; "iscsi" = mkOption { - description = - "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIPersistentVolumeSource")); + description = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIPersistentVolumeSource"); }; "local" = mkOption { description = "Local represents directly-attached storage with node affinity"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalVolumeSource"); }; "mountOptions" = mkOption { description = '' A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nfs" = mkOption { - description = - "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource")); + description = "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource"); }; "nodeAffinity" = mkOption { - description = - "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VolumeNodeAffinity")); + description = "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VolumeNodeAffinity"); }; "persistentVolumeReclaimPolicy" = mkOption { - description = - "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"; - type = (types.nullOr types.str); + description = "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"; + type = types.nullOr types.str; }; "photonPersistentDisk" = mkOption { - description = - "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource")); + description = "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource"); }; "portworxVolume" = mkOption { - description = - "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource")); + description = "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource"); }; "quobyte" = mkOption { - description = - "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource")); + description = "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource"); }; "rbd" = mkOption { - description = - "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDPersistentVolumeSource")); + description = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDPersistentVolumeSource"); }; "scaleIO" = mkOption { - description = - "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource")); + description = "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource"); }; "storageClassName" = mkOption { - description = - "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."; - type = (types.nullOr types.str); + description = "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."; + type = types.nullOr types.str; }; "storageos" = mkOption { - description = - "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSPersistentVolumeSource")); + description = "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSPersistentVolumeSource"); }; "volumeMode" = mkOption { - description = - "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."; - type = (types.nullOr types.str); + description = "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."; + type = types.nullOr types.str; }; "vsphereVolume" = mkOption { - description = - "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource")); + description = "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource"); }; }; @@ -9592,25 +8443,20 @@ let "volumeMode" = mkOverride 1002 null; "vsphereVolume" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeStatus" = { - options = { "message" = mkOption { - description = - "A human-readable message indicating details about why the volume is in this state."; - type = (types.nullOr types.str); + description = "A human-readable message indicating details about why the volume is in this state."; + type = types.nullOr types.str; }; "phase" = mkOption { - description = - "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"; - type = (types.nullOr types.str); + description = "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."; - type = (types.nullOr types.str); + description = "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."; + type = types.nullOr types.str; }; }; @@ -9619,15 +8465,13 @@ let "phase" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pdID" = mkOption { description = "ID that identifies Photon Controller persistent disk"; @@ -9635,36 +8479,29 @@ let }; }; - config = { "fsType" = mkOverride 1002 null; }; - + config = {"fsType" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Pod" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec")); + description = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodStatus")); + description = "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodStatus"); }; }; @@ -9675,21 +8512,19 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"))); + description = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm")); }; }; @@ -9697,23 +8532,20 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAffinityTerm" = { - options = { "labelSelector" = mkOption { description = "A label query over a set of resources, in this case pods."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "namespaces" = mkOption { description = '' namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "topologyKey" = mkOption { - description = - "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."; + description = "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."; type = types.str; }; }; @@ -9722,21 +8554,19 @@ let "labelSelector" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAntiAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"))); + description = "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm")); }; }; @@ -9744,35 +8574,31 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time we probed the condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { - description = - "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + description = "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; type = types.str; }; "type" = mkOption { - description = - "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + description = "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; type = types.str; }; }; @@ -9783,26 +8609,21 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodDNSConfig" = { - options = { "nameservers" = mkOption { - description = - "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."; - type = (types.nullOr (types.listOf types.str)); + description = "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."; + type = types.nullOr (types.listOf types.str); }; "options" = mkOption { - description = - "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."; + description = "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodDNSConfigOption"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodDNSConfigOption")); }; "searches" = mkOption { - description = - "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."; - type = (types.nullOr (types.listOf types.str)); + description = "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."; + type = types.nullOr (types.listOf types.str); }; }; @@ -9811,18 +8632,16 @@ let "options" = mkOverride 1002 null; "searches" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodDNSConfigOption" = { - options = { "name" = mkOption { description = "Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "value" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -9830,42 +8649,34 @@ let "name" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodIP" = { - options = { "ip" = mkOption { description = "ip is an IP address (IPv4 or IPv6) assigned to the pod"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "ip" = mkOverride 1002 null; }; - + config = {"ip" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PodList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Pod")); + description = "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Pod"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9874,23 +8685,18 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodReadinessGate" = { - options = { "conditionType" = mkOption { - description = - "ConditionType refers to a condition in the pod's condition list with matching type."; + description = "ConditionType refers to a condition in the pod's condition list with matching type."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.PodSecurityContext" = { - options = { "fsGroup" = mkOption { description = '' @@ -9899,51 +8705,44 @@ let 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "fsGroupChangePolicy" = mkOption { description = '' fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "runAsGroup" = mkOption { - description = - "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr types.int); + description = "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr types.int; }; "runAsNonRoot" = mkOption { - description = - "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.bool); + description = "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.bool; }; "runAsUser" = mkOption { - description = - "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr types.int); + description = "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr types.int; }; "seLinuxOptions" = mkOption { - description = - "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; "seccompProfile" = mkOption { description = "The seccomp options to use by the containers in this pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile"); }; "supplementalGroups" = mkOption { - description = - "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."; - type = (types.nullOr (types.listOf types.int)); + description = "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."; + type = types.nullOr (types.listOf types.int); }; "sysctls" = mkOption { - description = - "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Sysctl"))); + description = "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Sysctl")); }; "windowsOptions" = mkOption { - description = - "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions")); + description = "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions"); }; }; @@ -9959,195 +8758,192 @@ let "sysctls" = mkOverride 1002 null; "windowsOptions" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodSpec" = { - options = { "activeDeadlineSeconds" = mkOption { - description = - "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."; + type = types.nullOr types.int; }; "affinity" = mkOption { description = "If specified, the pod's scheduling constraints"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Affinity")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Affinity"); }; "automountServiceAccountToken" = mkOption { - description = - "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."; - type = (types.nullOr types.bool); + description = "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."; + type = types.nullOr types.bool; }; "containers" = mkOption { - description = - "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."; - type = (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."; + type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "dnsConfig" = mkOption { - description = - "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodDNSConfig")); + description = "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodDNSConfig"); }; "dnsPolicy" = mkOption { description = '' Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enableServiceLinks" = mkOption { - description = - "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."; - type = (types.nullOr types.bool); + description = "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."; + type = types.nullOr types.bool; }; "ephemeralContainers" = mkOption { - description = - "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "hostAliases" = mkOption { - description = - "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."; + description = "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "hostIPC" = mkOption { description = "Use the host's ipc namespace. Optional: Default to false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "hostNetwork" = mkOption { - description = - "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."; - type = (types.nullOr types.bool); + description = "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."; + type = types.nullOr types.bool; }; "hostPID" = mkOption { description = "Use the host's pid namespace. Optional: Default to false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "hostname" = mkOption { - description = - "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."; - type = (types.nullOr types.str); + description = "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."; + type = types.nullOr types.str; }; "imagePullSecrets" = mkOption { - description = - "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "initContainers" = mkOption { - description = - "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "nodeName" = mkOption { - description = - "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."; - type = (types.nullOr types.str); + description = "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."; + type = types.nullOr types.str; }; "nodeSelector" = mkOption { - description = - "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"; + type = types.nullOr (types.attrsOf types.str); }; "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (types.attrsOf types.str); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "priority" = mkOption { - description = - "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."; - type = (types.nullOr types.int); + description = "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."; + type = types.nullOr types.int; }; "priorityClassName" = mkOption { description = '' If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readinessGates" = mkOption { description = '' If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md''; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodReadinessGate"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodReadinessGate")); }; "restartPolicy" = mkOption { - description = - "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"; - type = (types.nullOr types.str); + description = "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"; + type = types.nullOr types.str; }; "runtimeClassName" = mkOption { description = '' RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "schedulerName" = mkOption { - description = - "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."; - type = (types.nullOr types.str); + description = "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."; + type = types.nullOr types.str; }; "securityContext" = mkOption { - description = - "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSecurityContext")); + description = "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSecurityContext"); }; "serviceAccount" = mkOption { - description = - "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."; - type = (types.nullOr types.str); + description = "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."; + type = types.nullOr types.str; }; "serviceAccountName" = mkOption { - description = - "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; - type = (types.nullOr types.str); + description = "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; + type = types.nullOr types.str; }; "setHostnameAsFQDN" = mkOption { - description = - "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."; - type = (types.nullOr types.bool); + description = "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."; + type = types.nullOr types.bool; }; "shareProcessNamespace" = mkOption { - description = - "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."; - type = (types.nullOr types.bool); + description = "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."; + type = types.nullOr types.bool; }; "subdomain" = mkOption { description = '' If specified, the fully qualified Pod hostname will be "...svc.". If not specified, the pod will not have a domainname at all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "terminationGracePeriodSeconds" = mkOption { - description = - "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."; + type = types.nullOr types.int; }; "tolerations" = mkOption { description = "If specified, the pod's tolerations."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; "topologySpreadConstraints" = mkOption { - description = - "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."; - type = (types.nullOr + description = "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.TopologySpreadConstraint" - "topologyKey")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "topologyKey"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumes" = mkOption { - description = - "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"; + description = "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -10187,47 +8983,42 @@ let "topologySpreadConstraints" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodStatus" = { - options = { "conditions" = mkOption { - description = - "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "containerStatuses" = mkOption { - description = - "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "ephemeralContainerStatuses" = mkOption { - description = - "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "hostIP" = mkOption { - description = - "IP address of the host to which the pod is assigned. Empty if not yet scheduled."; - type = (types.nullOr types.str); + description = "IP address of the host to which the pod is assigned. Empty if not yet scheduled."; + type = types.nullOr types.str; }; "initContainerStatuses" = mkOption { - description = - "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "message" = mkOption { - description = - "A human readable message indicating details about why the pod is in this condition."; - type = (types.nullOr types.str); + description = "A human readable message indicating details about why the pod is in this condition."; + type = types.nullOr types.str; }; "nominatedNodeName" = mkOption { - description = - "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."; - type = (types.nullOr types.str); + description = "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."; + type = types.nullOr types.str; }; "phase" = mkOption { description = '' @@ -10236,34 +9027,32 @@ let Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podIP" = mkOption { - description = - "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."; - type = (types.nullOr types.str); + description = "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."; + type = types.nullOr types.str; }; "podIPs" = mkOption { - description = - "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."; + description = "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "qosClass" = mkOption { - description = - "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"; - type = (types.nullOr types.str); + description = "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"; - type = (types.nullOr types.str); + description = "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"; + type = types.nullOr types.str; }; "startTime" = mkOption { - description = - "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."; - type = (types.nullOr types.str); + description = "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."; + type = types.nullOr types.str; }; }; @@ -10282,30 +9071,24 @@ let "reason" = mkOverride 1002 null; "startTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplate" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "template" = mkOption { - description = - "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -10315,29 +9098,24 @@ let "metadata" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplateList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of pod templates"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PodTemplate")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PodTemplate"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10346,20 +9124,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec")); + description = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec"); }; }; @@ -10367,10 +9141,8 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PortStatus" = { - options = { "error" = mkOption { description = '' @@ -10378,11 +9150,10 @@ let CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Port is the port number of the service port of which status is recorded here"; + description = "Port is the port number of the service port of which status is recorded here"; type = types.int; }; "protocol" = mkOption { @@ -10392,21 +9163,18 @@ let }; }; - config = { "error" = mkOverride 1002 null; }; - + config = {"error" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PortworxVolumeSource" = { - options = { "fsType" = mkOption { description = '' FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "volumeID" = mkOption { description = "VolumeID uniquely identifies a Portworx volume"; @@ -10418,66 +9186,54 @@ let "fsType" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PreferredSchedulingTerm" = { - options = { "preference" = mkOption { description = "A node selector term, associated with the corresponding weight."; - type = (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"); + type = submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"; }; "weight" = mkOption { - description = - "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."; + description = "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.Probe" = { - options = { "exec" = mkOption { - description = - "One and only one of the following should be specified. Exec specifies the action to take."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction")); + description = "One and only one of the following should be specified. Exec specifies the action to take."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction"); }; "failureThreshold" = mkOption { - description = - "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."; - type = (types.nullOr types.int); + description = "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."; + type = types.nullOr types.int; }; "httpGet" = mkOption { description = "HTTPGet specifies the http request to perform."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction"); }; "initialDelaySeconds" = mkOption { - description = - "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr types.int); + description = "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr types.int; }; "periodSeconds" = mkOption { - description = - "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."; - type = (types.nullOr types.int); + description = "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."; + type = types.nullOr types.int; }; "successThreshold" = mkOption { - description = - "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."; - type = (types.nullOr types.int); + description = "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."; + type = types.nullOr types.int; }; "tcpSocket" = mkOption { - description = - "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction")); + description = "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction"); }; "timeoutSeconds" = mkOption { - description = - "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr types.int); + description = "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr types.int; }; }; @@ -10491,19 +9247,16 @@ let "tcpSocket" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ProjectedVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "sources" = mkOption { description = "list of volume projections"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeProjection"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeProjection")); }; }; @@ -10511,37 +9264,31 @@ let "defaultMode" = mkOverride 1002 null; "sources" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.QuobyteVolumeSource" = { - options = { "group" = mkOption { description = "Group to map volume access to Default is no group"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."; + type = types.nullOr types.bool; }; "registry" = mkOption { - description = - "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"; + description = "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"; type = types.str; }; "tenant" = mkOption { - description = - "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"; - type = (types.nullOr types.str); + description = "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"; + type = types.nullOr types.str; }; "user" = mkOption { description = "User to map volume access to Defaults to serivceaccount user"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "volume" = mkOption { - description = - "Volume is a string that references an already created Quobyte volume by name."; + description = "Volume is a string that references an already created Quobyte volume by name."; type = types.str; }; }; @@ -10552,50 +9299,41 @@ let "tenant" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.RBDPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + description = "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; type = types.str; }; "keyring" = mkOption { - description = - "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "monitors" = mkOption { - description = - "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.listOf types.str; }; "pool" = mkOption { - description = - "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "user" = mkOption { - description = - "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -10607,50 +9345,41 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.RBDVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + description = "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; type = types.str; }; "keyring" = mkOption { - description = - "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "monitors" = mkOption { - description = - "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.listOf types.str; }; "pool" = mkOption { - description = - "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "user" = mkOption { - description = - "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -10662,35 +9391,28 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationController" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerSpec")); + description = "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerSpec"); }; "status" = mkOption { - description = - "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerStatus")); + description = "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerStatus"); }; }; @@ -10701,22 +9423,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerCondition" = { - options = { "lastTransitionTime" = mkOption { description = "The last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -10733,30 +9453,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ReplicationController")); + description = "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ReplicationController"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10765,30 +9479,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; - type = (types.nullOr types.int); + description = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = types.nullOr (types.attrsOf types.str); }; "template" = mkOption { - description = - "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -10798,41 +9506,38 @@ let "selector" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerStatus" = { - options = { "availableReplicas" = mkOption { - description = - "The number of available replicas (ready for at least minReadySeconds) for this replication controller."; - type = (types.nullOr types.int); + description = "The number of available replicas (ready for at least minReadySeconds) for this replication controller."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a replication controller's current state."; - type = (types.nullOr + description = "Represents the latest available observations of a replication controller's current state."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ReplicationControllerCondition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "fullyLabeledReplicas" = mkOption { - description = - "The number of pods that have labels matching the labels of the pod template of the replication controller."; - type = (types.nullOr types.int); + description = "The number of pods that have labels matching the labels of the pod template of the replication controller."; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { - description = - "ObservedGeneration reflects the generation of the most recently observed replication controller."; - type = (types.nullOr types.int); + description = "ObservedGeneration reflects the generation of the most recently observed replication controller."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "The number of ready replicas for this replication controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; + description = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; type = types.int; }; }; @@ -10844,18 +9549,16 @@ let "observedGeneration" = mkOverride 1002 null; "readyReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceFieldSelector" = { - options = { "containerName" = mkOption { description = "Container name: required for volumes, optional for env vars"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "divisor" = mkOption { description = ''Specifies the output format of the exposed resources, defaults to "1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = "Required: resource to select"; @@ -10867,35 +9570,28 @@ let "containerName" = mkOverride 1002 null; "divisor" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuota" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaSpec")); + description = "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaSpec"); }; "status" = mkOption { - description = - "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaStatus")); + description = "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaStatus"); }; }; @@ -10906,30 +9602,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ResourceQuota")); + description = "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ResourceQuota"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10938,25 +9628,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaSpec" = { - options = { "hard" = mkOption { - description = - "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.nullOr (types.attrsOf types.str); }; "scopeSelector" = mkOption { - description = - "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScopeSelector")); + description = "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScopeSelector"); }; "scopes" = mkOption { - description = - "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."; - type = (types.nullOr (types.listOf types.str)); + description = "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."; + type = types.nullOr (types.listOf types.str); }; }; @@ -10965,20 +9650,16 @@ let "scopeSelector" = mkOverride 1002 null; "scopes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaStatus" = { - options = { "hard" = mkOption { - description = - "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.nullOr (types.attrsOf types.str); }; "used" = mkOption { - description = - "Used is the current observed total usage of the resource in the namespace."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Used is the current observed total usage of the resource in the namespace."; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -10986,20 +9667,16 @@ let "hard" = mkOverride 1002 null; "used" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceRequirements" = { - options = { "limits" = mkOption { - description = - "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.nullOr (types.attrsOf types.str); }; "requests" = mkOption { - description = - "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -11007,26 +9684,24 @@ let "limits" = mkOverride 1002 null; "requests" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SELinuxOptions" = { - options = { "level" = mkOption { description = "Level is SELinux level label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "role" = mkOption { description = "Role is a SELinux role label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = "Type is a SELinux type label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is a SELinux user label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11036,15 +9711,13 @@ let "type" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "gateway" = mkOption { description = "The host address of the ScaleIO API Gateway."; @@ -11052,39 +9725,35 @@ let }; "protectionDomain" = mkOption { description = "The name of the ScaleIO Protection Domain for the configured storage."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; - type = (submoduleOf "io.k8s.api.core.v1.SecretReference"); + description = "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; + type = submoduleOf "io.k8s.api.core.v1.SecretReference"; }; "sslEnabled" = mkOption { description = "Flag to enable/disable SSL communication with Gateway, default false"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageMode" = mkOption { - description = - "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; - type = (types.nullOr types.str); + description = "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; + type = types.nullOr types.str; }; "storagePool" = mkOption { description = "The ScaleIO Storage Pool associated with the protection domain."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "system" = mkOption { description = "The name of the storage system as configured in ScaleIO."; type = types.str; }; "volumeName" = mkOption { - description = - "The name of a volume already created in the ScaleIO system that is associated with this volume source."; - type = (types.nullOr types.str); + description = "The name of a volume already created in the ScaleIO system that is associated with this volume source."; + type = types.nullOr types.str; }; }; @@ -11097,15 +9766,13 @@ let "storagePool" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScaleIOVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "gateway" = mkOption { description = "The host address of the ScaleIO API Gateway."; @@ -11113,39 +9780,35 @@ let }; "protectionDomain" = mkOption { description = "The name of the ScaleIO Protection Domain for the configured storage."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; - type = (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); + description = "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; + type = submoduleOf "io.k8s.api.core.v1.LocalObjectReference"; }; "sslEnabled" = mkOption { description = "Flag to enable/disable SSL communication with Gateway, default false"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageMode" = mkOption { - description = - "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; - type = (types.nullOr types.str); + description = "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; + type = types.nullOr types.str; }; "storagePool" = mkOption { description = "The ScaleIO Storage Pool associated with the protection domain."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "system" = mkOption { description = "The name of the storage system as configured in ScaleIO."; type = types.str; }; "volumeName" = mkOption { - description = - "The name of a volume already created in the ScaleIO system that is associated with this volume source."; - type = (types.nullOr types.str); + description = "The name of a volume already created in the ScaleIO system that is associated with this volume source."; + type = types.nullOr types.str; }; }; @@ -11158,27 +9821,23 @@ let "storagePool" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScopeSelector" = { - options = { "matchExpressions" = mkOption { description = "A list of scope selector requirements by scope of the resources."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.ScopedResourceSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.ScopedResourceSelectorRequirement")); }; }; - config = { "matchExpressions" = mkOverride 1002 null; }; - + config = {"matchExpressions" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ScopedResourceSelectorRequirement" = { - options = { "operator" = mkOption { - description = - "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."; + description = "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."; type = types.str; }; "scopeName" = mkOption { @@ -11186,22 +9845,19 @@ let type = types.str; }; "values" = mkOption { - description = - "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.SeccompProfile" = { - options = { "localhostProfile" = mkOption { description = '' localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = '' @@ -11212,45 +9868,37 @@ let }; }; - config = { "localhostProfile" = mkOverride 1002 null; }; - + config = {"localhostProfile" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Secret" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "data" = mkOption { - description = - "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"; + type = types.nullOr (types.attrsOf types.str); }; "immutable" = mkOption { - description = - "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; - type = (types.nullOr types.bool); + description = "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "stringData" = mkOption { - description = - "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API."; - type = (types.nullOr (types.attrsOf types.str)); + description = "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API."; + type = types.nullOr (types.attrsOf types.str); }; "type" = mkOption { description = "Used to facilitate programmatic handling of secret data."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11263,19 +9911,16 @@ let "stringData" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretEnvSource" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11283,23 +9928,20 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretKeySelector" = { - options = { "key" = mkOption { description = "The key of the secret to select from. Must be a valid secret key."; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11307,30 +9949,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Secret")); + description = "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Secret"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11339,24 +9975,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretProjection" = { - options = { "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11365,18 +9997,16 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretReference" = { - options = { "name" = mkOption { description = "Name is unique within a namespace to reference a secret resource."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace defines the space within which the secret name must be unique."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11384,29 +10014,24 @@ let "name" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "optional" = mkOption { description = "Specify whether the Secret or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "secretName" = mkOption { - description = - "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; - type = (types.nullOr types.str); + description = "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; + type = types.nullOr types.str; }; }; @@ -11416,64 +10041,52 @@ let "optional" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecurityContext" = { - options = { "allowPrivilegeEscalation" = mkOption { - description = - "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"; - type = (types.nullOr types.bool); + description = "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"; + type = types.nullOr types.bool; }; "capabilities" = mkOption { - description = - "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Capabilities")); + description = "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Capabilities"); }; "privileged" = mkOption { - description = - "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."; - type = (types.nullOr types.bool); + description = "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."; + type = types.nullOr types.bool; }; "procMount" = mkOption { - description = - "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."; - type = (types.nullOr types.str); + description = "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."; + type = types.nullOr types.str; }; "readOnlyRootFilesystem" = mkOption { description = "Whether this container has a read-only root filesystem. Default is false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "runAsGroup" = mkOption { - description = - "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.int); + description = "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.int; }; "runAsNonRoot" = mkOption { - description = - "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.bool); + description = "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.bool; }; "runAsUser" = mkOption { - description = - "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.int); + description = "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.int; }; "seLinuxOptions" = mkOption { - description = - "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; "seccompProfile" = mkOption { - description = - "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile")); + description = "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile"); }; "windowsOptions" = mkOption { - description = - "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions")); + description = "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions"); }; }; @@ -11490,35 +10103,28 @@ let "seccompProfile" = mkOverride 1002 null; "windowsOptions" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Service" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceSpec")); + description = "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceStatus")); + description = "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceStatus"); }; }; @@ -11529,43 +10135,39 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccount" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "automountServiceAccountToken" = mkOption { - description = - "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."; - type = (types.nullOr types.bool); + description = "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."; + type = types.nullOr types.bool; }; "imagePullSecrets" = mkOption { - description = - "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"; + description = "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "secrets" = mkOption { - description = - "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -11577,30 +10179,24 @@ let "metadata" = mkOverride 1002 null; "secrets" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccountList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ServiceAccount")); + description = "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ServiceAccount"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11609,24 +10205,19 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccountTokenProjection" = { - options = { "audience" = mkOption { - description = - "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."; - type = (types.nullOr types.str); + description = "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."; + type = types.nullOr types.str; }; "expirationSeconds" = mkOption { - description = - "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."; - type = (types.nullOr types.int); + description = "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "Path is the path relative to the mount point of the file to project the token into."; + description = "Path is the path relative to the mount point of the file to project the token into."; type = types.str; }; }; @@ -11635,29 +10226,24 @@ let "audience" = mkOverride 1002 null; "expirationSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of services"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Service")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Service"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11666,39 +10252,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServicePort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."; - type = (types.nullOr types.str); + description = "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."; + type = types.nullOr types.str; }; "nodePort" = mkOption { - description = - "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"; - type = (types.nullOr types.int); + description = "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"; + type = types.nullOr types.int; }; "port" = mkOption { description = "The port that will be exposed by this service."; type = types.int; }; "protocol" = mkOption { - description = - ''The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.''; - type = (types.nullOr types.str); + description = ''The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.''; + type = types.nullOr types.str; }; "targetPort" = mkOption { - description = - "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"; - type = (types.nullOr (types.either types.int types.str)); + description = "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"; + type = types.nullOr (types.either types.int types.str); }; }; @@ -11709,105 +10288,101 @@ let "protocol" = mkOverride 1002 null; "targetPort" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceSpec" = { - options = { "allocateLoadBalancerNodePorts" = mkOption { description = '' allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. allocateLoadBalancerNodePorts may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. This field is alpha-level and is only honored by servers that enable the ServiceLBNodePortControl feature.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "clusterIP" = mkOption { description = '' clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "clusterIPs" = mkOption { description = '' ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value. Unless the "IPv6DualStack" feature gate is enabled, this field is limited to one value, which must be the same as the clusterIP field. If the feature gate is enabled, this field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "externalIPs" = mkOption { - description = - "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."; - type = (types.nullOr (types.listOf types.str)); + description = "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."; + type = types.nullOr (types.listOf types.str); }; "externalName" = mkOption { - description = - "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be"; - type = (types.nullOr types.str); + description = "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be"; + type = types.nullOr types.str; }; "externalTrafficPolicy" = mkOption { description = '' externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. "Local" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. "Cluster" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "healthCheckNodePort" = mkOption { - description = - "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type)."; - type = (types.nullOr types.int); + description = "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type)."; + type = types.nullOr types.int; }; "ipFamilies" = mkOption { description = '' IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service, and is gated by the "IPv6DualStack" feature gate. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are "IPv4" and "IPv6". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to "headless" services. This field will be wiped when updating a Service to type ExternalName. This field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ipFamilyPolicy" = mkOption { description = '' IPFamilyPolicy represents the dual-stack-ness requested or required by this Service, and is gated by the "IPv6DualStack" feature gate. If there is no value provided, then this field will be set to SingleStack. Services can be "SingleStack" (a single IP family), "PreferDualStack" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or "RequireDualStack" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "loadBalancerIP" = mkOption { - description = - "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."; - type = (types.nullOr types.str); + description = "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."; + type = types.nullOr types.str; }; "loadBalancerSourceRanges" = mkOption { description = '' If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ports" = mkOption { - description = - "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "publishNotReadyAddresses" = mkOption { description = '' publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "selector" = mkOption { - description = - "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/"; + type = types.nullOr (types.attrsOf types.str); }; "sessionAffinity" = mkOption { description = '' Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "sessionAffinityConfig" = mkOption { description = "sessionAffinityConfig contains the configurations of session affinity."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SessionAffinityConfig")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SessionAffinityConfig"); }; "topologyKeys" = mkOption { description = '' topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value "*" may be used to mean "any topology". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. This field is alpha-level and is only honored by servers that enable the ServiceTopology feature.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "type" = mkOption { description = '' type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11831,22 +10406,23 @@ let "topologyKeys" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state"; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "loadBalancer" = mkOption { - description = - "LoadBalancer contains the current status of the load-balancer, if one is present."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + description = "LoadBalancer contains the current status of the load-balancer, if one is present."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; @@ -11854,47 +10430,40 @@ let "conditions" = mkOverride 1002 null; "loadBalancer" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SessionAffinityConfig" = { - options = { "clientIP" = mkOption { description = "clientIP contains the configurations of Client IP based session affinity."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ClientIPConfig")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ClientIPConfig"); }; }; - config = { "clientIP" = mkOverride 1002 null; }; - + config = {"clientIP" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.StorageOSPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "volumeName" = mkOption { - description = - "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; - type = (types.nullOr types.str); + description = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; + type = types.nullOr types.str; }; "volumeNamespace" = mkOption { description = '' VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11905,35 +10474,30 @@ let "volumeName" = mkOverride 1002 null; "volumeNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.StorageOSVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "volumeName" = mkOption { - description = - "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; - type = (types.nullOr types.str); + description = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; + type = types.nullOr types.str; }; "volumeNamespace" = mkOption { description = '' VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11944,10 +10508,8 @@ let "volumeName" = mkOverride 1002 null; "volumeNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Sysctl" = { - options = { "name" = mkOption { description = "Name of a property to set"; @@ -11959,32 +10521,26 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.TCPSocketAction" = { - options = { "host" = mkOption { description = "Optional: Host name to connect to, defaults to the pod IP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; - type = (types.either types.int types.str); + description = "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; + type = types.either types.int types.str; }; }; - config = { "host" = mkOverride 1002 null; }; - + config = {"host" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Taint" = { - options = { "effect" = mkOption { - description = - "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."; + description = "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."; type = types.str; }; "key" = mkOption { @@ -11992,13 +10548,12 @@ let type = types.str; }; "timeAdded" = mkOption { - description = - "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."; - type = (types.nullOr types.str); + description = "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."; + type = types.nullOr types.str; }; "value" = mkOption { description = "The taint value corresponding to the taint key."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12006,35 +10561,28 @@ let "timeAdded" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Toleration" = { - options = { "effect" = mkOption { - description = - "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."; - type = (types.nullOr types.str); + description = "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."; + type = types.nullOr types.str; }; "key" = mkOption { - description = - "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."; - type = (types.nullOr types.str); + description = "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."; + type = types.nullOr types.str; }; "operator" = mkOption { - description = - "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."; - type = (types.nullOr types.str); + description = "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."; + type = types.nullOr types.str; }; "tolerationSeconds" = mkOption { - description = - "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."; - type = (types.nullOr types.int); + description = "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."; + type = types.nullOr types.int; }; "value" = mkOption { - description = - "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."; - type = (types.nullOr types.str); + description = "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."; + type = types.nullOr types.str; }; }; @@ -12045,49 +10593,41 @@ let "tolerationSeconds" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.TopologySelectorLabelRequirement" = { - options = { "key" = mkOption { description = "The label key that the selector applies to."; type = types.str; }; "values" = mkOption { - description = - "An array of string values. One value must match the label to be selected. Each entry in Values is ORed."; - type = (types.listOf types.str); + description = "An array of string values. One value must match the label to be selected. Each entry in Values is ORed."; + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.TopologySelectorTerm" = { - options = { "matchLabelExpressions" = mkOption { description = "A list of topology selector requirements by labels."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorLabelRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorLabelRequirement")); }; }; - config = { "matchLabelExpressions" = mkOverride 1002 null; }; - + config = {"matchLabelExpressions" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.TopologySpreadConstraint" = { - options = { "labelSelector" = mkOption { - description = - "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "maxSkew" = mkOption { - description = - "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."; + description = "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."; type = types.int; }; "topologyKey" = mkOption { @@ -12105,16 +10645,13 @@ let }; }; - config = { "labelSelector" = mkOverride 1002 null; }; - + config = {"labelSelector" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.TypedLocalObjectReference" = { - options = { "apiGroup" = mkOption { - description = - "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; - type = (types.nullOr types.str); + description = "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind is the type of resource being referenced"; @@ -12126,55 +10663,45 @@ let }; }; - config = { "apiGroup" = mkOverride 1002 null; }; - + config = {"apiGroup" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Volume" = { - options = { "awsElasticBlockStore" = mkOption { - description = - "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource")); + description = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"); }; "azureDisk" = mkOption { - description = - "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource")); + description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource"); }; "azureFile" = mkOption { - description = - "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFileVolumeSource")); + description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFileVolumeSource"); }; "cephfs" = mkOption { - description = - "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSVolumeSource")); + description = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSVolumeSource"); }; "cinder" = mkOption { - description = - "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderVolumeSource")); + description = "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderVolumeSource"); }; "configMap" = mkOption { description = "ConfigMap represents a configMap that should populate this volume"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapVolumeSource"); }; "csi" = mkOption { - description = - "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIVolumeSource")); + description = "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIVolumeSource"); }; "downwardAPI" = mkOption { - description = - "DownwardAPI represents downward API about the pod that should populate this volume"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeSource")); + description = "DownwardAPI represents downward API about the pod that should populate this volume"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeSource"); }; "emptyDir" = mkOption { - description = - "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EmptyDirVolumeSource")); + description = "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EmptyDirVolumeSource"); }; "ephemeral" = mkOption { description = '' @@ -12192,107 +10719,88 @@ let Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time.''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EphemeralVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EphemeralVolumeSource"); }; "fc" = mkOption { - description = - "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource")); + description = "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource"); }; "flexVolume" = mkOption { - description = - "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexVolumeSource")); + description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexVolumeSource"); }; "flocker" = mkOption { - description = - "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource")); + description = "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource"); }; "gcePersistentDisk" = mkOption { - description = - "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource")); + description = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"); }; "gitRepo" = mkOption { - description = - "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GitRepoVolumeSource")); + description = "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GitRepoVolumeSource"); }; "glusterfs" = mkOption { - description = - "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsVolumeSource")); + description = "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsVolumeSource"); }; "hostPath" = mkOption { - description = - "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource")); + description = "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource"); }; "iscsi" = mkOption { - description = - "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIVolumeSource")); + description = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIVolumeSource"); }; "name" = mkOption { - description = - "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + description = "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; type = types.str; }; "nfs" = mkOption { - description = - "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource")); + description = "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource"); }; "persistentVolumeClaim" = mkOption { - description = - "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + description = "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; type = - (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource")); + types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource"); }; "photonPersistentDisk" = mkOption { - description = - "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource")); + description = "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource"); }; "portworxVolume" = mkOption { - description = - "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource")); + description = "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource"); }; "projected" = mkOption { description = "Items for all in one resources secrets, configmaps, and downward API"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ProjectedVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ProjectedVolumeSource"); }; "quobyte" = mkOption { - description = - "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource")); + description = "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource"); }; "rbd" = mkOption { - description = - "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDVolumeSource")); + description = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDVolumeSource"); }; "scaleIO" = mkOption { - description = - "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOVolumeSource")); + description = "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOVolumeSource"); }; "secret" = mkOption { - description = - "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretVolumeSource")); + description = "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretVolumeSource"); }; "storageos" = mkOption { - description = - "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSVolumeSource")); + description = "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSVolumeSource"); }; "vsphereVolume" = mkOption { - description = - "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource")); + description = "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource"); }; }; @@ -12327,14 +10835,11 @@ let "storageos" = mkOverride 1002 null; "vsphereVolume" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VolumeDevice" = { - options = { "devicePath" = mkOption { - description = - "devicePath is the path inside of the container that the device will be mapped to."; + description = "devicePath is the path inside of the container that the device will be mapped to."; type = types.str; }; "name" = mkOption { @@ -12343,40 +10848,35 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.VolumeMount" = { - options = { "mountPath" = mkOption { - description = - "Path within the container at which the volume should be mounted. Must not contain ':'."; + description = "Path within the container at which the volume should be mounted. Must not contain ':'."; type = types.str; }; "mountPropagation" = mkOption { - description = - "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."; - type = (types.nullOr types.str); + description = "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."; + type = types.nullOr types.str; }; "name" = mkOption { description = "This must match the Name of a Volume."; type = types.str; }; "readOnly" = mkOption { - description = - "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."; - type = (types.nullOr types.bool); + description = "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."; + type = types.nullOr types.bool; }; "subPath" = mkOption { description = '' Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subPathExpr" = mkOption { description = '' Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12386,38 +10886,34 @@ let "subPath" = mkOverride 1002 null; "subPathExpr" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VolumeNodeAffinity" = { - options = { "required" = mkOption { description = "Required specifies hard node constraints that must be met."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector"); }; }; - config = { "required" = mkOverride 1002 null; }; - + config = {"required" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.VolumeProjection" = { - options = { "configMap" = mkOption { description = "information about the configMap data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapProjection"); }; "downwardAPI" = mkOption { description = "information about the downwardAPI data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIProjection"); }; "secret" = mkOption { description = "information about the secret data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretProjection"); }; "serviceAccountToken" = mkOption { description = "information about the serviceAccountToken data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceAccountTokenProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceAccountTokenProjection"); }; }; @@ -12427,24 +10923,21 @@ let "secret" = mkOverride 1002 null; "serviceAccountToken" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "storagePolicyID" = mkOption { - description = - "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."; - type = (types.nullOr types.str); + description = "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."; + type = types.nullOr types.str; }; "storagePolicyName" = mkOption { description = "Storage Policy Based Management (SPBM) profile name."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "volumePath" = mkOption { description = "Path that identifies vSphere volume vmdk"; @@ -12457,41 +10950,34 @@ let "storagePolicyID" = mkOverride 1002 null; "storagePolicyName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.WeightedPodAffinityTerm" = { - options = { "podAffinityTerm" = mkOption { description = "Required. A pod affinity term, associated with the corresponding weight."; - type = (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"); + type = submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"; }; "weight" = mkOption { - description = - "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."; + description = "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.WindowsSecurityContextOptions" = { - options = { "gmsaCredentialSpec" = mkOption { - description = - "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."; - type = (types.nullOr types.str); + description = "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."; + type = types.nullOr types.str; }; "gmsaCredentialSpecName" = mkOption { description = "GMSACredentialSpecName is the name of the GMSA credential spec to use."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "runAsUserName" = mkOption { - description = - "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.str); + description = "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.str; }; }; @@ -12500,34 +10986,28 @@ let "gmsaCredentialSpecName" = mkOverride 1002 null; "runAsUserName" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.Endpoint" = { - options = { "addresses" = mkOption { - description = - "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; - type = (types.listOf types.str); + description = "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; + type = types.listOf types.str; }; "conditions" = mkOption { description = "conditions contains information about the current status of the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointConditions")); + type = types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointConditions"); }; "hostname" = mkOption { - description = - "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."; - type = (types.nullOr types.str); + description = "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."; + type = types.nullOr types.str; }; "nodeName" = mkOption { - description = - "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate."; - type = (types.nullOr types.str); + description = "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate."; + type = types.nullOr types.str; }; "targetRef" = mkOption { - description = - "targetRef is a reference to a Kubernetes object that represents this endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "targetRef is a reference to a Kubernetes object that represents this endpoint."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "topology" = mkOption { description = '' @@ -12539,7 +11019,7 @@ let * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. This field is deprecated and will be removed in future api versions.''; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; }; @@ -12550,25 +11030,21 @@ let "targetRef" = mkOverride 1002 null; "topology" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointConditions" = { - options = { "ready" = mkOption { description = '' ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be "true" for terminating endpoints.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "serving" = mkOption { - description = - "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; - type = (types.nullOr types.bool); + description = "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; + type = types.nullOr types.bool; }; "terminating" = mkOption { - description = - "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; - type = (types.nullOr types.bool); + description = "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; + type = types.nullOr types.bool; }; }; @@ -12577,29 +11053,24 @@ let "serving" = mkOverride 1002 null; "terminating" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; - type = (types.nullOr types.str); + description = "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; - type = (types.nullOr types.int); + description = "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; + type = types.nullOr types.int; }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12609,40 +11080,34 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointSlice" = { - options = { "addressType" = mkOption { - description = - "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; + description = "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; type = types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "endpoints" = mkOption { - description = - "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.Endpoint")); + description = "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.Endpoint"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "ports" = mkOption { description = '' ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.''; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointPort"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointPort")); }; }; @@ -12652,28 +11117,24 @@ let "metadata" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointSliceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoint slices"; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointSlice")); + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointSlice"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12682,93 +11143,76 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.Event" = { - options = { "action" = mkOption { - description = - "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deprecatedCount" = mkOption { - description = - "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.int); + description = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.int; }; "deprecatedFirstTimestamp" = mkOption { - description = - "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedLastTimestamp" = mkOption { - description = - "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedSource" = mkOption { - description = - "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "eventTime" = mkOption { description = "eventTime is the time when this Event was first observed. It is required."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"; }; "note" = mkOption { - description = - "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; - type = (types.nullOr types.str); + description = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "regarding" = mkOption { - description = - "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "related" = mkOption { - description = - "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingController" = mkOption { - description = - "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { - description = - "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "series" = mkOption { - description = - "series is data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.events.v1.EventSeries")); + description = "series is data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.events.v1.EventSeries"); }; "type" = mkOption { - description = - "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; }; @@ -12789,29 +11233,24 @@ let "series" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.events.v1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.events.v1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12820,111 +11259,90 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.EventSeries" = { - options = { "count" = mkOption { - description = - "count is the number of occurrences in this series up to the last heartbeat time."; + description = "count is the number of occurrences in this series up to the last heartbeat time."; type = types.int; }; "lastObservedTime" = mkOption { - description = - "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; + description = "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.events.v1beta1.Event" = { - options = { "action" = mkOption { - description = - "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deprecatedCount" = mkOption { - description = - "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.int); + description = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.int; }; "deprecatedFirstTimestamp" = mkOption { - description = - "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedLastTimestamp" = mkOption { - description = - "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedSource" = mkOption { - description = - "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "eventTime" = mkOption { description = "eventTime is the time when this Event was first observed. It is required."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"; }; "note" = mkOption { - description = - "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; - type = (types.nullOr types.str); + description = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "regarding" = mkOption { - description = - "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "related" = mkOption { - description = - "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingController" = mkOption { - description = - "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { - description = - "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "series" = mkOption { - description = - "series is data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.events.v1beta1.EventSeries")); + description = "series is data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.events.v1beta1.EventSeries"); }; "type" = mkOption { - description = - "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; - type = (types.nullOr types.str); + description = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; + type = types.nullOr types.str; }; }; @@ -12945,29 +11363,24 @@ let "series" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1beta1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.events.v1beta1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.events.v1beta1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12976,38 +11389,31 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1beta1.EventSeries" = { - options = { "count" = mkOption { - description = - "count is the number of occurrences in this series up to the last heartbeat time."; + description = "count is the number of occurrences in this series up to the last heartbeat time."; type = types.int; }; "lastObservedTime" = mkOption { - description = - "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; + description = "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.extensions.v1beta1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -13022,7 +11428,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13030,47 +11436,38 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.extensions.v1beta1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressStatus"); }; }; @@ -13081,23 +11478,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressBackend" = { - options = { "resource" = mkOption { - description = - "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "serviceName" = mkOption { description = "Specifies the name of the referenced service."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "servicePort" = mkOption { description = "Specifies the port of the referenced service."; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; }; @@ -13106,29 +11500,24 @@ let "serviceName" = mkOverride 1002 null; "servicePort" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13137,10 +11526,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -13152,11 +11539,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue"); }; }; @@ -13164,32 +11551,26 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressSpec" = { - options = { "backend" = mkOption { - description = - "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend")); + description = "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressRule"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressTLS"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressTLS")); }; }; @@ -13199,32 +11580,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.extensions.v1beta1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13232,10 +11608,8 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod" = { - options = { "type" = mkOption { description = '' @@ -13244,36 +11618,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec")); + description = "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec"); }; "status" = mkOption { - description = - "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus")); + description = "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus"); }; }; @@ -13284,34 +11651,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13322,29 +11683,24 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of FlowSchemas."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchema")); + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchema"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13353,33 +11709,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec" = { - options = { "distinguisherMethod" = mkOption { - description = - "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; + description = "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod"); }; "matchingPrecedence" = mkOption { - description = - "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; - type = (types.nullOr types.int); + description = "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; + type = types.nullOr types.int; }; "priorityLevelConfiguration" = mkOption { - description = - "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; + description = "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; type = - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference"); + submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference"; }; "rules" = mkOption { - description = - "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects"))); + description = "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects")); }; }; @@ -13388,23 +11739,20 @@ let "matchingPrecedence" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus" = { - options = { "conditions" = mkOption { description = "`conditions` is a list of the current states of FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.GroupSubject" = { - options = { "name" = mkOption { description = '' @@ -13413,17 +11761,15 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.LimitResponse" = { - options = { "queuing" = mkOption { description = '' `queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `"Queue"`.''; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration"); }; "type" = mkOption { description = '' @@ -13432,11 +11778,9 @@ let }; }; - config = { "queuing" = mkOverride 1002 null; }; - + config = {"queuing" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration" = { - options = { "assuredConcurrencyShares" = mkOption { description = '' @@ -13445,12 +11789,11 @@ let ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "limitResponse" = mkOption { - description = - "`limitResponse` indicates what to do with requests that can not be executed right now"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitResponse")); + description = "`limitResponse` indicates what to do with requests that can not be executed right now"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitResponse"); }; }; @@ -13458,10 +11801,8 @@ let "assuredConcurrencyShares" = mkOverride 1002 null; "limitResponse" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule" = { - options = { "nonResourceURLs" = mkOption { description = '' @@ -13472,37 +11813,34 @@ let - "/hea/*" also matches nothing - "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects" = { - options = { "nonResourceRules" = mkOption { - description = - "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule"))); + description = "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule")); }; "resourceRules" = mkOption { - description = - "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule"))); + description = "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule")); }; "subjects" = mkOption { - description = - "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.Subject")); + description = "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.Subject"); }; }; @@ -13510,37 +11848,34 @@ let "nonResourceRules" = mkOverride 1002 null; "resourceRules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = '' `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec"); }; "status" = mkOption { description = '' `status` is the current status of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus"); }; }; @@ -13551,34 +11886,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13589,30 +11918,26 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of request-priorities."; - type = (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13621,29 +11946,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference" = { - options = { "name" = mkOption { - description = - "`name` is the name of the priority level configuration being referenced Required."; + description = "`name` is the name of the priority level configuration being referenced Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec" = { - options = { "limited" = mkOption { description = '' `limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `"Limited"`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration"); }; "type" = mkOption { description = '' @@ -13652,39 +11973,33 @@ let }; }; - config = { "limited" = mkOverride 1002 null; }; - + config = {"limited" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus" = { - options = { "conditions" = mkOption { description = ''`conditions` is the current state of "request-priority".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration" = { - options = { "handSize" = mkOption { - description = - "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; - type = (types.nullOr types.int); + description = "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; + type = types.nullOr types.int; }; "queueLengthLimit" = mkOption { - description = - "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; - type = (types.nullOr types.int); + description = "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; + type = types.nullOr types.int; }; "queues" = mkOption { - description = - "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; - type = (types.nullOr types.int); + description = "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; + type = types.nullOr types.int; }; }; @@ -13693,35 +12008,32 @@ let "queueLengthLimit" = mkOverride 1002 null; "queues" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule" = { - options = { "apiGroups" = mkOption { description = '' `apiGroups` is a list of matching API groups and may not be empty. "*" matches all API groups and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "clusterScope" = mkOption { - description = - "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; - type = (types.nullOr types.bool); + description = "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; + type = types.nullOr types.bool; }; "namespaces" = mkOption { description = '' `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*". Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -13729,10 +12041,8 @@ let "clusterScope" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject" = { - options = { "name" = mkOption { description = '' @@ -13740,21 +12050,18 @@ let type = types.str; }; "namespace" = mkOption { - description = - "`namespace` is the namespace of matching ServiceAccount objects. Required."; + description = "`namespace` is the namespace of matching ServiceAccount objects. Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1alpha1.Subject" = { - options = { "group" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.GroupSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.GroupSubject"); }; "kind" = mkOption { description = "Required"; @@ -13763,11 +12070,11 @@ let "serviceAccount" = mkOption { description = ""; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject"); }; "user" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.UserSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1alpha1.UserSubject"); }; }; @@ -13776,23 +12083,18 @@ let "serviceAccount" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1alpha1.UserSubject" = { - options = { "name" = mkOption { - description = - ''`name` is the username that matches, or "*" to match all usernames. Required.''; + description = ''`name` is the username that matches, or "*" to match all usernames. Required.''; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod" = { - options = { "type" = mkOption { description = '' @@ -13801,36 +12103,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.FlowSchema" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec")); + description = "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec"); }; "status" = mkOption { - description = - "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus")); + description = "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus"); }; }; @@ -13841,34 +12136,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13879,29 +12168,24 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of FlowSchemas."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchema")); + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchema"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13910,32 +12194,27 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec" = { - options = { "distinguisherMethod" = mkOption { - description = - "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; + description = "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod"); }; "matchingPrecedence" = mkOption { - description = - "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; - type = (types.nullOr types.int); + description = "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; + type = types.nullOr types.int; }; "priorityLevelConfiguration" = mkOption { - description = - "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; - type = (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference"); + description = "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; + type = submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference"; }; "rules" = mkOption { - description = - "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects"))); + description = "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects")); }; }; @@ -13944,23 +12223,20 @@ let "matchingPrecedence" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus" = { - options = { "conditions" = mkOption { description = "`conditions` is a list of the current states of FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.GroupSubject" = { - options = { "name" = mkOption { description = '' @@ -13969,16 +12245,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.LimitResponse" = { - options = { "queuing" = mkOption { description = '' `queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `"Queue"`.''; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration"); }; "type" = mkOption { description = '' @@ -13987,11 +12261,9 @@ let }; }; - config = { "queuing" = mkOverride 1002 null; }; - + config = {"queuing" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration" = { - options = { "assuredConcurrencyShares" = mkOption { description = '' @@ -14000,12 +12272,11 @@ let ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "limitResponse" = mkOption { - description = - "`limitResponse` indicates what to do with requests that can not be executed right now"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitResponse")); + description = "`limitResponse` indicates what to do with requests that can not be executed right now"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitResponse"); }; }; @@ -14013,10 +12284,8 @@ let "assuredConcurrencyShares" = mkOverride 1002 null; "limitResponse" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule" = { - options = { "nonResourceURLs" = mkOption { description = '' @@ -14027,37 +12296,34 @@ let - "/hea/*" also matches nothing - "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects" = { - options = { "nonResourceRules" = mkOption { - description = - "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule"))); + description = "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule")); }; "resourceRules" = mkOption { - description = - "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule"))); + description = "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule")); }; "subjects" = mkOption { - description = - "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.Subject")); + description = "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.Subject"); }; }; @@ -14065,37 +12331,34 @@ let "nonResourceRules" = mkOverride 1002 null; "resourceRules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = '' `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec"); }; "status" = mkOption { description = '' `status` is the current status of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus"); }; }; @@ -14106,34 +12369,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14144,30 +12401,26 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of request-priorities."; - type = (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14176,29 +12429,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference" = { - options = { "name" = mkOption { - description = - "`name` is the name of the priority level configuration being referenced Required."; + description = "`name` is the name of the priority level configuration being referenced Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec" = { - options = { "limited" = mkOption { description = '' `limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `"Limited"`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration"); }; "type" = mkOption { description = '' @@ -14207,39 +12456,33 @@ let }; }; - config = { "limited" = mkOverride 1002 null; }; - + config = {"limited" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus" = { - options = { "conditions" = mkOption { description = ''`conditions` is the current state of "request-priority".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration" = { - options = { "handSize" = mkOption { - description = - "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; - type = (types.nullOr types.int); + description = "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; + type = types.nullOr types.int; }; "queueLengthLimit" = mkOption { - description = - "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; - type = (types.nullOr types.int); + description = "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; + type = types.nullOr types.int; }; "queues" = mkOption { - description = - "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; - type = (types.nullOr types.int); + description = "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; + type = types.nullOr types.int; }; }; @@ -14248,35 +12491,32 @@ let "queueLengthLimit" = mkOverride 1002 null; "queues" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule" = { - options = { "apiGroups" = mkOption { description = '' `apiGroups` is a list of matching API groups and may not be empty. "*" matches all API groups and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "clusterScope" = mkOption { - description = - "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; - type = (types.nullOr types.bool); + description = "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; + type = types.nullOr types.bool; }; "namespaces" = mkOption { description = '' `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*". Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -14284,10 +12524,8 @@ let "clusterScope" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject" = { - options = { "name" = mkOption { description = '' @@ -14295,21 +12533,18 @@ let type = types.str; }; "namespace" = mkOption { - description = - "`namespace` is the namespace of matching ServiceAccount objects. Required."; + description = "`namespace` is the namespace of matching ServiceAccount objects. Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.Subject" = { - options = { "group" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.GroupSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.GroupSubject"); }; "kind" = mkOption { description = "Required"; @@ -14318,11 +12553,11 @@ let "serviceAccount" = mkOption { description = ""; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject"); }; "user" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.UserSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.UserSubject"); }; }; @@ -14331,33 +12566,27 @@ let "serviceAccount" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.UserSubject" = { - options = { "name" = mkOption { - description = - ''`name` is the username that matches, or "*" to match all usernames. Required.''; + description = ''`name` is the username that matches, or "*" to match all usernames. Required.''; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.networking.v1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.networking.v1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -14372,7 +12601,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14380,22 +12609,18 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1.IPBlock" = { - options = { "cidr" = mkOption { description = '' @@ -14405,40 +12630,33 @@ let "except" = mkOption { description = '' Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; - config = { "except" = mkOverride 1002 null; }; - + config = {"except" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressStatus"); }; }; @@ -14449,20 +12667,18 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressBackend" = { - options = { "resource" = mkOption { description = '' Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "service" = mkOption { description = '' Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".''; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressServiceBackend")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressServiceBackend"); }; }; @@ -14470,30 +12686,24 @@ let "resource" = mkOverride 1002 null; "service" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassSpec")); + description = "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassSpec"); }; }; @@ -14503,28 +12713,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of IngressClasses."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressClass")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14533,20 +12739,17 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassSpec" = { - options = { "controller" = mkOption { description = '' Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "parameters" = mkOption { - description = - "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; }; @@ -14554,29 +12757,24 @@ let "controller" = mkOverride 1002 null; "parameters" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14585,10 +12783,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -14600,11 +12796,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.HTTPIngressRuleValue"); }; }; @@ -14612,48 +12808,38 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressServiceBackend" = { - options = { "name" = mkOption { - description = - "Name is the referenced service. The service must exist in the same namespace as the Ingress object."; + description = "Name is the referenced service. The service must exist in the same namespace as the Ingress object."; type = types.str; }; "port" = mkOption { - description = - "Port of the referenced service. A port name or port number is required for a IngressServiceBackend."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.ServiceBackendPort")); + description = "Port of the referenced service. A port name or port number is required for a IngressServiceBackend."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.ServiceBackendPort"); }; }; - config = { "port" = mkOverride 1002 null; }; - + config = {"port" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.IngressSpec" = { - options = { "defaultBackend" = mkOption { - description = - "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressBackend")); + description = "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressRule"))); + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressTLS"))); + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressTLS")); }; }; @@ -14663,32 +12849,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14696,29 +12877,24 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicy" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior for this NetworkPolicy."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.NetworkPolicySpec")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.NetworkPolicySpec"); }; }; @@ -14728,22 +12904,20 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyEgressRule" = { - options = { "ports" = mkOption { - description = - "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort"))); + description = "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort")); }; "to" = mkOption { - description = - "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer"))); + description = "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer")); }; }; @@ -14751,22 +12925,20 @@ let "ports" = mkOverride 1002 null; "to" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyIngressRule" = { - options = { "from" = mkOption { - description = - "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer"))); + description = "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer")); }; "ports" = mkOption { - description = - "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort"))); + description = "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort")); }; }; @@ -14774,29 +12946,24 @@ let "from" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicy")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicy"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14805,29 +12972,26 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyPeer" = { - options = { "ipBlock" = mkOption { - description = - "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IPBlock")); + description = "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IPBlock"); }; "namespaceSelector" = mkOption { description = '' Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "podSelector" = mkOption { description = '' This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -14836,20 +13000,16 @@ let "namespaceSelector" = mkOverride 1002 null; "podSelector" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyPort" = { - options = { "port" = mkOption { - description = - "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers."; - type = (types.nullOr (types.either types.int types.str)); + description = "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers."; + type = types.nullOr (types.either types.int types.str); }; "protocol" = mkOption { - description = - "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."; - type = (types.nullOr types.str); + description = "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."; + type = types.nullOr types.str; }; }; @@ -14857,32 +13017,29 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicySpec" = { - options = { "egress" = mkOption { - description = - "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyEgressRule"))); + description = "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyEgressRule")); }; "ingress" = mkOption { - description = - "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyIngressRule"))); + description = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyIngressRule")); }; "podSelector" = mkOption { - description = - "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "policyTypes" = mkOption { description = '' List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -14891,20 +13048,18 @@ let "ingress" = mkOverride 1002 null; "policyTypes" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.ServiceBackendPort" = { - options = { "name" = mkOption { description = '' Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "number" = mkOption { description = '' Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -14912,20 +13067,17 @@ let "name" = mkOverride 1002 null; "number" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -14940,7 +13092,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14948,47 +13100,38 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1beta1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressStatus"); }; }; @@ -14999,23 +13142,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressBackend" = { - options = { "resource" = mkOption { - description = - "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "serviceName" = mkOption { description = "Specifies the name of the referenced service."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "servicePort" = mkOption { description = "Specifies the port of the referenced service."; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; }; @@ -15024,30 +13164,24 @@ let "serviceName" = mkOverride 1002 null; "servicePort" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassSpec")); + description = "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassSpec"); }; }; @@ -15057,28 +13191,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of IngressClasses."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressClass")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15087,20 +13217,17 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassSpec" = { - options = { "controller" = mkOption { description = '' Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "parameters" = mkOption { - description = - "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; }; @@ -15108,29 +13235,24 @@ let "controller" = mkOverride 1002 null; "parameters" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15139,10 +13261,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -15154,11 +13274,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue"); }; }; @@ -15166,32 +13286,26 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressSpec" = { - options = { "backend" = mkOption { - description = - "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend")); + description = "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressRule"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressTLS"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressTLS")); }; }; @@ -15201,32 +13315,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1beta1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -15234,28 +13343,22 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "handler" = mkOption { description = '' @@ -15263,26 +13366,23 @@ let type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "overhead" = mkOption { description = '' Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/ This field is in beta starting v1.18 and is only honored by servers that enable the PodOverhead feature.''; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1.Overhead")); + type = types.nullOr (submoduleOf "io.k8s.api.node.v1.Overhead"); }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1.Scheduling"); }; }; @@ -15293,29 +13393,24 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15324,20 +13419,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -15345,43 +13436,34 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1alpha1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClassSpec"); + description = "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClassSpec"; }; }; @@ -15390,29 +13472,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15421,15 +13498,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.RuntimeClassSpec" = { - options = { "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Overhead")); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Overhead"); }; "runtimeHandler" = mkOption { description = '' @@ -15437,9 +13511,8 @@ let type = types.str; }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Scheduling"); }; }; @@ -15447,20 +13520,16 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -15468,28 +13537,22 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1beta1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "handler" = mkOption { description = '' @@ -15497,24 +13560,20 @@ let type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Overhead")); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Overhead"); }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Scheduling"); }; }; @@ -15525,29 +13584,24 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1beta1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1beta1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15556,20 +13610,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -15577,10 +13627,8 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.AllowedCSIDriver" = { - options = { "name" = mkOption { description = "Name is the registered name of the CSI driver"; @@ -15588,11 +13636,9 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.AllowedFlexVolume" = { - options = { "driver" = mkOption { description = "driver is the name of the Flexvolume driver."; @@ -15600,23 +13646,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.AllowedHostPath" = { - options = { "pathPrefix" = mkOption { description = '' pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."; - type = (types.nullOr types.bool); + description = "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."; + type = types.nullOr types.bool; }; }; @@ -15624,28 +13667,24 @@ let "pathPrefix" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.Eviction" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deleteOptions" = mkOption { description = "DeleteOptions may be provided"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "ObjectMeta describes the pod that is being evicted."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -15655,20 +13694,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."; - type = (types.nullOr types.str); + description = "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."; + type = types.nullOr types.str; }; }; @@ -15676,10 +13711,8 @@ let "ranges" = mkOverride 1002 null; "rule" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.HostPortRange" = { - options = { "max" = mkOption { description = "max is the end of the range, inclusive."; @@ -15691,11 +13724,9 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.IDRange" = { - options = { "max" = mkOption { description = "max is the end of the range, inclusive."; @@ -15707,33 +13738,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.PodDisruptionBudget" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec"); }; "status" = mkOption { description = "Most recently observed status of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus"); }; }; @@ -15744,28 +13771,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudget")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudget"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15774,25 +13797,22 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec" = { - options = { "maxUnavailable" = mkOption { description = '' An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "minAvailable" = mkOption { description = '' An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "selector" = mkOption { - description = - "Label query over pods whose evictions are managed by the disruption budget."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "Label query over pods whose evictions are managed by the disruption budget."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -15801,10 +13821,8 @@ let "minAvailable" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus" = { - options = { "currentHealthy" = mkOption { description = "current number of healthy pods"; @@ -15815,9 +13833,8 @@ let type = types.int; }; "disruptedPods" = mkOption { - description = - "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; + type = types.nullOr (types.attrsOf types.str); }; "disruptionsAllowed" = mkOption { description = "Number of pod disruptions that are currently allowed."; @@ -15828,9 +13845,8 @@ let type = types.int; }; "observedGeneration" = mkOption { - description = - "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; - type = (types.nullOr types.int); + description = "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; + type = types.nullOr types.int; }; }; @@ -15838,29 +13854,24 @@ let "disruptedPods" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicy" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec defines the policy enforced."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec"); }; }; @@ -15870,29 +13881,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicyList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicy")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicy"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15901,137 +13907,118 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec" = { - options = { "allowPrivilegeEscalation" = mkOption { - description = - "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."; - type = (types.nullOr types.bool); + description = "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."; + type = types.nullOr types.bool; }; "allowedCSIDrivers" = mkOption { - description = - "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedCSIDriver"))); + description = "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedCSIDriver")); }; "allowedCapabilities" = mkOption { - description = - "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."; - type = (types.nullOr (types.listOf types.str)); + description = "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."; + type = types.nullOr (types.listOf types.str); }; "allowedFlexVolumes" = mkOption { description = '' allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedFlexVolume"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedFlexVolume")); }; "allowedHostPaths" = mkOption { - description = - "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."; + description = "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedHostPath"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedHostPath")); }; "allowedProcMountTypes" = mkOption { - description = - "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."; - type = (types.nullOr (types.listOf types.str)); + description = "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."; + type = types.nullOr (types.listOf types.str); }; "allowedUnsafeSysctls" = mkOption { description = '' allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "defaultAddCapabilities" = mkOption { - description = - "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."; - type = (types.nullOr (types.listOf types.str)); + description = "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."; + type = types.nullOr (types.listOf types.str); }; "defaultAllowPrivilegeEscalation" = mkOption { - description = - "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."; - type = (types.nullOr types.bool); + description = "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."; + type = types.nullOr types.bool; }; "forbiddenSysctls" = mkOption { description = '' forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "fsGroup" = mkOption { - description = - "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions"); + description = "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."; + type = submoduleOf "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions"; }; "hostIPC" = mkOption { - description = - "hostIPC determines if the policy allows the use of HostIPC in the pod spec."; - type = (types.nullOr types.bool); + description = "hostIPC determines if the policy allows the use of HostIPC in the pod spec."; + type = types.nullOr types.bool; }; "hostNetwork" = mkOption { - description = - "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."; - type = (types.nullOr types.bool); + description = "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."; + type = types.nullOr types.bool; }; "hostPID" = mkOption { - description = - "hostPID determines if the policy allows the use of HostPID in the pod spec."; - type = (types.nullOr types.bool); + description = "hostPID determines if the policy allows the use of HostPID in the pod spec."; + type = types.nullOr types.bool; }; "hostPorts" = mkOption { description = "hostPorts determines which host port ranges are allowed to be exposed."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.HostPortRange"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.HostPortRange")); }; "privileged" = mkOption { description = "privileged determines if a pod can request to be run as privileged."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "readOnlyRootFilesystem" = mkOption { - description = - "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."; - type = (types.nullOr types.bool); + description = "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."; + type = types.nullOr types.bool; }; "requiredDropCapabilities" = mkOption { - description = - "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."; - type = (types.nullOr (types.listOf types.str)); + description = "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."; + type = types.nullOr (types.listOf types.str); }; "runAsGroup" = mkOption { - description = - "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions")); + description = "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled."; + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions"); }; "runAsUser" = mkOption { - description = - "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions"); + description = "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."; + type = submoduleOf "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions"; }; "runtimeClass" = mkOption { - description = - "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."; + description = "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."; type = - (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions")); + types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions"); }; "seLinux" = mkOption { - description = - "seLinux is the strategy that will dictate the allowable labels that may be set."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions"); + description = "seLinux is the strategy that will dictate the allowable labels that may be set."; + type = submoduleOf "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions"; }; "supplementalGroups" = mkOption { - description = - "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions"); + description = "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."; + type = submoduleOf "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions"; }; "volumes" = mkOption { - description = - "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."; - type = (types.nullOr (types.listOf types.str)); + description = "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."; + type = types.nullOr (types.listOf types.str); }; }; @@ -16057,92 +14044,73 @@ let "runtimeClass" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable RunAsGroup values that may be set."; + description = "rule is the strategy that will dictate the allowable RunAsGroup values that may be set."; type = types.str; }; }; - config = { "ranges" = mkOverride 1002 null; }; - + config = {"ranges" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable RunAsUser values that may be set."; + description = "rule is the strategy that will dictate the allowable RunAsUser values that may be set."; type = types.str; }; }; - config = { "ranges" = mkOverride 1002 null; }; - + config = {"ranges" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions" = { - options = { "allowedRuntimeClassNames" = mkOption { description = '' allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "defaultRuntimeClassName" = mkOption { - description = - "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."; - type = (types.nullOr types.str); + description = "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."; + type = types.nullOr types.str; }; }; - config = { "defaultRuntimeClassName" = mkOverride 1002 null; }; - + config = {"defaultRuntimeClassName" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions" = { - options = { "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable labels that may be set."; + description = "rule is the strategy that will dictate the allowable labels that may be set."; type = types.str; }; "seLinuxOptions" = mkOption { - description = - "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; }; - config = { "seLinuxOptions" = mkOverride 1002 null; }; - + config = {"seLinuxOptions" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."; - type = (types.nullOr types.str); + description = "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."; + type = types.nullOr types.str; }; }; @@ -16150,47 +14118,40 @@ let "ranges" = mkOverride 1002 null; "rule" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule")); }; }; @@ -16201,33 +14162,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject")); }; }; @@ -16237,28 +14193,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16267,28 +14219,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16297,35 +14245,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -16335,28 +14277,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule")); }; }; @@ -16366,33 +14304,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject")); }; }; @@ -16402,28 +14335,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16432,28 +14361,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16462,10 +14387,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -16481,16 +14404,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1.Subject" = { - options = { "apiGroup" = mkOption { description = '' APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -16504,7 +14425,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -16512,47 +14433,40 @@ let "apiGroup" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1alpha1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1alpha1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1alpha1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule")); }; }; @@ -16563,33 +14477,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject")); }; }; @@ -16599,28 +14508,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16629,28 +14534,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16659,35 +14560,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -16697,28 +14592,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule")); }; }; @@ -16728,33 +14619,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject")); }; }; @@ -16764,28 +14650,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16794,28 +14676,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16824,10 +14702,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -16843,16 +14719,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1alpha1.Subject" = { - options = { "apiVersion" = mkOption { description = '' APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -16866,7 +14740,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -16874,47 +14748,40 @@ let "apiVersion" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1beta1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1beta1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1beta1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule")); }; }; @@ -16925,33 +14792,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject")); }; }; @@ -16961,28 +14823,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16991,28 +14849,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17021,35 +14875,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -17059,28 +14907,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule")); }; }; @@ -17090,33 +14934,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject")); }; }; @@ -17126,28 +14965,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17156,28 +14991,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17186,10 +15017,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -17205,16 +15034,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1beta1.Subject" = { - options = { "apiGroup" = mkOption { description = '' APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -17228,7 +15055,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17236,44 +15063,35 @@ let "apiGroup" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -17286,29 +15104,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17317,44 +15130,35 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1alpha1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -17367,29 +15171,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1alpha1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1alpha1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1alpha1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17398,44 +15197,35 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1beta1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -17448,29 +15238,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1beta1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1beta1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1beta1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17479,29 +15264,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriver" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the CSI Driver."; - type = (submoduleOf "io.k8s.api.storage.v1.CSIDriverSpec"); + type = submoduleOf "io.k8s.api.storage.v1.CSIDriverSpec"; }; }; @@ -17510,29 +15290,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriverList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSIDriver"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.CSIDriver")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.CSIDriver"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17541,20 +15316,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriverSpec" = { - options = { "attachRequired" = mkOption { - description = - "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; - type = (types.nullOr types.bool); + description = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; + type = types.nullOr types.bool; }; "fsGroupPolicy" = mkOption { - description = - "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; - type = (types.nullOr types.str); + description = "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; + type = types.nullOr types.str; }; "podInfoOnMount" = mkOption { description = '' @@ -17562,7 +15333,7 @@ let defined by a CSIVolumeSource, otherwise "false" "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "requiresRepublish" = mkOption { description = '' @@ -17571,7 +15342,7 @@ let Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageCapacity" = mkOption { description = '' @@ -17582,7 +15353,7 @@ let Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "tokenRequests" = mkOption { description = '' @@ -17597,12 +15368,12 @@ let Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically. This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.''; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1.TokenRequest"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1.TokenRequest")); }; "volumeLifecycleModes" = mkOption { description = '' volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -17615,28 +15386,24 @@ let "tokenRequests" = mkOverride 1002 null; "volumeLifecycleModes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINode" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata.name must be the Kubernetes node name."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec is the specification of CSINode"; - type = (submoduleOf "io.k8s.api.storage.v1.CSINodeSpec"); + type = submoduleOf "io.k8s.api.storage.v1.CSINodeSpec"; }; }; @@ -17645,19 +15412,15 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeDriver" = { - options = { "allocatable" = mkOption { - description = - "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeNodeResources")); + description = "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeNodeResources"); }; "name" = mkOption { - description = - "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; + description = "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; type = types.str; }; "nodeID" = mkOption { @@ -17668,7 +15431,7 @@ let "topologyKeys" = mkOption { description = '' topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -17676,29 +15439,24 @@ let "allocatable" = mkOverride 1002 null; "topologyKeys" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSINode"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.CSINode")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.CSINode"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17707,73 +15465,64 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeSpec" = { - options = { "drivers" = mkOption { - description = - "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; - type = (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; + type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1.StorageClass" = { - options = { "allowVolumeExpansion" = mkOption { description = "AllowVolumeExpansion shows whether the storage class allow volume expand"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "allowedTopologies" = mkOption { - description = - "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; + description = "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm")); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "mountOptions" = mkOption { description = '' Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "parameters" = mkOption { - description = - "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; + type = types.nullOr (types.attrsOf types.str); }; "provisioner" = mkOption { description = "Provisioner indicates the type of the provisioner."; type = types.str; }; "reclaimPolicy" = mkOption { - description = - "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; - type = (types.nullOr types.str); + description = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; + type = types.nullOr types.str; }; "volumeBindingMode" = mkOption { - description = - "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; - type = (types.nullOr types.str); + description = "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; + type = types.nullOr types.str; }; }; @@ -17788,29 +15537,24 @@ let "reclaimPolicy" = mkOverride 1002 null; "volumeBindingMode" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.StorageClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of StorageClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.StorageClass")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.StorageClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17819,10 +15563,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.TokenRequest" = { - options = { "audience" = mkOption { description = '' @@ -17832,40 +15574,33 @@ let "expirationSeconds" = mkOption { description = '' ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "expirationSeconds" = mkOverride 1002 null; }; - + config = {"expirationSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentStatus"); }; }; @@ -17875,29 +15610,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17906,19 +15636,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17926,14 +15653,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -17942,35 +15666,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError"); }; }; @@ -17979,19 +15697,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17999,48 +15714,38 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeNodeResources" = { - options = { "count" = mkOption { - description = - "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."; - type = (types.nullOr types.int); + description = "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."; + type = types.nullOr types.int; }; }; - config = { "count" = mkOverride 1002 null; }; - + config = {"count" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1alpha1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus"); }; }; @@ -18050,29 +15755,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18081,19 +15781,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18101,14 +15798,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -18117,35 +15811,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError"); }; }; @@ -18154,19 +15842,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18174,29 +15859,24 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriver" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the CSI Driver."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriverSpec"); + type = submoduleOf "io.k8s.api.storage.v1beta1.CSIDriverSpec"; }; }; @@ -18205,29 +15885,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriverList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSIDriver"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriver")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriver"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18236,20 +15911,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriverSpec" = { - options = { "attachRequired" = mkOption { - description = - "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; - type = (types.nullOr types.bool); + description = "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called."; + type = types.nullOr types.bool; }; "fsGroupPolicy" = mkOption { - description = - "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; - type = (types.nullOr types.str); + description = "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate."; + type = types.nullOr types.str; }; "podInfoOnMount" = mkOption { description = '' @@ -18257,7 +15928,7 @@ let defined by a CSIVolumeSource, otherwise "false" "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "requiresRepublish" = mkOption { description = '' @@ -18266,7 +15937,7 @@ let Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageCapacity" = mkOption { description = '' @@ -18277,7 +15948,7 @@ let Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "tokenRequests" = mkOption { description = '' @@ -18293,12 +15964,12 @@ let This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.''; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.TokenRequest"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.TokenRequest")); }; "volumeLifecycleModes" = mkOption { description = '' VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -18311,28 +15982,24 @@ let "tokenRequests" = mkOverride 1002 null; "volumeLifecycleModes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINode" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata.name must be the Kubernetes node name."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec is the specification of CSINode"; - type = (submoduleOf "io.k8s.api.storage.v1beta1.CSINodeSpec"); + type = submoduleOf "io.k8s.api.storage.v1beta1.CSINodeSpec"; }; }; @@ -18341,19 +16008,15 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeDriver" = { - options = { "allocatable" = mkOption { - description = - "allocatable represents the volume resources of a node that are available for scheduling."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeNodeResources")); + description = "allocatable represents the volume resources of a node that are available for scheduling."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeNodeResources"); }; "name" = mkOption { - description = - "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; + description = "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; type = types.str; }; "nodeID" = mkOption { @@ -18364,7 +16027,7 @@ let "topologyKeys" = mkOption { description = '' topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -18372,29 +16035,24 @@ let "allocatable" = mkOverride 1002 null; "topologyKeys" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSINode"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSINode")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSINode"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18403,74 +16061,65 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeSpec" = { - options = { "drivers" = mkOption { - description = - "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; + description = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; type = - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1beta1.StorageClass" = { - options = { "allowVolumeExpansion" = mkOption { description = "AllowVolumeExpansion shows whether the storage class allow volume expand"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "allowedTopologies" = mkOption { - description = - "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; + description = "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm")); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "mountOptions" = mkOption { description = '' Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "parameters" = mkOption { - description = - "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; + type = types.nullOr (types.attrsOf types.str); }; "provisioner" = mkOption { description = "Provisioner indicates the type of the provisioner."; type = types.str; }; "reclaimPolicy" = mkOption { - description = - "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; - type = (types.nullOr types.str); + description = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; + type = types.nullOr types.str; }; "volumeBindingMode" = mkOption { - description = - "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; - type = (types.nullOr types.str); + description = "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; + type = types.nullOr types.str; }; }; @@ -18485,29 +16134,24 @@ let "reclaimPolicy" = mkOverride 1002 null; "volumeBindingMode" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.StorageClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of StorageClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.StorageClass")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.StorageClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18516,10 +16160,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.TokenRequest" = { - options = { "audience" = mkOption { description = '' @@ -18529,40 +16171,33 @@ let "expirationSeconds" = mkOption { description = '' ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "expirationSeconds" = mkOverride 1002 null; }; - + config = {"expirationSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1beta1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus"); }; }; @@ -18572,29 +16207,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18603,19 +16233,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18623,14 +16250,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -18639,35 +16263,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError"); }; }; @@ -18676,19 +16294,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18696,36 +16311,29 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeNodeResources" = { - options = { "count" = mkOption { - description = - "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."; - type = (types.nullOr types.int); + description = "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."; + type = types.nullOr types.int; }; }; - config = { "count" = mkOverride 1002 null; }; - + config = {"count" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" = { - options = { "description" = mkOption { description = "description is a human readable description of this column."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "format" = mkOption { - description = - "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = (types.nullOr types.str); + description = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.nullOr types.str; }; "jsonPath" = mkOption { - description = - "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; + description = "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; type = types.str; }; "name" = mkOption { @@ -18733,13 +16341,11 @@ let type = types.str; }; "priority" = mkOption { - description = - "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; - type = (types.nullOr types.int); + description = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; + type = types.nullOr types.int; }; "type" = mkOption { - description = - "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + description = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; type = types.str; }; }; @@ -18749,10 +16355,8 @@ let "format" = mkOverride 1002 null; "priority" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion" = { - options = { "strategy" = mkOption { description = '' @@ -18761,42 +16365,40 @@ let type = types.str; }; "webhook" = mkOption { - description = - "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion")); + description = "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion"); }; }; - config = { "webhook" = mkOverride 1002 null; }; - + config = {"webhook" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec describes how the user wants the resources to appear"; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec"; }; "status" = mkOption { description = "status indicates the actual state of the CustomResourceDefinition"; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus"); }; }; @@ -18806,33 +16408,27 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "lastTransitionTime last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "message is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "reason is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition. Can be True, False, Unknown."; type = types.str; }; "type" = mkOption { - description = - "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; + description = "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; type = types.str; }; }; @@ -18842,29 +16438,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items list individual CustomResourceDefinition objects"; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18873,40 +16466,33 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames" = { - options = { "categories" = mkOption { - description = - "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; - type = (types.nullOr (types.listOf types.str)); + description = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; + type = types.nullOr (types.listOf types.str); }; "kind" = mkOption { - description = - "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; + description = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; type = types.str; }; "listKind" = mkOption { description = '' listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "plural" = mkOption { - description = - "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; + description = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; type = types.str; }; "shortNames" = mkOption { - description = - "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; - type = (types.nullOr (types.listOf types.str)); + description = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; + type = types.nullOr (types.listOf types.str); }; "singular" = mkOption { - description = - "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; - type = (types.nullOr types.str); + description = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; + type = types.nullOr types.str; }; }; @@ -18916,41 +16502,39 @@ let "shortNames" = mkOverride 1002 null; "singular" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec" = { - options = { "conversion" = mkOption { description = "conversion defines conversion settings for the CRD."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion"); }; "group" = mkOption { - description = - "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; + description = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; type = types.str; }; "names" = mkOption { description = "names specify the resource and kind names for the custom resource."; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"; }; "preserveUnknownFields" = mkOption { - description = - "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; - type = (types.nullOr types.bool); + description = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; + type = types.nullOr types.bool; }; "scope" = mkOption { - description = - "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."; + description = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."; type = types.str; }; "versions" = mkOption { description = '' versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.''; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion"); }; }; @@ -18958,27 +16542,24 @@ let "conversion" = mkOverride 1002 null; "preserveUnknownFields" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus" = { - options = { "acceptedNames" = mkOption { - description = - "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames")); + description = "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"); }; "conditions" = mkOption { - description = - "conditions indicate state for particular aspects of a CustomResourceDefinition"; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition"))); + description = "conditions indicate state for particular aspects of a CustomResourceDefinition"; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition")); }; "storedVersions" = mkOption { - description = - "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; - type = (types.nullOr (types.listOf types.str)); + description = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; + type = types.nullOr (types.listOf types.str); }; }; @@ -18987,53 +16568,46 @@ let "conditions" = mkOverride 1002 null; "storedVersions" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" = { - options = { "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition"))); + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition")); }; "deprecated" = mkOption { - description = - "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; - type = (types.nullOr types.bool); + description = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; + type = types.nullOr types.bool; }; "deprecationWarning" = mkOption { - description = - "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; - type = (types.nullOr types.str); + description = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; + description = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; type = types.str; }; "schema" = mkOption { - description = - "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation")); + description = "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation"); }; "served" = mkOption { - description = - "served is a flag enabling/disabling this version from being served via REST APIs"; + description = "served is a flag enabling/disabling this version from being served via REST APIs"; type = types.bool; }; "storage" = mkOption { - description = - "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; + description = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; type = types.bool; }; "subresources" = mkOption { - description = - "subresources specify what subresources this version of the defined custom resource have."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources")); + description = "subresources specify what subresources this version of the defined custom resource have."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources"); }; }; @@ -19044,46 +16618,39 @@ let "schema" = mkOverride 1002 null; "subresources" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale" = { - options = { "labelSelectorPath" = mkOption { - description = - "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; - type = (types.nullOr types.str); + description = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; + type = types.nullOr types.str; }; "specReplicasPath" = mkOption { - description = - "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; + description = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; type = types.str; }; "statusReplicasPath" = mkOption { - description = - "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; + description = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; type = types.str; }; }; - config = { "labelSelectorPath" = mkOverride 1002 null; }; - + config = {"labelSelectorPath" = mkOverride 1002 null;}; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources" = { - options = { "scale" = mkOption { - description = - "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale")); + description = "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale"); }; "status" = mkOption { - description = - "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus")); + description = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus"); }; }; @@ -19091,32 +16658,28 @@ let "scale" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation" = { - options = { "openAPIV3Schema" = mkOption { - description = - "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); + description = "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"); }; }; - config = { "openAPIV3Schema" = mkOverride 1002 null; }; - + config = {"openAPIV3Schema" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" = { - options = { "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "url" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19124,179 +16687,186 @@ let "description" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" = { - options = { "$ref" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "$schema" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "additionalItems" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"); }; "additionalProperties" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"); }; "allOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "anyOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "default" = mkOption { - description = - "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false."; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); + description = "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false."; + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"); }; "definitions" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "dependencies" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enum" = mkOption { description = ""; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); }; "example" = mkOption { description = ""; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"); }; "exclusiveMaximum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "exclusiveMinimum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "externalDocs" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation"); }; "format" = mkOption { description = '' format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "id" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray"); }; "maxItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maximum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minimum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "multipleOf" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "not" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"); }; "nullable" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "oneOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "pattern" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "patternProperties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "properties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "required" = mkOption { description = ""; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "title" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uniqueItems" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-embedded-resource" = mkOption { - description = - "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; - type = (types.nullOr types.bool); + description = "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; + type = types.nullOr types.bool; }; "x-kubernetes-int-or-string" = mkOption { description = '' @@ -19310,7 +16880,7 @@ let - type: integer - type: string - ... zero or more''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-list-map-keys" = mkOption { description = '' @@ -19319,7 +16889,7 @@ let This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "x-kubernetes-list-type" = mkOption { description = '' @@ -19337,7 +16907,7 @@ let used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-map-type" = mkOption { description = '' @@ -19349,12 +16919,11 @@ let the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-preserve-unknown-fields" = mkOption { - description = - "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; - type = (types.nullOr types.bool); + description = "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; + type = types.nullOr types.bool; }; }; @@ -19403,13 +16972,11 @@ let "x-kubernetes-map-type" = mkOverride 1002 null; "x-kubernetes-preserve-unknown-fields" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference" = { - options = { "name" = mkOption { description = "name is the name of the service. Required"; @@ -19421,12 +16988,11 @@ let }; "path" = mkOption { description = "path is an optional URL path at which the webhook will be contacted."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; - type = (types.nullOr types.int); + description = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; + type = types.nullOr types.int; }; }; @@ -19434,23 +17000,21 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference"); }; "url" = mkOption { description = '' @@ -19465,7 +17029,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19474,75 +17038,63 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion" = { - options = { "clientConfig" = mkOption { - description = - "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig")); + description = "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig"); }; "conversionReviewVersions" = mkOption { - description = - "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."; - type = (types.listOf types.str); + description = "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."; + type = types.listOf types.str; }; }; - config = { "clientConfig" = mkOverride 1002 null; }; - + config = {"clientConfig" = mkOverride 1002 null;}; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" = - { - - options = { - "JSONPath" = mkOption { - description = - "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; - type = types.str; - }; - "description" = mkOption { - description = "description is a human readable description of this column."; - type = (types.nullOr types.str); - }; - "format" = mkOption { - description = - "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = (types.nullOr types.str); - }; - "name" = mkOption { - description = "name is a human readable name for the column."; - type = types.str; - }; - "priority" = mkOption { - description = - "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; - type = (types.nullOr types.int); - }; - "type" = mkOption { - description = - "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = types.str; - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" = { + options = { + "JSONPath" = mkOption { + description = "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; + type = types.str; }; - - config = { - "description" = mkOverride 1002 null; - "format" = mkOverride 1002 null; - "priority" = mkOverride 1002 null; + "description" = mkOption { + description = "description is a human readable description of this column."; + type = types.nullOr types.str; + }; + "format" = mkOption { + description = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.nullOr types.str; + }; + "name" = mkOption { + description = "name is a human readable name for the column."; + type = types.str; + }; + "priority" = mkOption { + description = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; + type = types.nullOr types.int; + }; + "type" = mkOption { + description = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" = { + config = { + "description" = mkOverride 1002 null; + "format" = mkOverride 1002 null; + "priority" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" = { options = { "conversionReviewVersions" = mkOption { description = '' conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `["v1beta1"]`.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "strategy" = mkOption { description = '' @@ -19551,10 +17103,10 @@ let type = types.str; }; "webhookClientConfig" = mkOption { - description = - "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig")); + description = "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig"); }; }; @@ -19562,34 +17114,32 @@ let "conversionReviewVersions" = mkOverride 1002 null; "webhookClientConfig" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec describes how the user wants the resources to appear"; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec"; }; "status" = mkOption { description = "status indicates the actual state of the CustomResourceDefinition"; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus"); }; }; @@ -19599,66 +17149,56 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" = - { - - options = { - "lastTransitionTime" = mkOption { - description = - "lastTransitionTime last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); - }; - "message" = mkOption { - description = - "message is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); - }; - "reason" = mkOption { - description = - "reason is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); - }; - "status" = mkOption { - description = "status is the status of the condition. Can be True, False, Unknown."; - type = types.str; - }; - "type" = mkOption { - description = - "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; - type = types.str; - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" = { + options = { + "lastTransitionTime" = mkOption { + description = "lastTransitionTime last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; - - config = { - "lastTransitionTime" = mkOverride 1002 null; - "message" = mkOverride 1002 null; - "reason" = mkOverride 1002 null; + "message" = mkOption { + description = "message is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; + }; + "reason" = mkOption { + description = "reason is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; + }; + "status" = mkOption { + description = "status is the status of the condition. Can be True, False, Unknown."; + type = types.str; + }; + "type" = mkOption { + description = "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; + type = types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" = { + config = { + "lastTransitionTime" = mkOverride 1002 null; + "message" = mkOverride 1002 null; + "reason" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" = { options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items list individual CustomResourceDefinition objects"; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -19667,108 +17207,97 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" = - { - - options = { - "categories" = mkOption { - description = - "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; - type = (types.nullOr (types.listOf types.str)); - }; - "kind" = mkOption { - description = - "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; - type = types.str; - }; - "listKind" = mkOption { - description = '' - listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; - type = (types.nullOr types.str); - }; - "plural" = mkOption { - description = - "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; - type = types.str; - }; - "shortNames" = mkOption { - description = - "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; - type = (types.nullOr (types.listOf types.str)); - }; - "singular" = mkOption { - description = - "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; - type = (types.nullOr types.str); - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" = { + options = { + "categories" = mkOption { + description = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; + type = types.nullOr (types.listOf types.str); }; - - config = { - "categories" = mkOverride 1002 null; - "listKind" = mkOverride 1002 null; - "shortNames" = mkOverride 1002 null; - "singular" = mkOverride 1002 null; + "kind" = mkOption { + description = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; + type = types.str; + }; + "listKind" = mkOption { + description = '' + listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; + type = types.nullOr types.str; + }; + "plural" = mkOption { + description = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; + type = types.str; + }; + "shortNames" = mkOption { + description = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; + type = types.nullOr (types.listOf types.str); + }; + "singular" = mkOption { + description = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; + type = types.nullOr types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec" = { + config = { + "categories" = mkOverride 1002 null; + "listKind" = mkOverride 1002 null; + "shortNames" = mkOverride 1002 null; + "singular" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec" = { options = { "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition"))); + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition")); }; "conversion" = mkOption { description = "conversion defines conversion settings for the CRD."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion"); }; "group" = mkOption { - description = - "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; + description = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; type = types.str; }; "names" = mkOption { description = "names specify the resource and kind names for the custom resource."; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"; }; "preserveUnknownFields" = mkOption { - description = - "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; - type = (types.nullOr types.bool); + description = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; + type = types.nullOr types.bool; }; "scope" = mkOption { - description = - "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."; + description = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."; type = types.str; }; "subresources" = mkOption { - description = - "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources")); + description = "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"); }; "validation" = mkOption { - description = - "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation")); + description = "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation"); }; "version" = mkOption { - description = - "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."; - type = (types.nullOr types.str); + description = "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."; + type = types.nullOr types.str; }; "versions" = mkOption { description = '' versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.''; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion")); }; }; @@ -19781,136 +17310,115 @@ let "version" = mkOverride 1002 null; "versions" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" = - { - - options = { - "acceptedNames" = mkOption { - description = - "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames")); - }; - "conditions" = mkOption { - description = - "conditions indicate state for particular aspects of a CustomResourceDefinition"; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition"))); - }; - "storedVersions" = mkOption { - description = - "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; - type = (types.nullOr (types.listOf types.str)); - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" = { + options = { + "acceptedNames" = mkOption { + description = "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"); }; - - config = { - "acceptedNames" = mkOverride 1002 null; - "conditions" = mkOverride 1002 null; - "storedVersions" = mkOverride 1002 null; + "conditions" = mkOption { + description = "conditions indicate state for particular aspects of a CustomResourceDefinition"; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition")); + }; + "storedVersions" = mkOption { + description = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; + type = types.nullOr (types.listOf types.str); }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" = - { - - options = { - "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition"))); - }; - "deprecated" = mkOption { - description = - "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; - type = (types.nullOr types.bool); - }; - "deprecationWarning" = mkOption { - description = - "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; - type = (types.nullOr types.str); - }; - "name" = mkOption { - description = - "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; - type = types.str; - }; - "schema" = mkOption { - description = - "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation")); - }; - "served" = mkOption { - description = - "served is a flag enabling/disabling this version from being served via REST APIs"; - type = types.bool; - }; - "storage" = mkOption { - description = - "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; - type = types.bool; - }; - "subresources" = mkOption { - description = - "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources")); - }; - }; - - config = { - "additionalPrinterColumns" = mkOverride 1002 null; - "deprecated" = mkOverride 1002 null; - "deprecationWarning" = mkOverride 1002 null; - "schema" = mkOverride 1002 null; - "subresources" = mkOverride 1002 null; - }; + config = { + "acceptedNames" = mkOverride 1002 null; + "conditions" = mkOverride 1002 null; + "storedVersions" = mkOverride 1002 null; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" = - { - - options = { - "labelSelectorPath" = mkOption { - description = - "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; - type = (types.nullOr types.str); - }; - "specReplicasPath" = mkOption { - description = - "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; - type = types.str; - }; - "statusReplicasPath" = mkOption { - description = - "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; - type = types.str; - }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" = { + options = { + "additionalPrinterColumns" = mkOption { + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition")); + }; + "deprecated" = mkOption { + description = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; + type = types.nullOr types.bool; + }; + "deprecationWarning" = mkOption { + description = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; + type = types.nullOr types.str; + }; + "name" = mkOption { + description = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; + type = types.str; + }; + "schema" = mkOption { + description = "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation"); + }; + "served" = mkOption { + description = "served is a flag enabling/disabling this version from being served via REST APIs"; + type = types.bool; + }; + "storage" = mkOption { + description = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; + type = types.bool; + }; + "subresources" = mkOption { + description = "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"); }; - - config = { "labelSelectorPath" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" = - { }; + + config = { + "additionalPrinterColumns" = mkOverride 1002 null; + "deprecated" = mkOverride 1002 null; + "deprecationWarning" = mkOverride 1002 null; + "schema" = mkOverride 1002 null; + "subresources" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" = { + options = { + "labelSelectorPath" = mkOption { + description = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; + type = types.nullOr types.str; + }; + "specReplicasPath" = mkOption { + description = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; + type = types.str; + }; + "statusReplicasPath" = mkOption { + description = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; + type = types.str; + }; + }; + + config = {"labelSelectorPath" = mkOverride 1002 null;}; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" = { - options = { "scale" = mkOption { - description = - "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale")); + description = "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale"); }; "status" = mkOption { - description = - "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus")); + description = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus"); }; }; @@ -19918,32 +17426,28 @@ let "scale" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" = { - options = { "openAPIV3Schema" = mkOption { - description = - "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); + description = "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"); }; }; - config = { "openAPIV3Schema" = mkOverride 1002 null; }; - + config = {"openAPIV3Schema" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" = { - options = { "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "url" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19951,179 +17455,186 @@ let "description" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" = { - options = { "$ref" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "$schema" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "additionalItems" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool"); }; "additionalProperties" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool"); }; "allOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "anyOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "default" = mkOption { - description = - "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); + description = "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."; + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"); }; "definitions" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "dependencies" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enum" = mkOption { description = ""; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); }; "example" = mkOption { description = ""; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"); }; "exclusiveMaximum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "exclusiveMinimum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "externalDocs" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation"); }; "format" = mkOption { description = '' format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "id" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray"); }; "maxItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maximum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minimum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "multipleOf" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "not" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"); }; "nullable" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "oneOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "pattern" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "patternProperties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "properties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "required" = mkOption { description = ""; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "title" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uniqueItems" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-embedded-resource" = mkOption { - description = - "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; - type = (types.nullOr types.bool); + description = "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; + type = types.nullOr types.bool; }; "x-kubernetes-int-or-string" = mkOption { description = '' @@ -20137,7 +17648,7 @@ let - type: integer - type: string - ... zero or more''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-list-map-keys" = mkOption { description = '' @@ -20146,7 +17657,7 @@ let This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "x-kubernetes-list-type" = mkOption { description = '' @@ -20164,7 +17675,7 @@ let used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-map-type" = mkOption { description = '' @@ -20176,12 +17687,11 @@ let the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-preserve-unknown-fields" = mkOption { - description = - "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; - type = (types.nullOr types.bool); + description = "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; + type = types.nullOr types.bool; }; }; @@ -20230,13 +17740,11 @@ let "x-kubernetes-map-type" = mkOverride 1002 null; "x-kubernetes-preserve-unknown-fields" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "name is the name of the service. Required"; @@ -20248,12 +17756,11 @@ let }; "path" = mkOption { description = "path is an optional URL path at which the webhook will be contacted."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; - type = (types.nullOr types.int); + description = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; + type = types.nullOr types.int; }; }; @@ -20261,23 +17768,21 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference"); }; "url" = mkOption { description = '' @@ -20292,7 +17797,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20301,42 +17806,39 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.api.resource.Quantity" = { }; + "io.k8s.apimachinery.pkg.api.resource.Quantity" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { description = "name is the name of the group."; type = types.str; }; "preferredVersion" = mkOption { - description = - "preferredVersion is the version preferred by the API server, which probably is the storage version."; - type = (types.nullOr - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")); + description = "preferredVersion is the version preferred by the API server, which probably is the storage version."; + type = + types.nullOr + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"); }; "serverAddressByClientCIDRs" = mkOption { - description = - "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"))); + description = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")); }; "versions" = mkOption { description = "versions are the versions supported in this group."; - type = (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")); + type = + types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"); }; }; @@ -20346,24 +17848,20 @@ let "preferredVersion" = mkOverride 1002 null; "serverAddressByClientCIDRs" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "groups" = mkOption { description = "groups is a list of APIGroup."; - type = (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup")); + type = types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; }; @@ -20371,24 +17869,20 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" = { - options = { "categories" = mkOption { - description = - "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"; - type = (types.nullOr (types.listOf types.str)); + description = "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"; + type = types.nullOr (types.listOf types.str); }; "group" = mkOption { description = '' group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"; + description = "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"; type = types.str; }; "name" = mkOption { @@ -20401,27 +17895,24 @@ let }; "shortNames" = mkOption { description = "shortNames is a list of suggested short names of the resource."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "singularName" = mkOption { - description = - "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."; + description = "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."; type = types.str; }; "storageVersionHash" = mkOption { - description = - "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates."; - type = (types.nullOr types.str); + description = "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates."; + type = types.nullOr types.str; }; "verbs" = mkOption { - description = - "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"; - type = (types.listOf types.str); + description = "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"; + type = types.listOf types.str; }; "version" = mkOption { description = '' version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20432,28 +17923,24 @@ let "storageVersionHash" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "groupVersion" = mkOption { description = "groupVersion is the group and version this APIResourceList is for."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "resources" = mkOption { description = "resources contains the name of the resources and if they are namespaced."; - type = (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource")); + type = types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource"); }; }; @@ -20461,30 +17948,26 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "serverAddressByClientCIDRs" = mkOption { - description = - "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; - type = (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")); + description = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; + type = + types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"); }; "versions" = mkOption { description = "versions are the api versions that are available."; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -20492,29 +17975,23 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.Condition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable."; + description = "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable."; type = types.str; }; "message" = mkOption { - description = - "message is a human readable message indicating details about the transition. This may be an empty string."; + description = "message is a human readable message indicating details about the transition. This may be an empty string."; type = types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."; - type = (types.nullOr types.int); + description = "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."; + type = types.nullOr types.int; }; "reason" = mkOption { - description = - "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."; + description = "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."; type = types.str; }; "status" = mkOption { @@ -20527,46 +18004,38 @@ let }; }; - config = { "observedGeneration" = mkOverride 1002 null; }; - + config = {"observedGeneration" = mkOverride 1002 null;}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "dryRun" = mkOption { - description = - "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed"; - type = (types.nullOr (types.listOf types.str)); + description = "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed"; + type = types.nullOr (types.listOf types.str); }; "gracePeriodSeconds" = mkOption { - description = - "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately."; - type = (types.nullOr types.int); + description = "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately."; + type = types.nullOr types.int; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "orphanDependents" = mkOption { description = '' Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "preconditions" = mkOption { - description = - "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions")); + description = "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"); }; "propagationPolicy" = mkOption { - description = - "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."; - type = (types.nullOr types.str); + description = "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."; + type = types.nullOr types.str; }; }; @@ -20579,15 +18048,12 @@ let "preconditions" = mkOverride 1002 null; "propagationPolicy" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" = { - options = { "groupVersion" = mkOption { - description = - ''groupVersion specifies the API group and version in the form "group/version"''; + description = ''groupVersion specifies the API group and version in the form "group/version"''; type = types.str; }; "version" = mkOption { @@ -20597,22 +18063,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" = { - options = { "matchExpressions" = mkOption { - description = - "matchExpressions is a list of label selector requirements. The requirements are ANDed."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement"))); + description = "matchExpressions is a list of label selector requirements. The requirements are ANDed."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement")); }; "matchLabels" = mkOption { description = '' matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.''; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; }; @@ -20620,54 +18084,45 @@ let "matchExpressions" = mkOverride 1002 null; "matchLabels" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" = { - options = { "key" = mkOption { description = "key is the label key that the selector applies to."; type = types.str; }; "operator" = mkOption { - description = - "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."; + description = "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."; type = types.str; }; "values" = mkOption { - description = - "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" = { - options = { "continue" = mkOption { - description = - "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message."; - type = (types.nullOr types.str); + description = "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message."; + type = types.nullOr types.str; }; "remainingItemCount" = mkOption { - description = - "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact."; - type = (types.nullOr types.int); + description = "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact."; + type = types.nullOr types.int; }; "resourceVersion" = mkOption { - description = - "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; - type = (types.nullOr types.str); + description = "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; + type = types.nullOr types.str; }; "selfLink" = mkOption { description = '' selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20677,39 +18132,34 @@ let "resourceVersion" = mkOverride 1002 null; "selfLink" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" = { - options = { "apiVersion" = mkOption { description = '' APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldsType" = mkOption { description = '' FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldsV1" = mkOption { - description = - ''FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1")); + description = ''FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.''; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1"); }; "manager" = mkOption { description = "Manager is an identifier of the workflow managing these fields."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "operation" = mkOption { - description = - "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."; - type = (types.nullOr types.str); + description = "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."; + type = types.nullOr types.str; }; "time" = mkOption { - description = - "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"; - type = (types.nullOr types.str); + description = "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"; + type = types.nullOr types.str; }; }; @@ -20721,45 +18171,39 @@ let "operation" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" = { - options = { "annotations" = mkOption { - description = - "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"; + type = types.nullOr (types.attrsOf types.str); }; "clusterName" = mkOption { - description = - "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."; - type = (types.nullOr types.str); + description = "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."; + type = types.nullOr types.str; }; "creationTimestamp" = mkOption { description = '' CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "deletionGracePeriodSeconds" = mkOption { - description = - "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."; - type = (types.nullOr types.int); + description = "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."; + type = types.nullOr types.int; }; "deletionTimestamp" = mkOption { description = '' DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "finalizers" = mkOption { - description = - "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."; - type = (types.nullOr (types.listOf types.str)); + description = "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."; + type = types.nullOr (types.listOf types.str); }; "generateName" = mkOption { description = '' @@ -20768,63 +18212,64 @@ let If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "generation" = mkOption { - description = - "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."; - type = (types.nullOr types.int); + description = "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."; + type = types.nullOr types.int; }; "labels" = mkOption { - description = - "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"; + type = types.nullOr (types.attrsOf types.str); }; "managedFields" = mkOption { description = '' ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry")); }; "name" = mkOption { - description = - "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; - type = (types.nullOr types.str); + description = "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ownerReferences" = mkOption { - description = - "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "resourceVersion" = mkOption { description = '' An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "selfLink" = mkOption { description = '' SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = '' UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20846,10 +18291,8 @@ let "selfLink" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; @@ -20858,25 +18301,22 @@ let "blockOwnerDeletion" = mkOption { description = '' If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "controller" = mkOption { description = "If true, this reference points to the managing controller."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + description = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; "uid" = mkOption { - description = - "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; + description = "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; type = types.str; }; }; @@ -20885,19 +18325,17 @@ let "blockOwnerDeletion" = mkOverride 1002 null; "controller" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.Patch" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.Patch" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions" = { - options = { "resourceVersion" = mkOption { description = "Specifies the target ResourceVersion"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = "Specifies the target UID."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20905,66 +18343,56 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" = { - options = { "clientCIDR" = mkOption { - description = - "The CIDR with which clients can match their IP to figure out the server address that they should use."; + description = "The CIDR with which clients can match their IP to figure out the server address that they should use."; type = types.str; }; "serverAddress" = mkOption { - description = - "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."; + description = "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.Status" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "code" = mkOption { description = "Suggested HTTP return code for this status, 0 if not set."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "details" = mkOption { - description = - "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails")); + description = "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "message" = mkOption { description = "A human-readable description of the status of this operation."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; "reason" = mkOption { description = '' A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20978,10 +18406,8 @@ let "reason" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" = { - options = { "field" = mkOption { description = '' @@ -20990,17 +18416,15 @@ let Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { - description = - "A human-readable description of the cause of the error. This field may be presented as-is to a reader."; - type = (types.nullOr types.str); + description = "A human-readable description of the cause of the error. This field may be presented as-is to a reader."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "A machine-readable description of the cause of the error. If this value is empty there is no information available."; - type = (types.nullOr types.str); + description = "A machine-readable description of the cause of the error. If this value is empty there is no information available."; + type = types.nullOr types.str; }; }; @@ -21009,41 +18433,34 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails" = { - options = { "causes" = mkOption { - description = - "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause"))); + description = "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause")); }; "group" = mkOption { - description = - "The group attribute of the resource associated with the status StatusReason."; - type = (types.nullOr types.str); + description = "The group attribute of the resource associated with the status StatusReason."; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."; - type = (types.nullOr types.str); + description = "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."; + type = types.nullOr types.str; }; "retryAfterSeconds" = mkOption { - description = - "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."; - type = (types.nullOr types.int); + description = "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."; + type = types.nullOr types.int; }; "uid" = mkOption { - description = - "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; - type = (types.nullOr types.str); + description = "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; + type = types.nullOr types.str; }; }; @@ -21055,11 +18472,9 @@ let "retryAfterSeconds" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.Time" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.Time" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" = { - options = { "object" = mkOption { description = '' @@ -21068,7 +18483,7 @@ let * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context.''; - type = (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"); + type = submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"; }; "type" = mkOption { description = ""; @@ -21076,13 +18491,11 @@ let }; }; - config = { }; - + config = {}; }; - "io.k8s.apimachinery.pkg.runtime.RawExtension" = { }; - "io.k8s.apimachinery.pkg.util.intstr.IntOrString" = { }; + "io.k8s.apimachinery.pkg.runtime.RawExtension" = {}; + "io.k8s.apimachinery.pkg.util.intstr.IntOrString" = {}; "io.k8s.apimachinery.pkg.version.Info" = { - options = { "buildDate" = mkOption { description = ""; @@ -21122,35 +18535,33 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec contains information for locating and communicating with a server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec"); }; "status" = mkOption { description = "Status contains derived information about an API server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus"); }; }; @@ -21161,22 +18572,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status is the status of the condition. Can be True, False, Unknown."; @@ -21193,29 +18602,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService")); + type = + types.listOf + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -21224,39 +18630,34 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec" = { - options = { "caBundle" = mkOption { - description = - "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "group" = mkOption { description = "Group is the API group name this server hosts"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "groupPriorityMinimum" = mkOption { - description = - "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; + description = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; type = types.int; }; "insecureSkipTLSVerify" = mkOption { - description = - "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; - type = (types.nullOr types.bool); + description = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; + type = types.nullOr types.bool; }; "service" = mkOption { - description = - "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference")); + description = "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference"); }; "version" = mkOption { description = ''Version is the API version this server hosts. For example, "v1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "versionPriority" = mkOption { description = '' @@ -21272,37 +18673,36 @@ let "service" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state of apiService."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference" = { - options = { "name" = mkOption { description = "Name is the name of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace is the namespace of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -21311,34 +18711,32 @@ let "namespace" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec contains information for locating and communicating with a server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec"); }; "status" = mkOption { description = "Status contains derived information about an API server"; - type = (types.nullOr (submoduleOf - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus"); }; }; @@ -21349,22 +18747,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status is the status of the condition. Can be True, False, Unknown."; @@ -21381,29 +18777,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService")); + type = + types.listOf + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -21412,39 +18805,34 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec" = { - options = { "caBundle" = mkOption { - description = - "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "group" = mkOption { description = "Group is the API group name this server hosts"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "groupPriorityMinimum" = mkOption { - description = - "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; + description = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; type = types.int; }; "insecureSkipTLSVerify" = mkOption { - description = - "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; - type = (types.nullOr types.bool); + description = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; + type = types.nullOr types.bool; }; "service" = mkOption { - description = - "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; - type = (types.nullOr (submoduleOf - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference")); + description = "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; + type = + types.nullOr (submoduleOf + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference"); }; "version" = mkOption { description = ''Version is the API version this server hosts. For example, "v1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "versionPriority" = mkOption { description = '' @@ -21460,37 +18848,36 @@ let "service" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state of apiService."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "Name is the name of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace is the namespace of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -21499,1233 +18886,1270 @@ let "namespace" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; - }; -in -{ +in { # all resource versions options = { - resources = { - "admissionregistration.k8s.io"."v1"."MutatingWebhookConfiguration" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + resources = + { + "admissionregistration.k8s.io"."v1"."MutatingWebhookConfiguration" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1"."ValidatingWebhookConfiguration" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1beta1"."MutatingWebhookConfiguration" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1"."ValidatingWebhookConfiguration" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1beta1"."MutatingWebhookConfiguration" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1beta1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1beta1"."ValidatingWebhookConfiguration" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1beta1")); - default = { }; - }; - "internal.apiserver.k8s.io"."v1alpha1"."StorageVersion" = mkOption { - description = "\n Storage version of a specific resource."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "apps"."v1"."ControllerRevision" = mkOption { - description = - "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" - "ControllerRevision" "apps" "v1")); - default = { }; - }; - "apps"."v1"."DaemonSet" = mkOption { - description = "DaemonSet represents the configuration of a daemon set."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."Deployment" = mkOption { - description = "Deployment enables declarative updates for Pods and ReplicaSets."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."ReplicaSet" = mkOption { - description = - "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."StatefulSet" = mkOption { - description = '' - StatefulSet represents a set of pods with consistent identities. Identities are defined as: - - Network: A single stable DNS and hostname. - - Storage: As many VolumeClaims as requested. - The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" - "apps" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1"."TokenRequest" = mkOption { - description = "TokenRequest requests a token for a given service account."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" - "authentication.k8s.io" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1"."TokenReview" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1beta1"."TokenReview" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1beta1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1"."LocalSubjectAccessReview" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SelfSubjectAccessReview" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SelfSubjectRulesReview" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SubjectAccessReview" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."LocalSubjectAccessReview" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" - "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SelfSubjectAccessReview" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SelfSubjectRulesReview" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SubjectAccessReview" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "autoscaling"."v1"."HorizontalPodAutoscaler" = mkOption { - description = "configuration of a horizontal pod autoscaler."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v1")); - default = { }; - }; - "autoscaling"."v2beta1"."HorizontalPodAutoscaler" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta1")); - default = { }; - }; - "autoscaling"."v2beta2"."HorizontalPodAutoscaler" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2")); - default = { }; - }; - "batch"."v1"."Job" = mkOption { - description = "Job represents the configuration of a single job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1")); - default = { }; - }; - "batch"."v1beta1"."CronJob" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" - "v1beta1")); - default = { }; - }; - "batch"."v2alpha1"."CronJob" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v2alpha1.CronJob" "cronjobs" "CronJob" "batch" - "v2alpha1")); - default = { }; - }; - "certificates.k8s.io"."v1"."CertificateSigningRequest" = mkOption { - description = '' - CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + "admissionregistration.k8s.io" "v1beta1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1beta1"."ValidatingWebhookConfiguration" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1beta1"); + default = {}; + }; + "internal.apiserver.k8s.io"."v1alpha1"."StorageVersion" = mkOption { + description = "\n Storage version of a specific resource."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "apps"."v1"."ControllerRevision" = mkOption { + description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" + "ControllerRevision" "apps" "v1"); + default = {}; + }; + "apps"."v1"."DaemonSet" = mkOption { + description = "DaemonSet represents the configuration of a daemon set."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."Deployment" = mkOption { + description = "Deployment enables declarative updates for Pods and ReplicaSets."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."ReplicaSet" = mkOption { + description = "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."StatefulSet" = mkOption { + description = '' + StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" + "apps" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1"."TokenRequest" = mkOption { + description = "TokenRequest requests a token for a given service account."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" + "authentication.k8s.io" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1"."TokenReview" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1beta1"."TokenReview" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1beta1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1"."LocalSubjectAccessReview" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SelfSubjectAccessReview" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SelfSubjectRulesReview" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SubjectAccessReview" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."LocalSubjectAccessReview" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" + "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SelfSubjectAccessReview" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SelfSubjectRulesReview" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SubjectAccessReview" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "autoscaling"."v1"."HorizontalPodAutoscaler" = mkOption { + description = "configuration of a horizontal pod autoscaler."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v1"); + default = {}; + }; + "autoscaling"."v2beta1"."HorizontalPodAutoscaler" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta1"); + default = {}; + }; + "autoscaling"."v2beta2"."HorizontalPodAutoscaler" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2"); + default = {}; + }; + "batch"."v1"."Job" = mkOption { + description = "Job represents the configuration of a single job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1"); + default = {}; + }; + "batch"."v1beta1"."CronJob" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" + "v1beta1"); + default = {}; + }; + "batch"."v2alpha1"."CronJob" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v2alpha1.CronJob" "cronjobs" "CronJob" "batch" + "v2alpha1"); + default = {}; + }; + "certificates.k8s.io"."v1"."CertificateSigningRequest" = mkOption { + description = '' + CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. - Kubelets use this API to obtain: - 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). - 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). - This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1")); - default = { }; - }; - "certificates.k8s.io"."v1beta1"."CertificateSigningRequest" = mkOption { - description = "Describes a certificate signing request"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" - "v1beta1")); - default = { }; - }; - "coordination.k8s.io"."v1"."Lease" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1")); - default = { }; - }; - "coordination.k8s.io"."v1beta1"."Lease" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1beta1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1beta1")); - default = { }; - }; - "core"."v1"."Binding" = mkOption { - description = - "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1")); - default = { }; - }; - "core"."v1"."ConfigMap" = mkOption { - description = "ConfigMap holds configuration data for pods to consume."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" - "v1")); - default = { }; - }; - "core"."v1"."Endpoints" = mkOption { - description = '' - Endpoints is a collection of endpoints that implement the actual service. Example: - Name: "mysvc", - Subsets: [ - { - Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], - Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] - }, - { - Addresses: [{"ip": "10.10.3.3"}], - Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] - }, - ]''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" - "v1")); - default = { }; - }; - "core"."v1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1")); - default = { }; - }; - "core"."v1"."LimitRange" = mkOption { - description = - "LimitRange sets resource usage limits for each kind of resource in a Namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" - "v1")); - default = { }; - }; - "core"."v1"."Namespace" = mkOption { - description = - "Namespace provides a scope for Names. Use of multiple namespaces is optional."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" - "v1")); - default = { }; - }; - "core"."v1"."Node" = mkOption { - description = - "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1")); - default = { }; - }; - "core"."v1"."PersistentVolume" = mkOption { - description = - "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" - "PersistentVolume" "core" "v1")); - default = { }; - }; - "core"."v1"."PersistentVolumeClaim" = mkOption { - description = - "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" - "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1")); - default = { }; - }; - "core"."v1"."Pod" = mkOption { - description = - "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1")); - default = { }; - }; - "core"."v1"."PodTemplate" = mkOption { - description = "PodTemplate describes a template for creating copies of a predefined pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" - "core" "v1")); - default = { }; - }; - "core"."v1"."ReplicationController" = mkOption { - description = - "ReplicationController represents the configuration of a replication controller."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" - "replicationcontrollers" "ReplicationController" "core" "v1")); - default = { }; - }; - "core"."v1"."ResourceQuota" = mkOption { - description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" - "ResourceQuota" "core" "v1")); - default = { }; - }; - "core"."v1"."Secret" = mkOption { - description = - "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1")); - default = { }; - }; - "core"."v1"."Service" = mkOption { - description = - "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1")); - default = { }; - }; - "core"."v1"."ServiceAccount" = mkOption { - description = - "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" - "ServiceAccount" "core" "v1")); - default = { }; - }; - "discovery.k8s.io"."v1beta1"."EndpointSlice" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1beta1")); - default = { }; - }; - "events.k8s.io"."v1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.events.v1.Event" "events" "Event" "events.k8s.io" - "v1")); - default = { }; - }; - "events.k8s.io"."v1beta1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.events.v1beta1.Event" "events" "Event" "events.k8s.io" - "v1beta1")); - default = { }; - }; - "extensions"."v1beta1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.extensions.v1beta1.Ingress" "ingresses" "Ingress" - "extensions" "v1beta1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1alpha1"."FlowSchema" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1alpha1"."PriorityLevelConfiguration" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1beta1"."FlowSchema" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1beta1"."PriorityLevelConfiguration" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "networking.k8s.io"."v1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1"."IngressClass" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1"."NetworkPolicy" = mkOption { - description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" - "NetworkPolicy" "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1beta1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1beta1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1beta1")); - default = { }; - }; - "networking.k8s.io"."v1beta1"."IngressClass" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1beta1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1beta1")); - default = { }; - }; - "node.k8s.io"."v1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" - "node.k8s.io" "v1")); - default = { }; - }; - "node.k8s.io"."v1alpha1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1alpha1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1alpha1")); - default = { }; - }; - "node.k8s.io"."v1beta1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."Eviction" = mkOption { - description = - "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" - "policy" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."PodDisruptionBudget" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" - "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."PodSecurityPolicy" = mkOption { - description = - "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" - "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRole" "clusterroles" - "ClusterRole" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" - "clusterrolebindings" "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.RoleBinding" "rolebindings" - "RoleBinding" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1beta1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "scheduling.k8s.io"."v1"."PriorityClass" = mkOption { - description = - "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1")); - default = { }; - }; - "scheduling.k8s.io"."v1alpha1"."PriorityClass" = mkOption { - description = - "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1alpha1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1alpha1")); - default = { }; - }; - "scheduling.k8s.io"."v1beta1"."PriorityClass" = mkOption { - description = - "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1beta1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1"."CSIDriver" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."CSINode" = mkOption { - description = - "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."StorageClass" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1"); + default = {}; + }; + "certificates.k8s.io"."v1beta1"."CertificateSigningRequest" = mkOption { + description = "Describes a certificate signing request"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" + "v1beta1"); + default = {}; + }; + "coordination.k8s.io"."v1"."Lease" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1"); + default = {}; + }; + "coordination.k8s.io"."v1beta1"."Lease" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1beta1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1beta1"); + default = {}; + }; + "core"."v1"."Binding" = mkOption { + description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1"); + default = {}; + }; + "core"."v1"."ConfigMap" = mkOption { + description = "ConfigMap holds configuration data for pods to consume."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" + "v1"); + default = {}; + }; + "core"."v1"."Endpoints" = mkOption { + description = '' + Endpoints is a collection of endpoints that implement the actual service. Example: + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ]''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" + "v1"); + default = {}; + }; + "core"."v1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1"); + default = {}; + }; + "core"."v1"."LimitRange" = mkOption { + description = "LimitRange sets resource usage limits for each kind of resource in a Namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" + "v1"); + default = {}; + }; + "core"."v1"."Namespace" = mkOption { + description = "Namespace provides a scope for Names. Use of multiple namespaces is optional."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" + "v1"); + default = {}; + }; + "core"."v1"."Node" = mkOption { + description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1"); + default = {}; + }; + "core"."v1"."PersistentVolume" = mkOption { + description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" + "PersistentVolume" "core" "v1"); + default = {}; + }; + "core"."v1"."PersistentVolumeClaim" = mkOption { + description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" + "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1"); + default = {}; + }; + "core"."v1"."Pod" = mkOption { + description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1"); + default = {}; + }; + "core"."v1"."PodTemplate" = mkOption { + description = "PodTemplate describes a template for creating copies of a predefined pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" + "core" "v1"); + default = {}; + }; + "core"."v1"."ReplicationController" = mkOption { + description = "ReplicationController represents the configuration of a replication controller."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" + "replicationcontrollers" "ReplicationController" "core" "v1"); + default = {}; + }; + "core"."v1"."ResourceQuota" = mkOption { + description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" + "ResourceQuota" "core" "v1"); + default = {}; + }; + "core"."v1"."Secret" = mkOption { + description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1"); + default = {}; + }; + "core"."v1"."Service" = mkOption { + description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1"); + default = {}; + }; + "core"."v1"."ServiceAccount" = mkOption { + description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" + "ServiceAccount" "core" "v1"); + default = {}; + }; + "discovery.k8s.io"."v1beta1"."EndpointSlice" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1beta1"); + default = {}; + }; + "events.k8s.io"."v1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.events.v1.Event" "events" "Event" "events.k8s.io" + "v1"); + default = {}; + }; + "events.k8s.io"."v1beta1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.events.v1beta1.Event" "events" "Event" "events.k8s.io" + "v1beta1"); + default = {}; + }; + "extensions"."v1beta1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.extensions.v1beta1.Ingress" "ingresses" "Ingress" + "extensions" "v1beta1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1alpha1"."FlowSchema" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1alpha1"."PriorityLevelConfiguration" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1beta1"."FlowSchema" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1beta1"."PriorityLevelConfiguration" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "networking.k8s.io"."v1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1"."IngressClass" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1"."NetworkPolicy" = mkOption { + description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" + "NetworkPolicy" "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1beta1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1beta1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1beta1"); + default = {}; + }; + "networking.k8s.io"."v1beta1"."IngressClass" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1beta1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1beta1"); + default = {}; + }; + "node.k8s.io"."v1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" + "node.k8s.io" "v1"); + default = {}; + }; + "node.k8s.io"."v1alpha1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1alpha1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1alpha1"); + default = {}; + }; + "node.k8s.io"."v1beta1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."Eviction" = mkOption { + description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" + "policy" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."PodDisruptionBudget" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."PodSecurityPolicy" = mkOption { + description = "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRole" "clusterroles" + "ClusterRole" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" + "clusterrolebindings" "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.RoleBinding" "rolebindings" + "RoleBinding" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1beta1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "scheduling.k8s.io"."v1"."PriorityClass" = mkOption { + description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1"); + default = {}; + }; + "scheduling.k8s.io"."v1alpha1"."PriorityClass" = mkOption { + description = "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1alpha1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1alpha1"); + default = {}; + }; + "scheduling.k8s.io"."v1beta1"."PriorityClass" = mkOption { + description = "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1beta1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1"."CSIDriver" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."CSINode" = mkOption { + description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."StorageClass" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1alpha1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1alpha1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1alpha1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1alpha1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSIDriver" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSINode" = mkOption { - description = - "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."StorageClass" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1alpha1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1alpha1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSIDriver" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSINode" = mkOption { + description = "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."StorageClass" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "apiextensions.k8s.io"."v1"."CustomResourceDefinition" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1")); - default = { }; - }; - "apiextensions.k8s.io"."v1beta1"."CustomResourceDefinition" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1beta1")); - default = { }; - }; - "apiregistration.k8s.io"."v1"."APIService" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - "apiservices" "APIService" "apiregistration.k8s.io" "v1")); - default = { }; - }; - "apiregistration.k8s.io"."v1beta1"."APIService" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" "apiservices" - "APIService" "apiregistration.k8s.io" "v1beta1")); - default = { }; - }; + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "apiextensions.k8s.io"."v1"."CustomResourceDefinition" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1"); + default = {}; + }; + "apiextensions.k8s.io"."v1beta1"."CustomResourceDefinition" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1beta1"); + default = {}; + }; + "apiregistration.k8s.io"."v1"."APIService" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "apiservices" "APIService" "apiregistration.k8s.io" "v1"); + default = {}; + }; + "apiregistration.k8s.io"."v1beta1"."APIService" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = types.attrsOf (submoduleForDefinition + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" "apiservices" + "APIService" "apiregistration.k8s.io" "v1beta1"); + default = {}; + }; + } + // { + "APIServices" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "apiservices" "APIService" "apiregistration.k8s.io" "v1"); + default = {}; + }; + "bindings" = mkOption { + description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1"); + default = {}; + }; + "cSIDrivers" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1"); + default = {}; + }; + "cSINodes" = mkOption { + description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1"); + default = {}; + }; + "certificateSigningRequests" = mkOption { + description = '' + CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. - } // { - "APIServices" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - "apiservices" "APIService" "apiregistration.k8s.io" "v1")); - default = { }; - }; - "bindings" = mkOption { - description = - "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1")); - default = { }; - }; - "cSIDrivers" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1")); - default = { }; - }; - "cSINodes" = mkOption { - description = - "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1")); - default = { }; - }; - "certificateSigningRequests" = mkOption { - description = '' - CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). - Kubelets use this API to obtain: - 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). - 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1"); + default = {}; + }; + "clusterRoles" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "clusterRoleBindings" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "configMaps" = mkOption { + description = "ConfigMap holds configuration data for pods to consume."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" + "v1"); + default = {}; + }; + "controllerRevisions" = mkOption { + description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" + "ControllerRevision" "apps" "v1"); + default = {}; + }; + "cronJobs" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" + "v1beta1"); + default = {}; + }; + "customResourceDefinitions" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1"); + default = {}; + }; + "daemonSets" = mkOption { + description = "DaemonSet represents the configuration of a daemon set."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" + "v1"); + default = {}; + }; + "deployments" = mkOption { + description = "Deployment enables declarative updates for Pods and ReplicaSets."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" + "v1"); + default = {}; + }; + "endpointSlices" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1beta1"); + default = {}; + }; + "endpoints" = mkOption { + description = '' + Endpoints is a collection of endpoints that implement the actual service. Example: + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ]''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" + "v1"); + default = {}; + }; + "events" = mkOption { + description = "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1"); + default = {}; + }; + "eviction" = mkOption { + description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" + "policy" "v1beta1"); + default = {}; + }; + "flowSchemas" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "horizontalPodAutoscalers" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2"); + default = {}; + }; + "ingresses" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1"); + default = {}; + }; + "ingressClasses" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1"); + default = {}; + }; + "jobs" = mkOption { + description = "Job represents the configuration of a single job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1"); + default = {}; + }; + "leases" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1"); + default = {}; + }; + "limitRanges" = mkOption { + description = "LimitRange sets resource usage limits for each kind of resource in a Namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" + "v1"); + default = {}; + }; + "localSubjectAccessReviews" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "mutatingWebhookConfigurations" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "namespaces" = mkOption { + description = "Namespace provides a scope for Names. Use of multiple namespaces is optional."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" + "v1"); + default = {}; + }; + "networkPolicies" = mkOption { + description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" + "NetworkPolicy" "networking.k8s.io" "v1"); + default = {}; + }; + "nodes" = mkOption { + description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1"); + default = {}; + }; + "persistentVolumes" = mkOption { + description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" + "PersistentVolume" "core" "v1"); + default = {}; + }; + "persistentVolumeClaims" = mkOption { + description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" + "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1"); + default = {}; + }; + "pods" = mkOption { + description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1"); + default = {}; + }; + "podDisruptionBudgets" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1"); + default = {}; + }; + "podSecurityPolicies" = mkOption { + description = "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1"); + default = {}; + }; + "podTemplates" = mkOption { + description = "PodTemplate describes a template for creating copies of a predefined pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" + "core" "v1"); + default = {}; + }; + "priorityClasses" = mkOption { + description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1"); + default = {}; + }; + "priorityLevelConfigurations" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "replicaSets" = mkOption { + description = "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" + "v1"); + default = {}; + }; + "replicationControllers" = mkOption { + description = "ReplicationController represents the configuration of a replication controller."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" + "replicationcontrollers" "ReplicationController" "core" "v1"); + default = {}; + }; + "resourceQuotas" = mkOption { + description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" + "ResourceQuota" "core" "v1"); + default = {}; + }; + "roles" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "roleBindings" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "runtimeClasses" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" + "node.k8s.io" "v1"); + default = {}; + }; + "secrets" = mkOption { + description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1"); + default = {}; + }; + "selfSubjectAccessReviews" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "selfSubjectRulesReviews" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "services" = mkOption { + description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1"); + default = {}; + }; + "serviceAccounts" = mkOption { + description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" + "ServiceAccount" "core" "v1"); + default = {}; + }; + "statefulSets" = mkOption { + description = '' + StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" + "apps" "v1"); + default = {}; + }; + "storageClasses" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1")); - default = { }; - }; - "clusterRoles" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "clusterRoleBindings" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "configMaps" = mkOption { - description = "ConfigMap holds configuration data for pods to consume."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" - "v1")); - default = { }; - }; - "controllerRevisions" = mkOption { - description = - "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" - "ControllerRevision" "apps" "v1")); - default = { }; - }; - "cronJobs" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" - "v1beta1")); - default = { }; - }; - "customResourceDefinitions" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1")); - default = { }; - }; - "daemonSets" = mkOption { - description = "DaemonSet represents the configuration of a daemon set."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" - "v1")); - default = { }; - }; - "deployments" = mkOption { - description = "Deployment enables declarative updates for Pods and ReplicaSets."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" - "v1")); - default = { }; - }; - "endpointSlices" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1beta1")); - default = { }; - }; - "endpoints" = mkOption { - description = '' - Endpoints is a collection of endpoints that implement the actual service. Example: - Name: "mysvc", - Subsets: [ - { - Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], - Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] - }, - { - Addresses: [{"ip": "10.10.3.3"}], - Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] - }, - ]''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" - "v1")); - default = { }; - }; - "events" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1")); - default = { }; - }; - "eviction" = mkOption { - description = - "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" - "policy" "v1beta1")); - default = { }; - }; - "flowSchemas" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "horizontalPodAutoscalers" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2")); - default = { }; - }; - "ingresses" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1")); - default = { }; - }; - "ingressClasses" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1")); - default = { }; - }; - "jobs" = mkOption { - description = "Job represents the configuration of a single job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1")); - default = { }; - }; - "leases" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1")); - default = { }; - }; - "limitRanges" = mkOption { - description = - "LimitRange sets resource usage limits for each kind of resource in a Namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" - "v1")); - default = { }; - }; - "localSubjectAccessReviews" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "mutatingWebhookConfigurations" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "namespaces" = mkOption { - description = - "Namespace provides a scope for Names. Use of multiple namespaces is optional."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" - "v1")); - default = { }; - }; - "networkPolicies" = mkOption { - description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" - "NetworkPolicy" "networking.k8s.io" "v1")); - default = { }; - }; - "nodes" = mkOption { - description = - "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1")); - default = { }; - }; - "persistentVolumes" = mkOption { - description = - "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" - "PersistentVolume" "core" "v1")); - default = { }; - }; - "persistentVolumeClaims" = mkOption { - description = - "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" - "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1")); - default = { }; - }; - "pods" = mkOption { - description = - "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1")); - default = { }; - }; - "podDisruptionBudgets" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" - "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1")); - default = { }; - }; - "podSecurityPolicies" = mkOption { - description = - "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" - "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1")); - default = { }; - }; - "podTemplates" = mkOption { - description = "PodTemplate describes a template for creating copies of a predefined pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" - "core" "v1")); - default = { }; - }; - "priorityClasses" = mkOption { - description = - "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1")); - default = { }; - }; - "priorityLevelConfigurations" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "replicaSets" = mkOption { - description = - "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" - "v1")); - default = { }; - }; - "replicationControllers" = mkOption { - description = - "ReplicationController represents the configuration of a replication controller."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" - "replicationcontrollers" "ReplicationController" "core" "v1")); - default = { }; - }; - "resourceQuotas" = mkOption { - description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" - "ResourceQuota" "core" "v1")); - default = { }; - }; - "roles" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "roleBindings" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "runtimeClasses" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" - "node.k8s.io" "v1")); - default = { }; - }; - "secrets" = mkOption { - description = - "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1")); - default = { }; - }; - "selfSubjectAccessReviews" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "selfSubjectRulesReviews" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "services" = mkOption { - description = - "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1")); - default = { }; - }; - "serviceAccounts" = mkOption { - description = - "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" - "ServiceAccount" "core" "v1")); - default = { }; - }; - "statefulSets" = mkOption { - description = '' - StatefulSet represents a set of pods with consistent identities. Identities are defined as: - - Network: A single stable DNS and hostname. - - Storage: As many VolumeClaims as requested. - The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" - "apps" "v1")); - default = { }; - }; - "storageClasses" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1"); + default = {}; + }; + "storageVersions" = mkOption { + description = "\n Storage version of a specific resource."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "subjectAccessReviews" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "token" = mkOption { + description = "TokenRequest requests a token for a given service account."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" + "authentication.k8s.io" "v1"); + default = {}; + }; + "tokenReviews" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1"); + default = {}; + }; + "validatingWebhookConfigurations" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "volumeAttachments" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1")); - default = { }; + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1"); + default = {}; + }; }; - "storageVersions" = mkOption { - description = "\n Storage version of a specific resource."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "subjectAccessReviews" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "token" = mkOption { - description = "TokenRequest requests a token for a given service account."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" - "authentication.k8s.io" "v1")); - default = { }; - }; - "tokenReviews" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1")); - default = { }; - }; - "validatingWebhookConfigurations" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "volumeAttachments" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1")); - default = { }; - }; - - }; }; config = { @@ -23477,7 +20901,6 @@ in mkAliasDefinitions options.resources."validatingWebhookConfigurations"; "storage.k8s.io"."v1"."VolumeAttachment" = mkAliasDefinitions options.resources."volumeAttachments"; - }; }; } diff --git a/modules/generated/v1.21.nix b/modules/generated/v1.21.nix index 8f88503..adadb1b 100644 --- a/modules/generated/v1.21.nix +++ b/modules/generated/v1.21.nix @@ -1,9 +1,11 @@ # This file was generated with kubenix k8s generator, do not edit -{ lib, options, config, ... }: - -with lib; - -let +{ + lib, + options, + config, + ... +}: +with lib; let getDefaults = resource: group: version: kind: catAttrs "default" (filter (default: @@ -13,38 +15,37 @@ let && (default.kind == null || default.kind == kind)) config.defaults); - types = lib.types // rec { - str = mkOptionType { - name = "str"; - description = "string"; - check = isString; - merge = mergeEqualOption; - }; - - # Either value of type `finalType` or `coercedType`, the latter is - # converted to `finalType` using `coerceFunc`. - coercedTo = coercedType: coerceFunc: finalType: - mkOptionType rec { - name = "coercedTo"; - description = "${finalType.description} or ${coercedType.description}"; - check = x: finalType.check x || coercedType.check x; - merge = loc: defs: - let - coerceVal = val: - if finalType.check val then - val - else - let coerced = coerceFunc val; in assert finalType.check coerced; coerced; - - in - finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); - getSubOptions = finalType.getSubOptions; - getSubModules = finalType.getSubModules; - substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); - typeMerge = t1: t2: null; - functor = (defaultFunctor name) // { wrapped = finalType; }; + types = + lib.types + // rec { + str = mkOptionType { + name = "str"; + description = "string"; + check = isString; + merge = mergeEqualOption; }; - }; + + # Either value of type `finalType` or `coercedType`, the latter is + # converted to `finalType` using `coerceFunc`. + coercedTo = coercedType: coerceFunc: finalType: + mkOptionType rec { + name = "coercedTo"; + description = "${finalType.description} or ${coercedType.description}"; + check = x: finalType.check x || coercedType.check x; + merge = loc: defs: let + coerceVal = val: + if finalType.check val + then val + else let coerced = coerceFunc val; in assert finalType.check coerced; coerced; + in + finalType.merge loc (map (def: def // {value = coerceVal def.value;}) defs); + getSubOptions = finalType.getSubOptions; + getSubModules = finalType.getSubModules; + substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); + typeMerge = t1: t2: null; + functor = (defaultFunctor name) // {wrapped = finalType;}; + }; + }; mkOptionDefault = mkOverride 1001; @@ -52,36 +53,42 @@ let listToAttrs (map (value: nameValuePair - (if isAttrs value.${mergeKey} then - toString value.${mergeKey}.content - else - (toString value.${mergeKey})) - value) + ( + if isAttrs value.${mergeKey} + then toString value.${mergeKey}.content + else (toString value.${mergeKey}) + ) + value) values); submoduleOf = ref: - types.submodule ({ name, ... }: { - options = definitions."${ref}".options or { }; - config = definitions."${ref}".config or { }; + types.submodule ({name, ...}: { + options = definitions."${ref}".options or {}; + config = definitions."${ref}".config or {}; }); submoduleWithMergeOf = ref: mergeKey: - types.submodule ({ name, ... }: - let - convertName = name: - if definitions."${ref}".options.${mergeKey}.type == types.int then toInt name else name; - in - { - options = definitions."${ref}".options; - config = definitions."${ref}".config // { + types.submodule ({name, ...}: let + convertName = name: + if definitions."${ref}".options.${mergeKey}.type == types.int + then toInt name + else name; + in { + options = definitions."${ref}".options; + config = + definitions."${ref}".config + // { ${mergeKey} = mkOverride 1002 (convertName name); }; - }); + }); - submoduleForDefinition = ref: resource: kind: group: version: - let apiVersion = if group == "core" then version else "${group}/${version}"; - in - types.submodule ({ name, ... }: { + submoduleForDefinition = ref: resource: kind: group: version: let + apiVersion = + if group == "core" + then version + else "${group}/${version}"; + in + types.submodule ({name, ...}: { imports = getDefaults resource group version kind; options = definitions."${ref}".options; config = mkMerge [ @@ -96,27 +103,23 @@ let ]; }); - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: - (types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) - (types.attrsOf (submoduleWithMergeOf ref mergeKey))); + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: (types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) + (types.attrsOf (submoduleWithMergeOf ref mergeKey))); definitions = { "io.k8s.api.admissionregistration.v1.MutatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; - type = (types.listOf types.str); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; + type = types.listOf types.str; }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -127,7 +130,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Equivalent"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -167,12 +170,11 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "reinvocationPolicy" = mkOption { description = '' @@ -183,23 +185,21 @@ let IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to "Never".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; + description = "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; type = types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; + type = types.nullOr types.int; }; }; @@ -212,31 +212,30 @@ let "rules" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1.MutatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1.MutatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -246,30 +245,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of MutatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -278,25 +273,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.RuleWithOperations" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "apiVersions" = mkOption { - description = - "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "operations" = mkOption { - description = - "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' @@ -307,12 +297,12 @@ let If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "scope" = mkOption { description = '' scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -323,10 +313,8 @@ let "resources" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ServiceReference" = { - options = { "name" = mkOption { description = "`name` is the name of the service. Required"; @@ -337,14 +325,12 @@ let type = types.str; }; "path" = mkOption { - description = - "`path` is an optional URL path which will be sent in any request to this service."; - type = (types.nullOr types.str); + description = "`path` is an optional URL path which will be sent in any request to this service."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -352,24 +338,20 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; - type = (types.listOf types.str); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy."; + type = types.listOf types.str; }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -380,7 +362,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Equivalent"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -420,28 +402,25 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.admissionregistration.v1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; + description = "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some."; type = types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds."; + type = types.nullOr types.int; }; }; @@ -453,31 +432,30 @@ let "rules" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1.ValidatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -487,30 +465,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ValidatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -519,15 +493,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' @@ -535,7 +506,7 @@ let If the webhook is running within the cluster, then you should use `service`.''; type = - (types.nullOr (submoduleOf "io.k8s.api.admissionregistration.v1.ServiceReference")); + types.nullOr (submoduleOf "io.k8s.api.admissionregistration.v1.ServiceReference"); }; "url" = mkOption { description = '' @@ -550,7 +521,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -559,24 +530,20 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; - type = (types.nullOr (types.listOf types.str)); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; + type = types.nullOr (types.listOf types.str); }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -587,7 +554,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Exact"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -627,12 +594,11 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "reinvocationPolicy" = mkOption { description = '' @@ -643,23 +609,21 @@ let IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to "Never".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; - type = (types.nullOr types.str); + description = "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; + type = types.nullOr types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; + type = types.nullOr types.int; }; }; @@ -674,31 +638,30 @@ let "sideEffects" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -708,30 +671,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of MutatingWebhookConfiguration."; - type = (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -740,25 +699,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "apiVersions" = mkOption { - description = - "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "operations" = mkOption { - description = - "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; - type = (types.nullOr (types.listOf types.str)); + description = "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' @@ -769,12 +723,12 @@ let If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "scope" = mkOption { description = '' scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -785,10 +739,8 @@ let "resources" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "`name` is the name of the service. Required"; @@ -799,14 +751,12 @@ let type = types.str; }; "path" = mkOption { - description = - "`path` is an optional URL path which will be sent in any request to this service."; - type = (types.nullOr types.str); + description = "`path` is an optional URL path which will be sent in any request to this service."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -814,24 +764,20 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" = { - options = { "admissionReviewVersions" = mkOption { - description = - "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; - type = (types.nullOr (types.listOf types.str)); + description = "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`."; + type = types.nullOr (types.listOf types.str); }; "clientConfig" = mkOption { description = "ClientConfig defines how to communicate with the hook. Required"; - type = (submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"); + type = submoduleOf "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig"; }; "failurePolicy" = mkOption { - description = - "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; - type = (types.nullOr types.str); + description = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore."; + type = types.nullOr types.str; }; "matchPolicy" = mkOption { description = '' @@ -842,7 +788,7 @@ let - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook. Defaults to "Exact"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' @@ -882,28 +828,25 @@ let See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "objectSelector" = mkOption { - description = - "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "rules" = mkOption { - description = - "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations"))); + description = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations")); }; "sideEffects" = mkOption { - description = - "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; - type = (types.nullOr types.str); + description = "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown."; + type = types.nullOr types.str; }; "timeoutSeconds" = mkOption { - description = - "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; - type = (types.nullOr types.int); + description = "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds."; + type = types.nullOr types.int; }; }; @@ -917,31 +860,30 @@ let "sideEffects" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "webhooks" = mkOption { description = "Webhooks is a list of webhooks and the affected resources and operations."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -951,30 +893,26 @@ let "metadata" = mkOverride 1002 null; "webhooks" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ValidatingWebhookConfiguration."; - type = (types.listOf (submoduleOf - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration")); + type = + types.listOf (submoduleOf + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -983,23 +921,21 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.admissionregistration.v1beta1.ServiceReference")); + type = + types.nullOr + (submoduleOf "io.k8s.api.admissionregistration.v1beta1.ServiceReference"); }; "url" = mkOption { description = '' @@ -1014,7 +950,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -1023,24 +959,20 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion" = { - options = { "apiServerID" = mkOption { description = "The ID of the reporting API server."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "decodableVersions" = mkOption { - description = - "The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions."; - type = (types.nullOr (types.listOf types.str)); + description = "The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions."; + type = types.nullOr (types.listOf types.str); }; "encodingVersion" = mkOption { - description = - "The API server encodes the object to this version when persisting it in the backend (e.g., etcd)."; - type = (types.nullOr types.str); + description = "The API server encodes the object to this version when persisting it in the backend (e.g., etcd)."; + type = types.nullOr types.str; }; }; @@ -1049,33 +981,28 @@ let "decodableVersions" = mkOverride 1002 null; "encodingVersion" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "The name is .."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec is an empty spec. It is here to comply with Kubernetes API style."; - type = (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"); + type = submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec"; }; "status" = mkOption { - description = - "API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend."; - type = (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"); + description = "API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend."; + type = submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus"; }; }; @@ -1084,23 +1011,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "If set, this represents the .metadata.generation that the condition was set based upon."; - type = (types.nullOr types.int); + description = "If set, this represents the .metadata.generation that the condition was set based upon."; + type = types.nullOr types.int; }; "reason" = mkOption { description = "The reason for the condition's last transition."; @@ -1121,29 +1045,25 @@ let "message" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; type = - (types.listOf (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion")); + types.listOf (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1152,26 +1072,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; - "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec" = { }; + "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionSpec" = {}; "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionStatus" = { - options = { "commonEncodingVersion" = mkOption { - description = - "If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality."; - type = (types.nullOr types.str); + description = "If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "The latest available observations of the storageVersion's state."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionCondition")); }; "storageVersions" = mkOption { description = "The reported versions per API server instance."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion")); }; }; @@ -1180,29 +1099,24 @@ let "conditions" = mkOverride 1002 null; "storageVersions" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ControllerRevision" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "data" = mkOption { description = "Data is the serialized representation of the state."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "revision" = mkOption { description = "Revision indicates the revision of the state represented by Data."; @@ -1216,29 +1130,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ControllerRevisionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of ControllerRevisions"; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.ControllerRevision")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.ControllerRevision"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1247,35 +1156,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetSpec")); + description = "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetSpec"); }; "status" = mkOption { - description = - "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetStatus")); + description = "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetStatus"); }; }; @@ -1286,22 +1188,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1318,29 +1218,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "A list of daemon sets."; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.DaemonSet")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.DaemonSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1349,34 +1244,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)."; - type = (types.nullOr types.int); + description = "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; - type = (types.nullOr types.int); + description = "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "template" = mkOption { - description = - "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "updateStrategy" = mkOption { description = "An update strategy to replace existing DaemonSet pods with new pods."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetUpdateStrategy")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DaemonSetUpdateStrategy"); }; }; @@ -1385,60 +1274,54 @@ let "revisionHistoryLimit" = mkOverride 1002 null; "updateStrategy" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetStatus" = { - options = { "collisionCount" = mkOption { - description = - "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; - type = (types.nullOr types.int); + description = "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a DaemonSet's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a DaemonSet's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DaemonSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentNumberScheduled" = mkOption { - description = - "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "desiredNumberScheduled" = mkOption { - description = - "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "numberAvailable" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"; - type = (types.nullOr types.int); + description = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)"; + type = types.nullOr types.int; }; "numberMisscheduled" = mkOption { - description = - "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; + description = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/"; type = types.int; }; "numberReady" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; + description = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; type = types.int; }; "numberUnavailable" = mkOption { - description = - "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"; - type = (types.nullOr types.int); + description = "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)"; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { description = "The most recent generation observed by the daemon set controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "updatedNumberScheduled" = mkOption { description = "The total number of nodes that are running updated daemon pod"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -1450,19 +1333,17 @@ let "observedGeneration" = mkOverride 1002 null; "updatedNumberScheduled" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DaemonSetUpdateStrategy" = { - options = { "rollingUpdate" = mkOption { description = ''Rolling update config params. Present only if type = "RollingUpdate".''; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDaemonSet")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDaemonSet"); }; "type" = mkOption { description = '' Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -1470,32 +1351,28 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.Deployment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the Deployment."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentSpec"); }; "status" = mkOption { description = "Most recently observed status of the Deployment."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStatus"); }; }; @@ -1506,26 +1383,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "The last time this condition was updated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1543,28 +1418,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Deployments."; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.Deployment")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.Deployment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1573,47 +1444,40 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "paused" = mkOption { description = "Indicates that the deployment is paused."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "progressDeadlineSeconds" = mkOption { - description = - "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s."; - type = (types.nullOr types.int); + description = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s."; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; - type = (types.nullOr types.int); + description = "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; - type = (types.nullOr types.int); + description = "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "strategy" = mkOption { description = "The deployment strategy to use to replace existing pods with new ones."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStrategy")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.DeploymentStrategy"); }; "template" = mkOption { description = "Template describes the pods that will be created."; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; }; @@ -1625,50 +1489,46 @@ let "revisionHistoryLimit" = mkOverride 1002 null; "strategy" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentStatus" = { - options = { "availableReplicas" = mkOption { - description = - "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."; - type = (types.nullOr types.int); + description = "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment."; + type = types.nullOr types.int; }; "collisionCount" = mkOption { - description = - "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."; - type = (types.nullOr types.int); + description = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a deployment's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a deployment's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.DeploymentCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "observedGeneration" = mkOption { description = "The generation observed by the deployment controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "Total number of ready pods targeted by this deployment."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."; - type = (types.nullOr types.int); + description = "Total number of non-terminated pods targeted by this deployment (their labels match the selector)."; + type = types.nullOr types.int; }; "unavailableReplicas" = mkOption { - description = - "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."; - type = (types.nullOr types.int); + description = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created."; + type = types.nullOr types.int; }; "updatedReplicas" = mkOption { - description = - "Total number of non-terminated pods targeted by this deployment that have the desired template spec."; - type = (types.nullOr types.int); + description = "Total number of non-terminated pods targeted by this deployment that have the desired template spec."; + type = types.nullOr types.int; }; }; @@ -1682,20 +1542,16 @@ let "unavailableReplicas" = mkOverride 1002 null; "updatedReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.DeploymentStrategy" = { - options = { "rollingUpdate" = mkOption { - description = - "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDeployment")); + description = "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateDeployment"); }; "type" = mkOption { - description = - ''Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.''; - type = (types.nullOr types.str); + description = ''Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.''; + type = types.nullOr types.str; }; }; @@ -1703,35 +1559,28 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetSpec")); + description = "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetSpec"); }; "status" = mkOption { - description = - "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetStatus")); + description = "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.ReplicaSetStatus"); }; }; @@ -1742,22 +1591,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "The last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -1774,30 +1621,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.ReplicaSet")); + description = "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.ReplicaSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -1806,30 +1647,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; - type = (types.nullOr types.int); + description = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "template" = mkOption { - description = - "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -1838,40 +1673,37 @@ let "replicas" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.ReplicaSetStatus" = { - options = { "availableReplicas" = mkOption { - description = - "The number of available replicas (ready for at least minReadySeconds) for this replica set."; - type = (types.nullOr types.int); + description = "The number of available replicas (ready for at least minReadySeconds) for this replica set."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a replica set's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a replica set's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.ReplicaSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "fullyLabeledReplicas" = mkOption { - description = - "The number of pods that have labels matching the labels of the pod template of the replicaset."; - type = (types.nullOr types.int); + description = "The number of pods that have labels matching the labels of the pod template of the replicaset."; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { - description = - "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."; - type = (types.nullOr types.int); + description = "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "The number of ready replicas for this replica set."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; + description = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller"; type = types.int; }; }; @@ -1883,20 +1715,16 @@ let "observedGeneration" = mkOverride 1002 null; "readyReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateDaemonSet" = { - options = { "maxSurge" = mkOption { - description = - "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is an alpha field and requires enabling DaemonSetUpdateSurge feature gate."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is an alpha field and requires enabling DaemonSetUpdateSurge feature gate."; + type = types.nullOr (types.either types.int types.str); }; "maxUnavailable" = mkOption { - description = - "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding down to a minimum of one. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding down to a minimum of one. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update."; + type = types.nullOr (types.either types.int types.str); }; }; @@ -1904,20 +1732,16 @@ let "maxSurge" = mkOverride 1002 null; "maxUnavailable" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateDeployment" = { - options = { "maxSurge" = mkOption { - description = - "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods."; + type = types.nullOr (types.either types.int types.str); }; "maxUnavailable" = mkOption { - description = - "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods."; - type = (types.nullOr (types.either types.int types.str)); + description = "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods."; + type = types.nullOr (types.either types.int types.str); }; }; @@ -1925,46 +1749,38 @@ let "maxSurge" = mkOverride 1002 null; "maxUnavailable" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy" = { - options = { "partition" = mkOption { - description = - "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."; - type = (types.nullOr types.int); + description = "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."; + type = types.nullOr types.int; }; }; - config = { "partition" = mkOverride 1002 null; }; - + config = {"partition" = mkOverride 1002 null;}; }; "io.k8s.api.apps.v1.StatefulSet" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec defines the desired identities of pods in this set."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetSpec"); }; "status" = mkOption { - description = - "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetStatus")); + description = "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetStatus"); }; }; @@ -1975,22 +1791,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -2007,28 +1821,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf (submoduleOf "io.k8s.api.apps.v1.StatefulSet")); + type = types.listOf (submoduleOf "io.k8s.api.apps.v1.StatefulSet"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -2037,30 +1847,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetSpec" = { - options = { "podManagementPolicy" = mkOption { - description = - "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."; - type = (types.nullOr types.str); + description = "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once."; + type = types.nullOr types.str; }; "replicas" = mkOption { - description = - "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1."; - type = (types.nullOr types.int); + description = "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1."; + type = types.nullOr types.int; }; "revisionHistoryLimit" = mkOption { - description = - "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10."; - type = (types.nullOr types.int); + description = "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10."; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "serviceName" = mkOption { description = '' @@ -2068,20 +1872,17 @@ let type = types.str; }; "template" = mkOption { - description = - "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "updateStrategy" = mkOption { - description = - "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetUpdateStrategy")); + description = "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.StatefulSetUpdateStrategy"); }; "volumeClaimTemplates" = mkOption { - description = - "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."; + description = "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim")); }; }; @@ -2092,56 +1893,50 @@ let "updateStrategy" = mkOverride 1002 null; "volumeClaimTemplates" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetStatus" = { - options = { "collisionCount" = mkOption { - description = - "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; - type = (types.nullOr types.int); + description = "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a statefulset's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a statefulset's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.apps.v1.StatefulSetCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentReplicas" = mkOption { - description = - "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."; - type = (types.nullOr types.int); + description = "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."; + type = types.nullOr types.int; }; "currentRevision" = mkOption { - description = - "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."; - type = (types.nullOr types.str); + description = "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { - description = - "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."; - type = (types.nullOr types.int); + description = "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition."; + type = types.nullOr types.int; }; "replicas" = mkOption { description = "replicas is the number of Pods created by the StatefulSet controller."; type = types.int; }; "updateRevision" = mkOption { - description = - "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"; - type = (types.nullOr types.str); + description = "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"; + type = types.nullOr types.str; }; "updatedReplicas" = mkOption { - description = - "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."; - type = (types.nullOr types.int); + description = "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."; + type = types.nullOr types.int; }; }; @@ -2155,20 +1950,16 @@ let "updateRevision" = mkOverride 1002 null; "updatedReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.apps.v1.StatefulSetUpdateStrategy" = { - options = { "rollingUpdate" = mkOption { - description = - "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType."; - type = (types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy")); + description = "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType."; + type = types.nullOr (submoduleOf "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy"); }; "type" = mkOption { - description = - "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."; - type = (types.nullOr types.str); + description = "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."; + type = types.nullOr types.str; }; }; @@ -2176,26 +1967,24 @@ let "rollingUpdate" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.BoundObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind of the referent. Valid kinds are 'Pod' and 'Secret'."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = "Name of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = "UID of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2205,32 +1994,28 @@ let "name" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.authentication.v1.TokenRequestSpec"); + type = submoduleOf "io.k8s.api.authentication.v1.TokenRequestSpec"; }; "status" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenRequestStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenRequestStatus"); }; }; @@ -2240,25 +2025,20 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequestSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."; - type = (types.listOf types.str); + description = "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences."; + type = types.listOf types.str; }; "boundObjectRef" = mkOption { - description = - "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.BoundObjectReference")); + description = "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.BoundObjectReference"); }; "expirationSeconds" = mkOption { - description = - "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."; - type = (types.nullOr types.int); + description = "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response."; + type = types.nullOr types.int; }; }; @@ -2266,10 +2046,8 @@ let "boundObjectRef" = mkOverride 1002 null; "expirationSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenRequestStatus" = { - options = { "expirationTimestamp" = mkOption { description = "ExpirationTimestamp is the time of expiration of the returned token."; @@ -2281,34 +2059,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.authentication.v1.TokenReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authentication.v1.TokenReviewSpec"); + type = submoduleOf "io.k8s.api.authentication.v1.TokenReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request can be authenticated."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenReviewStatus")); + description = "Status is filled in by the server and indicates whether the request can be authenticated."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.TokenReviewStatus"); }; }; @@ -2318,19 +2091,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenReviewSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; - type = (types.nullOr (types.listOf types.str)); + description = "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; + type = types.nullOr (types.listOf types.str); }; "token" = mkOption { description = "Token is the opaque bearer token."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2338,27 +2108,25 @@ let "audiences" = mkOverride 1002 null; "token" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.TokenReviewStatus" = { - options = { "audiences" = mkOption { description = '' Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "authenticated" = mkOption { description = "Authenticated indicates that the token was associated with a known user."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "error" = mkOption { description = "Error indicates that the token couldn't be checked"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is the UserInfo associated with the provided token."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1.UserInfo")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1.UserInfo"); }; }; @@ -2368,27 +2136,24 @@ let "error" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1.UserInfo" = { - options = { "extra" = mkOption { description = "Any additional information provided by the authenticator."; - type = (types.nullOr (types.loaOf types.str)); + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "The names of groups this user is a part of."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "uid" = mkOption { - description = - "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; - type = (types.nullOr types.str); + description = "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; + type = types.nullOr types.str; }; "username" = mkOption { description = "The name that uniquely identifies this user among all active users."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2398,33 +2163,28 @@ let "uid" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewSpec"); + type = submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request can be authenticated."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewStatus")); + description = "Status is filled in by the server and indicates whether the request can be authenticated."; + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.TokenReviewStatus"); }; }; @@ -2434,19 +2194,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReviewSpec" = { - options = { "audiences" = mkOption { - description = - "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; - type = (types.nullOr (types.listOf types.str)); + description = "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver."; + type = types.nullOr (types.listOf types.str); }; "token" = mkOption { description = "Token is the opaque bearer token."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2454,27 +2211,25 @@ let "audiences" = mkOverride 1002 null; "token" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.TokenReviewStatus" = { - options = { "audiences" = mkOption { description = '' Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "authenticated" = mkOption { description = "Authenticated indicates that the token was associated with a known user."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "error" = mkOption { description = "Error indicates that the token couldn't be checked"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is the UserInfo associated with the provided token."; - type = (types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.UserInfo")); + type = types.nullOr (submoduleOf "io.k8s.api.authentication.v1beta1.UserInfo"); }; }; @@ -2484,27 +2239,24 @@ let "error" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authentication.v1beta1.UserInfo" = { - options = { "extra" = mkOption { description = "Any additional information provided by the authenticator."; - type = (types.nullOr (types.loaOf types.str)); + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "The names of groups this user is a part of."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "uid" = mkOption { - description = - "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; - type = (types.nullOr types.str); + description = "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs."; + type = types.nullOr types.str; }; "username" = mkOption { description = "The name that uniquely identifies this user among all active users."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2514,35 +2266,29 @@ let "uid" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.LocalSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; - type = (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; + type = submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2552,18 +2298,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.NonResourceAttributes" = { - options = { "path" = mkOption { description = "Path is the URL path of the request"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = "Verb is the standard HTTP verb"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2571,59 +2315,55 @@ let "path" = mkOverride 1002 null; "verb" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.NonResourceRule" = { - options = { "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { "nonResourceURLs" = mkOverride 1002 null; }; - + config = {"nonResourceURLs" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1.ResourceAttributes" = { - options = { "group" = mkOption { description = ''Group is the API Group of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = ''Resource is one of the existing resource types. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subresource" = mkOption { description = ''Subresource is one of the existing resource types. "" means none.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = '' Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "version" = mkOption { description = ''Version is the API Version of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2636,31 +2376,29 @@ let "verb" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.ResourceRule" = { - options = { "apiGroups" = mkOption { description = '' APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { description = '' ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -2669,35 +2407,29 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. user and groups must be empty"; - type = (submoduleOf "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. user and groups must be empty"; + type = submoduleOf "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2707,20 +2439,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec" = { - options = { "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes")); + description = "NonResourceAttributes describes information for a non-resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes"); }; }; @@ -2728,34 +2456,29 @@ let "nonResourceAttributes" = mkOverride 1002 null; "resourceAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectRulesReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated."; - type = (submoduleOf "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates the set of actions a user can perform."; + description = "Status is filled in by the server and indicates the set of actions a user can perform."; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectRulesReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectRulesReviewStatus"); }; }; @@ -2765,46 +2488,39 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec" = { - options = { "namespace" = mkOption { description = "Namespace to evaluate rules for. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "namespace" = mkOverride 1002 null; }; - + config = {"namespace" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1.SubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; + description = "Status is filled in by the server and indicates whether the request is allowed or not"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1.SubjectAccessReviewStatus"); }; }; @@ -2814,38 +2530,33 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectAccessReviewSpec" = { - options = { "extra" = mkOption { - description = - "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { description = "Groups is the groups you're testing for."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes")); + description = "NonResourceAttributes describes information for a non-resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1.ResourceAttributes"); }; "uid" = mkOption { description = "UID information about the requesting user."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = '' User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2857,29 +2568,24 @@ let "uid" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectAccessReviewStatus" = { - options = { "allowed" = mkOption { - description = - "Allowed is required. True if the action would be allowed, false otherwise."; + description = "Allowed is required. True if the action would be allowed, false otherwise."; type = types.bool; }; "denied" = mkOption { - description = - "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; - type = (types.nullOr types.bool); + description = "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; + type = types.nullOr types.bool; }; "evaluationError" = mkOption { - description = - "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; - type = (types.nullOr types.str); + description = "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; + type = types.nullOr types.str; }; "reason" = mkOption { description = "Reason is optional. It indicates why a request was allowed or denied."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2888,63 +2594,52 @@ let "evaluationError" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1.SubjectRulesReviewStatus" = { - options = { "evaluationError" = mkOption { - description = - "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; - type = (types.nullOr types.str); + description = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; + type = types.nullOr types.str; }; "incomplete" = mkOption { - description = - "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; + description = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; type = types.bool; }; "nonResourceRules" = mkOption { - description = - "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1.NonResourceRule")); + description = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1.NonResourceRule"); }; "resourceRules" = mkOption { - description = - "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1.ResourceRule")); + description = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1.ResourceRule"); }; }; - config = { "evaluationError" = mkOverride 1002 null; }; - + config = {"evaluationError" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."; + type = submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -2954,18 +2649,16 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.NonResourceAttributes" = { - options = { "path" = mkOption { description = "Path is the URL path of the request"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = "Verb is the standard HTTP verb"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -2973,59 +2666,55 @@ let "path" = mkOverride 1002 null; "verb" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.NonResourceRule" = { - options = { "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { "nonResourceURLs" = mkOverride 1002 null; }; - + config = {"nonResourceURLs" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.ResourceAttributes" = { - options = { "group" = mkOption { description = ''Group is the API Group of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "name" = mkOption { description = '' Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = ''Resource is one of the existing resource types. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subresource" = mkOption { description = ''Subresource is one of the existing resource types. "" means none.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "verb" = mkOption { description = '' Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "version" = mkOption { description = ''Version is the API Version of the Resource. "*" means all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3038,31 +2727,29 @@ let "verb" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.ResourceRule" = { - options = { "apiGroups" = mkOption { description = '' APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { description = '' ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups. "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { description = '' Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -3071,35 +2758,30 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec holds information about the request being evaluated. user and groups must be empty"; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec"); + description = "Spec holds information about the request being evaluated. user and groups must be empty"; + type = submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -3109,21 +2791,17 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec" = { - options = { "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; + description = "NonResourceAttributes describes information for a non-resource access request"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes"); }; }; @@ -3131,34 +2809,30 @@ let "nonResourceAttributes" = mkOverride 1002 null; "resourceAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated."; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates the set of actions a user can perform."; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus")); + description = "Status is filled in by the server and indicates the set of actions a user can perform."; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus"); }; }; @@ -3168,46 +2842,40 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec" = { - options = { "namespace" = mkOption { description = "Namespace to evaluate rules for. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "namespace" = mkOverride 1002 null; }; - + config = {"namespace" = mkOverride 1002 null;}; }; "io.k8s.api.authorization.v1beta1.SubjectAccessReview" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec holds information about the request being evaluated"; - type = (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"); + type = submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec"; }; "status" = mkOption { - description = - "Status is filled in by the server and indicates whether the request is allowed or not"; - type = (types.nullOr - (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus")); + description = "Status is filled in by the server and indicates whether the request is allowed or not"; + type = + types.nullOr + (submoduleOf "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus"); }; }; @@ -3217,39 +2885,34 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec" = { - options = { "extra" = mkOption { - description = - "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."; + type = types.nullOr (types.loaOf types.str); }; "group" = mkOption { description = "Groups is the groups you're testing for."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nonResourceAttributes" = mkOption { - description = - "NonResourceAttributes describes information for a non-resource access request"; + description = "NonResourceAttributes describes information for a non-resource access request"; type = - (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes")); + types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceAttributes"); }; "resourceAttributes" = mkOption { - description = - "ResourceAuthorizationAttributes describes information for a resource access request"; - type = (types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes")); + description = "ResourceAuthorizationAttributes describes information for a resource access request"; + type = types.nullOr (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceAttributes"); }; "uid" = mkOption { description = "UID information about the requesting user."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = '' User is the user you're testing for. If you specify "User" but not "Group", then is it interpreted as "What if User were not a member of any groups''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3261,29 +2924,24 @@ let "uid" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus" = { - options = { "allowed" = mkOption { - description = - "Allowed is required. True if the action would be allowed, false otherwise."; + description = "Allowed is required. True if the action would be allowed, false otherwise."; type = types.bool; }; "denied" = mkOption { - description = - "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; - type = (types.nullOr types.bool); + description = "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true."; + type = types.nullOr types.bool; }; "evaluationError" = mkOption { - description = - "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; - type = (types.nullOr types.str); + description = "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request."; + type = types.nullOr types.str; }; "reason" = mkOption { description = "Reason is optional. It indicates why a request was allowed or denied."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3292,42 +2950,34 @@ let "evaluationError" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus" = { - options = { "evaluationError" = mkOption { - description = - "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; - type = (types.nullOr types.str); + description = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete."; + type = types.nullOr types.str; }; "incomplete" = mkOption { - description = - "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; + description = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation."; type = types.bool; }; "nonResourceRules" = mkOption { - description = - "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceRule")); + description = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.NonResourceRule"); }; "resourceRules" = mkOption { - description = - "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; - type = (types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceRule")); + description = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete."; + type = types.listOf (submoduleOf "io.k8s.api.authorization.v1beta1.ResourceRule"); }; }; - config = { "evaluationError" = mkOverride 1002 null; }; - + config = {"evaluationError" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3335,43 +2985,36 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + description = "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; type = - (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec")); + types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "current information about the autoscaler."; type = - (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus")); + types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus"); }; }; @@ -3382,28 +3025,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "list of horizontal pod autoscaler objects."; - type = (types.listOf (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler")); + type = types.listOf (submoduleOf "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -3412,30 +3051,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec" = { - options = { "maxReplicas" = mkOption { - description = - "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."; + description = "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas."; type = types.int; }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource."; - type = (submoduleOf "io.k8s.api.autoscaling.v1.CrossVersionObjectReference"); + description = "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource."; + type = submoduleOf "io.k8s.api.autoscaling.v1.CrossVersionObjectReference"; }; "targetCPUUtilizationPercentage" = mkOption { - description = - "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used."; - type = (types.nullOr types.int); + description = "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used."; + type = types.nullOr types.int; }; }; @@ -3443,15 +3076,12 @@ let "minReplicas" = mkOverride 1002 null; "targetCPUUtilizationPercentage" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus" = { - options = { "currentCPUUtilizationPercentage" = mkOption { - description = - "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."; - type = (types.nullOr types.int); + description = "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU."; + type = types.nullOr types.int; }; "currentReplicas" = mkOption { description = "current number of replicas of pods managed by this autoscaler."; @@ -3462,13 +3092,12 @@ let type = types.int; }; "lastScaleTime" = mkOption { - description = - "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { description = "most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -3477,35 +3106,28 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.Scale" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleSpec")); + description = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleSpec"); }; "status" = mkOption { - description = - "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleStatus")); + description = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v1.ScaleStatus"); }; }; @@ -3516,39 +3138,32 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v1.ScaleSpec" = { - options = { "replicas" = mkOption { description = "desired number of instances for the scaled object."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "replicas" = mkOverride 1002 null; }; - + config = {"replicas" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v1.ScaleStatus" = { - options = { "replicas" = mkOption { description = "actual number of observed instances of the scaled object."; type = types.int; }; "selector" = mkOption { - description = - "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"; - type = (types.nullOr types.str); + description = "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors"; + type = types.nullOr types.str; }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource" = { - options = { "container" = mkOption { description = "container is the name of the container in the pods of the scaling target"; @@ -3559,14 +3174,13 @@ let type = types.str; }; "targetAverageUtilization" = mkOption { - description = - "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "targetAverageValue" = mkOption { description = '' targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -3574,19 +3188,16 @@ let "targetAverageUtilization" = mkOverride 1002 null; "targetAverageValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus" = { - options = { "container" = mkOption { description = "container is the name of the container in the pods of the scaling target"; type = types.str; }; "currentAverageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; + type = types.nullOr types.int; }; "currentAverageValue" = mkOption { description = '' @@ -3599,15 +3210,13 @@ let }; }; - config = { "currentAverageUtilization" = mkOverride 1002 null; }; - + config = {"currentAverageUtilization" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -3615,36 +3224,30 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource" = { - options = { "metricName" = mkOption { description = "metricName is the name of the metric in question."; type = types.str; }; "metricSelector" = mkOption { - description = - "metricSelector is used to identify a specific time series within a given metric."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "metricSelector is used to identify a specific time series within a given metric."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "targetAverageValue" = mkOption { - description = - "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue."; - type = (types.nullOr types.str); + description = "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue."; + type = types.nullOr types.str; }; "targetValue" = mkOption { - description = - "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue."; - type = (types.nullOr types.str); + description = "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue."; + type = types.nullOr types.str; }; }; @@ -3653,15 +3256,12 @@ let "targetAverageValue" = mkOverride 1002 null; "targetValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus" = { - options = { "currentAverageValue" = mkOption { - description = - "currentAverageValue is the current value of metric averaged over autoscaled pods."; - type = (types.nullOr types.str); + description = "currentAverageValue is the current value of metric averaged over autoscaled pods."; + type = types.nullOr types.str; }; "currentValue" = mkOption { description = "currentValue is the current value of the metric (as a quantity)"; @@ -3672,9 +3272,8 @@ let type = types.str; }; "metricSelector" = mkOption { - description = - "metricSelector is used to identify a specific time series within a given metric."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "metricSelector is used to identify a specific time series within a given metric."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -3682,36 +3281,32 @@ let "currentAverageValue" = mkOverride 1002 null; "metricSelector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec")); + description = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "status is the current information about the autoscaler."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus"); }; }; @@ -3722,24 +3317,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another"; - type = (types.nullOr types.str); + description = "lastTransitionTime is the last time the condition transitioned from one status to another"; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable explanation containing details about the transition"; - type = (types.nullOr types.str); + description = "message is a human-readable explanation containing details about the transition"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason is the reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition (True, False, Unknown)"; @@ -3756,29 +3347,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of horizontal pod autoscaler objects."; type = - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler")); + types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata is the standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -3787,31 +3374,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec" = { - options = { "maxReplicas" = mkOption { - description = - "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; + description = "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; type = types.int; }; "metrics" = mkOption { - description = - "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."; + description = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricSpec"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricSpec")); }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + description = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; }; @@ -3819,42 +3400,36 @@ let "metrics" = mkOverride 1002 null; "minReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus" = { - options = { "conditions" = mkOption { - description = - "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; - type = (types.listOf - (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition")); + description = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; + type = + types.listOf + (submoduleOf "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition"); }; "currentMetrics" = mkOption { - description = - "currentMetrics is the last read state of the metrics used by this autoscaler."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricStatus"))); + description = "currentMetrics is the last read state of the metrics used by this autoscaler."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta1.MetricStatus")); }; "currentReplicas" = mkOption { - description = - "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; + description = "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; type = types.int; }; "desiredReplicas" = mkOption { - description = - "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; + description = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; type = types.int; }; "lastScaleTime" = mkOption { - description = - "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed by this autoscaler."; + type = types.nullOr types.int; }; }; @@ -3863,36 +3438,32 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.MetricSpec" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricSource")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricSource"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource"); }; "type" = mkOption { description = '' @@ -3908,36 +3479,32 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.MetricStatus" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus"); }; "type" = mkOption { description = '' @@ -3953,28 +3520,24 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource" = { - options = { "averageValue" = mkOption { - description = - "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "metricName" = mkOption { description = "metricName is the name of the metric in question."; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "target" = mkOption { description = "target is the described Kubernetes object."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; "targetValue" = mkOption { description = "targetValue is the target value of the metric (as a quantity)."; @@ -3986,15 +3549,12 @@ let "averageValue" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus" = { - options = { "averageValue" = mkOption { - description = - "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "currentValue" = mkOption { description = "currentValue is the current value of the metric (as a quantity)."; @@ -4005,13 +3565,12 @@ let type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "target" = mkOption { description = "target is the described Kubernetes object."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference"; }; }; @@ -4019,36 +3578,29 @@ let "averageValue" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.PodsMetricSource" = { - options = { "metricName" = mkOption { description = "metricName is the name of the metric in question"; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "targetAverageValue" = mkOption { - description = - "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + description = "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; type = types.str; }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus" = { - options = { "currentAverageValue" = mkOption { - description = - "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + description = "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; type = types.str; }; "metricName" = mkOption { @@ -4056,31 +3608,27 @@ let type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource" = { - options = { "name" = mkOption { description = "name is the name of the resource in question."; type = types.str; }; "targetAverageUtilization" = mkOption { - description = - "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "targetAverageValue" = mkOption { description = '' targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4088,15 +3636,12 @@ let "targetAverageUtilization" = mkOverride 1002 null; "targetAverageValue" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus" = { - options = { "currentAverageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification."; + type = types.nullOr types.int; }; "currentAverageValue" = mkOption { description = '' @@ -4109,11 +3654,9 @@ let }; }; - config = { "currentAverageUtilization" = mkOverride 1002 null; }; - + config = {"currentAverageUtilization" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource" = { - options = { "container" = mkOption { description = "container is the name of the container in the pods of the scaling target"; @@ -4125,15 +3668,13 @@ let }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus" = { - options = { "container" = mkOption { description = "Container is the name of the container in the pods of the scaling target"; @@ -4141,7 +3682,7 @@ let }; "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "name" = mkOption { description = "Name is the name of the resource in question."; @@ -4149,15 +3690,13 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -4165,53 +3704,45 @@ let type = types.str; }; "name" = mkOption { - description = - "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource" = { - options = { "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy" = { - options = { "periodSeconds" = mkOption { - description = - "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."; + description = "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min)."; type = types.int; }; "type" = mkOption { @@ -4219,33 +3750,28 @@ let type = types.str; }; "value" = mkOption { - description = - "Value contains the amount of change which is permitted by the policy. It must be greater than zero"; + description = "Value contains the amount of change which is permitted by the policy. It must be greater than zero"; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.HPAScalingRules" = { - options = { "policies" = mkOption { - description = - "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy"))); + description = "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy")); }; "selectPolicy" = mkOption { - description = - "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."; - type = (types.nullOr types.str); + description = "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used."; + type = types.nullOr types.str; }; "stabilizationWindowSeconds" = mkOption { - description = - "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."; - type = (types.nullOr types.int); + description = "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long)."; + type = types.nullOr types.int; }; }; @@ -4254,36 +3780,32 @@ let "selectPolicy" = mkOverride 1002 null; "stabilizationWindowSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec")); + description = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec"); }; "status" = mkOption { description = "status is the current information about the autoscaler."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus"); }; }; @@ -4294,15 +3816,12 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior" = { - options = { "scaleDown" = mkOption { - description = - "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules")); + description = "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules"); }; "scaleUp" = mkOption { description = '' @@ -4310,7 +3829,7 @@ let * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.HPAScalingRules"); }; }; @@ -4318,24 +3837,20 @@ let "scaleDown" = mkOverride 1002 null; "scaleUp" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another"; - type = (types.nullOr types.str); + description = "lastTransitionTime is the last time the condition transitioned from one status to another"; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable explanation containing details about the transition"; - type = (types.nullOr types.str); + description = "message is a human-readable explanation containing details about the transition"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason is the reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition (True, False, Unknown)"; @@ -4352,29 +3867,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of horizontal pod autoscaler objects."; type = - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler")); + types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata is the standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4383,37 +3894,31 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec" = { - options = { "behavior" = mkOption { - description = - "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior")); + description = "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."; + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior"); }; "maxReplicas" = mkOption { - description = - "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; + description = "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas."; type = types.int; }; "metrics" = mkOption { - description = - "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."; + description = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricSpec"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricSpec")); }; "minReplicas" = mkOption { - description = - "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; - type = (types.nullOr types.int); + description = "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available."; + type = types.nullOr types.int; }; "scaleTargetRef" = mkOption { - description = - "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + description = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."; + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; }; @@ -4422,42 +3927,36 @@ let "metrics" = mkOverride 1002 null; "minReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus" = { - options = { "conditions" = mkOption { - description = - "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; - type = (types.listOf - (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition")); + description = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."; + type = + types.listOf + (submoduleOf "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition"); }; "currentMetrics" = mkOption { - description = - "currentMetrics is the last read state of the metrics used by this autoscaler."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricStatus"))); + description = "currentMetrics is the last read state of the metrics used by this autoscaler."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricStatus")); }; "currentReplicas" = mkOption { - description = - "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; + description = "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler."; type = types.int; }; "desiredReplicas" = mkOption { - description = - "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; + description = "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler."; type = types.int; }; "lastScaleTime" = mkOption { - description = - "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; - type = (types.nullOr types.str); + description = "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed."; + type = types.nullOr types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration is the most recent generation observed by this autoscaler."; - type = (types.nullOr types.int); + description = "observedGeneration is the most recent generation observed by this autoscaler."; + type = types.nullOr types.int; }; }; @@ -4466,53 +3965,46 @@ let "lastScaleTime" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricIdentifier" = { - options = { "name" = mkOption { description = "name is the name of the given metric"; type = types.str; }; "selector" = mkOption { - description = - "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; - config = { "selector" = mkOverride 1002 null; }; - + config = {"selector" = mkOverride 1002 null;}; }; "io.k8s.api.autoscaling.v2beta2.MetricSpec" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricSource")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricSource"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource"); }; "type" = mkOption { description = '' @@ -4528,36 +4020,32 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricStatus" = { - options = { "containerResource" = mkOption { description = '' container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus"); }; "external" = mkOption { - description = - "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus")); + description = "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus"); }; "object" = mkOption { - description = - "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus")); + description = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus"); }; "pods" = mkOption { - description = - "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus")); + description = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."; + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus"); }; "resource" = mkOption { description = '' resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.''; - type = (types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus"); }; "type" = mkOption { description = '' @@ -4573,29 +4061,24 @@ let "pods" = mkOverride 1002 null; "resource" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricTarget" = { - options = { "averageUtilization" = mkOption { - description = - "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type"; - type = (types.nullOr types.int); + description = "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type"; + type = types.nullOr types.int; }; "averageValue" = mkOption { - description = - "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "type" = mkOption { - description = - "type represents whether the metric type is Utilization, Value, or AverageValue"; + description = "type represents whether the metric type is Utilization, Value, or AverageValue"; type = types.str; }; "value" = mkOption { description = "value is the target value of the metric (as a quantity)."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4604,24 +4087,20 @@ let "averageValue" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.MetricValueStatus" = { - options = { "averageUtilization" = mkOption { - description = - "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; - type = (types.nullOr types.int); + description = "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."; + type = types.nullOr types.int; }; "averageValue" = mkOption { - description = - "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; - type = (types.nullOr types.str); + description = "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"; + type = types.nullOr types.str; }; "value" = mkOption { description = "value is the current value of the metric (as a quantity)."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4630,82 +4109,72 @@ let "averageValue" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource" = { - options = { "describedObject" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "describedObject" = mkOption { description = ""; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.PodsMetricSource" = { - options = { "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "metric" = mkOption { description = "metric identifies the target metric by name and selector"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricIdentifier"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource" = { - options = { "name" = mkOption { description = "name is the name of the resource in question."; @@ -4713,19 +4182,17 @@ let }; "target" = mkOption { description = "target specifies the target value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricTarget"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus" = { - options = { "current" = mkOption { description = "current contains the current value for the given metric"; - type = (submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"); + type = submoduleOf "io.k8s.api.autoscaling.v2beta2.MetricValueStatus"; }; "name" = mkOption { description = "Name is the name of the resource in question."; @@ -4733,36 +4200,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.batch.v1.CronJob" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.CronJobSpec")); + description = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.CronJobSpec"); }; "status" = mkOption { - description = - "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.CronJobStatus")); + description = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.CronJobStatus"); }; }; @@ -4773,29 +4233,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.CronJobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CronJobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1.CronJob")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1.CronJob"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4804,43 +4259,37 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.CronJobSpec" = { - options = { "concurrencyPolicy" = mkOption { description = '' Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "failedJobsHistoryLimit" = mkOption { - description = - "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1."; - type = (types.nullOr types.int); + description = "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1."; + type = types.nullOr types.int; }; "jobTemplate" = mkOption { description = "Specifies the job that will be created when executing a CronJob."; - type = (submoduleOf "io.k8s.api.batch.v1.JobTemplateSpec"); + type = submoduleOf "io.k8s.api.batch.v1.JobTemplateSpec"; }; "schedule" = mkOption { description = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."; type = types.str; }; "startingDeadlineSeconds" = mkOption { - description = - "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; - type = (types.nullOr types.int); + description = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; + type = types.nullOr types.int; }; "successfulJobsHistoryLimit" = mkOption { - description = - "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3."; - type = (types.nullOr types.int); + description = "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3."; + type = types.nullOr types.int; }; "suspend" = mkOption { - description = - "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; - type = (types.nullOr types.bool); + description = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; + type = types.nullOr types.bool; }; }; @@ -4851,22 +4300,20 @@ let "successfulJobsHistoryLimit" = mkOverride 1002 null; "suspend" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.CronJobStatus" = { - options = { "active" = mkOption { description = "A list of pointers to currently running jobs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference")); }; "lastScheduleTime" = mkOption { description = "Information when was the last time the job was successfully scheduled."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastSuccessfulTime" = mkOption { description = "Information when was the last time the job successfully completed."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -4875,35 +4322,28 @@ let "lastScheduleTime" = mkOverride 1002 null; "lastSuccessfulTime" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.Job" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; "status" = mkOption { - description = - "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobStatus")); + description = "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobStatus"); }; }; @@ -4914,26 +4354,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time the condition was checked."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transit from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -4951,29 +4389,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of Jobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1.Job")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1.Job"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -4982,20 +4415,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobSpec" = { - options = { "activeDeadlineSeconds" = mkOption { - description = - "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again."; - type = (types.nullOr types.int); + description = "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again."; + type = types.nullOr types.int; }; "backoffLimit" = mkOption { - description = - "Specifies the number of retries before marking this job failed. Defaults to 6"; - type = (types.nullOr types.int); + description = "Specifies the number of retries before marking this job failed. Defaults to 6"; + type = types.nullOr types.int; }; "completionMode" = mkOption { description = '' @@ -5006,42 +4435,35 @@ let `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. This field is alpha-level and is only honored by servers that enable the IndexedJob feature gate. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, the controller skips updates for the Job.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "completions" = mkOption { - description = - "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr types.int); + description = "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = types.nullOr types.int; }; "manualSelector" = mkOption { - description = - "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector"; - type = (types.nullOr types.bool); + description = "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector"; + type = types.nullOr types.bool; }; "parallelism" = mkOption { - description = - "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (types.nullOr types.int); + description = "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "suspend" = mkOption { - description = - "Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false."; - type = (types.nullOr types.bool); + description = "Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false."; + type = types.nullOr types.bool; }; "template" = mkOption { - description = - "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; - type = (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); + description = "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/"; + type = submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"; }; "ttlSecondsAfterFinished" = mkOption { - description = - "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature."; - type = (types.nullOr types.int); + description = "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature."; + type = types.nullOr types.int; }; }; @@ -5056,44 +4478,44 @@ let "suspend" = mkOverride 1002 null; "ttlSecondsAfterFinished" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobStatus" = { - options = { "active" = mkOption { description = "The number of actively running pods."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "completedIndexes" = mkOption { description = '' CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "completionTime" = mkOption { - description = - "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully."; - type = (types.nullOr types.str); + description = "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = '' The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/''; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.batch.v1.JobCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "failed" = mkOption { description = "The number of pods which reached phase Failed."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "startTime" = mkOption { - description = - "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC."; - type = (types.nullOr types.str); + description = "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC."; + type = types.nullOr types.str; }; "succeeded" = mkOption { description = "The number of pods which reached phase Succeeded."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -5106,20 +4528,16 @@ let "startTime" = mkOverride 1002 null; "succeeded" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1.JobTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; }; @@ -5127,35 +4545,28 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJob" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobSpec")); + description = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobSpec"); }; "status" = mkOption { - description = - "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobStatus")); + description = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1beta1.CronJobStatus"); }; }; @@ -5166,29 +4577,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CronJobs."; - type = (types.listOf (submoduleOf "io.k8s.api.batch.v1beta1.CronJob")); + type = types.listOf (submoduleOf "io.k8s.api.batch.v1beta1.CronJob"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5197,43 +4603,37 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobSpec" = { - options = { "concurrencyPolicy" = mkOption { description = '' Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "failedJobsHistoryLimit" = mkOption { - description = - "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; - type = (types.nullOr types.int); + description = "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1."; + type = types.nullOr types.int; }; "jobTemplate" = mkOption { description = "Specifies the job that will be created when executing a CronJob."; - type = (submoduleOf "io.k8s.api.batch.v1beta1.JobTemplateSpec"); + type = submoduleOf "io.k8s.api.batch.v1beta1.JobTemplateSpec"; }; "schedule" = mkOption { description = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron."; type = types.str; }; "startingDeadlineSeconds" = mkOption { - description = - "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; - type = (types.nullOr types.int); + description = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones."; + type = types.nullOr types.int; }; "successfulJobsHistoryLimit" = mkOption { - description = - "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."; - type = (types.nullOr types.int); + description = "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3."; + type = types.nullOr types.int; }; "suspend" = mkOption { - description = - "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; - type = (types.nullOr types.bool); + description = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false."; + type = types.nullOr types.bool; }; }; @@ -5244,22 +4644,20 @@ let "successfulJobsHistoryLimit" = mkOverride 1002 null; "suspend" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.CronJobStatus" = { - options = { "active" = mkOption { description = "A list of pointers to currently running jobs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ObjectReference")); }; "lastScheduleTime" = mkOption { description = "Information when was the last time the job was successfully scheduled."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastSuccessfulTime" = mkOption { description = "Information when was the last time the job successfully completed."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -5268,20 +4666,16 @@ let "lastScheduleTime" = mkOverride 1002 null; "lastSuccessfulTime" = mkOverride 1002 null; }; - }; "io.k8s.api.batch.v1beta1.JobTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec")); + description = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.batch.v1.JobSpec"); }; }; @@ -5289,35 +4683,30 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users."; - type = (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestSpec"); + description = "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users."; + type = submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestSpec"; }; "status" = mkOption { - description = - "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestStatus")); + description = "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure."; + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestStatus"); }; }; @@ -5327,28 +4716,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; - type = (types.nullOr types.str); + description = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "lastUpdateTime is the time of the last update to this condition"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message contains a human readable message with details about the request state"; - type = (types.nullOr types.str); + description = "message contains a human readable message with details about the request state"; + type = types.nullOr types.str; }; "reason" = mkOption { description = "reason indicates a brief reason for the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' @@ -5378,29 +4763,25 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a collection of CertificateSigningRequest objects"; type = - (types.listOf (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequest")); + types.listOf (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequest"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5409,20 +4790,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestSpec" = { - options = { "extra" = mkOption { - description = - "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr (types.loaOf types.str)); + description = "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { - description = - "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr (types.listOf types.str)); + description = "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr (types.listOf types.str); }; "request" = mkOption { description = '' @@ -5455,9 +4832,8 @@ let type = types.str; }; "uid" = mkOption { - description = - "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr types.str); + description = "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr types.str; }; "usages" = mkOption { description = '' @@ -5475,12 +4851,11 @@ let "code signing", "email protection", "s/mime", "ipsec end system", "ipsec tunnel", "ipsec user", "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "username" = mkOption { - description = - "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; - type = (types.nullOr types.str); + description = "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable."; + type = types.nullOr types.str; }; }; @@ -5491,10 +4866,8 @@ let "usages" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1.CertificateSigningRequestStatus" = { - options = { "certificate" = mkOption { description = '' @@ -5520,13 +4893,14 @@ let ... -----END CERTIFICATE----- )''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "conditions" = mkOption { description = '' conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.certificates.v1.CertificateSigningRequestCondition")); }; }; @@ -5534,34 +4908,32 @@ let "certificate" = mkOverride 1002 null; "conditions" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "The certificate request itself and any additional information."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec"); }; "status" = mkOption { description = "Derived information about the request."; - type = (types.nullOr - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus"); }; }; @@ -5572,36 +4944,32 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; - type = (types.nullOr types.str); + description = "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time."; + type = types.nullOr types.str; }; "lastUpdateTime" = mkOption { description = "timestamp for the last update to this condition"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "human readable message with details about the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "brief reason for the request state"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown". Defaults to "True". If unset, should be treated as "True".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { - description = - ''type of the condition. Known conditions include "Approved", "Denied", and "Failed".''; + description = ''type of the condition. Known conditions include "Approved", "Denied", and "Failed".''; type = types.str; }; }; @@ -5613,29 +4981,26 @@ let "reason" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequest")); + type = + types.listOf + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequest"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5644,20 +5009,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec" = { - options = { "extra" = mkOption { - description = - "Extra information about the requesting user. See user.Info interface for details."; - type = (types.nullOr (types.loaOf types.str)); + description = "Extra information about the requesting user. See user.Info interface for details."; + type = types.nullOr (types.loaOf types.str); }; "groups" = mkOption { - description = - "Group information about the requesting user. See user.Info interface for details."; - type = (types.nullOr (types.listOf types.str)); + description = "Group information about the requesting user. See user.Info interface for details."; + type = types.nullOr (types.listOf types.str); }; "request" = mkOption { description = "Base64-encoded PKCS#10 CSR data"; @@ -5672,12 +5033,11 @@ let "kubernetes.io/kubelet-serving". 3. Otherwise, it is assigned "kubernetes.io/legacy-unknown". Distribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID information about the requesting user. See user.Info interface for details."; - type = (types.nullOr types.str); + description = "UID information about the requesting user. See user.Info interface for details."; + type = types.nullOr types.str; }; "usages" = mkOption { description = '' @@ -5707,12 +5067,11 @@ let "ocsp signing", "microsoft sgc", "netscape sgc"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "username" = mkOption { - description = - "Information about the requesting user. See user.Info interface for details."; - type = (types.nullOr types.str); + description = "Information about the requesting user. See user.Info interface for details."; + type = types.nullOr types.str; }; }; @@ -5724,20 +5083,18 @@ let "usages" = mkOverride 1002 null; "username" = mkOverride 1002 null; }; - }; "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus" = { - options = { "certificate" = mkOption { - description = - "If request was approved, the controller will place the issued certificate here."; - type = (types.nullOr types.str); + description = "If request was approved, the controller will place the issued certificate here."; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "Conditions applied to the request, such as approval or denial."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition")); }; }; @@ -5745,30 +5102,24 @@ let "certificate" = mkOverride 1002 null; "conditions" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.Lease" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.coordination.v1.LeaseSpec")); + description = "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.coordination.v1.LeaseSpec"); }; }; @@ -5778,29 +5129,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.LeaseList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.coordination.v1.Lease")); + type = types.listOf (submoduleOf "io.k8s.api.coordination.v1.Lease"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5809,32 +5155,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1.LeaseSpec" = { - options = { "acquireTime" = mkOption { description = "acquireTime is a time when the current lease was acquired."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "holderIdentity" = mkOption { description = "holderIdentity contains the identity of the holder of a current lease."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "leaseDurationSeconds" = mkOption { - description = - "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; - type = (types.nullOr types.int); + description = "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; + type = types.nullOr types.int; }; "leaseTransitions" = mkOption { description = "leaseTransitions is the number of transitions of a lease between holders."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "renewTime" = mkOption { - description = - "renewTime is a time when the current holder of a lease has last updated the lease."; - type = (types.nullOr types.str); + description = "renewTime is a time when the current holder of a lease has last updated the lease."; + type = types.nullOr types.str; }; }; @@ -5845,30 +5187,24 @@ let "leaseTransitions" = mkOverride 1002 null; "renewTime" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.Lease" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.coordination.v1beta1.LeaseSpec")); + description = "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.coordination.v1beta1.LeaseSpec"); }; }; @@ -5878,29 +5214,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.LeaseList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.coordination.v1beta1.Lease")); + type = types.listOf (submoduleOf "io.k8s.api.coordination.v1beta1.Lease"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -5909,32 +5240,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.coordination.v1beta1.LeaseSpec" = { - options = { "acquireTime" = mkOption { description = "acquireTime is a time when the current lease was acquired."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "holderIdentity" = mkOption { description = "holderIdentity contains the identity of the holder of a current lease."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "leaseDurationSeconds" = mkOption { - description = - "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; - type = (types.nullOr types.int); + description = "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime."; + type = types.nullOr types.int; }; "leaseTransitions" = mkOption { description = "leaseTransitions is the number of transitions of a lease between holders."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "renewTime" = mkOption { - description = - "renewTime is a time when the current holder of a lease has last updated the lease."; - type = (types.nullOr types.str); + description = "renewTime is a time when the current holder of a lease has last updated the lease."; + type = types.nullOr types.str; }; }; @@ -5945,29 +5272,26 @@ let "leaseTransitions" = mkOverride 1002 null; "renewTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "partition" = mkOption { description = '' The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readOnly" = mkOption { description = '' Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "volumeID" = mkOption { - description = - "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + description = "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; type = types.str; }; }; @@ -5977,24 +5301,20 @@ let "partition" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Affinity" = { - options = { "nodeAffinity" = mkOption { description = "Describes node affinity scheduling rules for the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeAffinity")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeAffinity"); }; "podAffinity" = mkOption { - description = - "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAffinity")); + description = "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAffinity"); }; "podAntiAffinity" = mkOption { - description = - "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAntiAffinity")); + description = "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodAntiAffinity"); }; }; @@ -6003,14 +5323,11 @@ let "podAffinity" = mkOverride 1002 null; "podAntiAffinity" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AttachedVolume" = { - options = { "devicePath" = mkOption { - description = - "DevicePath represents the device path where the volume should be available"; + description = "DevicePath represents the device path where the volume should be available"; type = types.str; }; "name" = mkOption { @@ -6019,15 +5336,13 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.AzureDiskVolumeSource" = { - options = { "cachingMode" = mkOption { description = "Host Caching mode: None, Read Only, Read Write."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "diskName" = mkOption { description = "The Name of the data disk in the blob storage"; @@ -6040,17 +5355,15 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"; - type = (types.nullOr types.str); + description = "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; }; @@ -6060,24 +5373,20 @@ let "kind" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AzureFilePersistentVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretName" = mkOption { description = "the name of secret that contains Azure Storage Account Name and Key"; type = types.str; }; "secretNamespace" = mkOption { - description = - "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"; - type = (types.nullOr types.str); + description = "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod"; + type = types.nullOr types.str; }; "shareName" = mkOption { description = "Share Name"; @@ -6089,15 +5398,12 @@ let "readOnly" = mkOverride 1002 null; "secretNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.AzureFileVolumeSource" = { - options = { "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretName" = mkOption { description = "the name of secret that contains Azure Storage Account Name and Key"; @@ -6109,30 +5415,25 @@ let }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Binding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "target" = mkOption { description = "The target object that you want to bind to the standard object."; - type = (submoduleOf "io.k8s.api.core.v1.ObjectReference"); + type = submoduleOf "io.k8s.api.core.v1.ObjectReference"; }; }; @@ -6141,20 +5442,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CSIPersistentVolumeSource" = { - options = { "controllerExpandSecretRef" = mkOption { - description = - "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "controllerPublishSecretRef" = mkOption { - description = - "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "driver" = mkOption { description = "Driver is the name of the driver to use for this volume. Required."; @@ -6163,30 +5460,26 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "nodePublishSecretRef" = mkOption { - description = - "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "nodeStageSecretRef" = mkOption { - description = - "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "readOnly" = mkOption { - description = - "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeAttributes" = mkOption { description = "Attributes of the volume to publish."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "volumeHandle" = mkOption { - description = - "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."; + description = "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."; type = types.str; }; }; @@ -6200,35 +5493,29 @@ let "readOnly" = mkOverride 1002 null; "volumeAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CSIVolumeSource" = { - options = { "driver" = mkOption { - description = - "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."; + description = "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."; type = types.str; }; "fsType" = mkOption { description = '' Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "nodePublishSecretRef" = mkOption { - description = - "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "readOnly" = mkOption { - description = - "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; - type = (types.nullOr types.bool); + description = "Specifies a read-only configuration for the volume. Defaults to false (read/write)."; + type = types.nullOr types.bool; }; "volumeAttributes" = mkOption { - description = - "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."; - type = (types.nullOr (types.attrsOf types.str)); + description = "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -6238,18 +5525,16 @@ let "readOnly" = mkOverride 1002 null; "volumeAttributes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Capabilities" = { - options = { "add" = mkOption { description = "Added capabilities"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "drop" = mkOption { description = "Removed capabilities"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -6257,40 +5542,32 @@ let "add" = mkOverride 1002 null; "drop" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CephFSPersistentVolumeSource" = { - options = { "monitors" = mkOption { - description = - "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.listOf types.str; }; "path" = mkOption { - description = - "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; - type = (types.nullOr types.str); + description = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretFile" = mkOption { - description = - "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "user" = mkOption { - description = - "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -6301,40 +5578,32 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CephFSVolumeSource" = { - options = { "monitors" = mkOption { - description = - "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.listOf types.str; }; "path" = mkOption { - description = - "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; - type = (types.nullOr types.str); + description = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretFile" = mkOption { - description = - "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "user" = mkOption { - description = - "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -6345,29 +5614,24 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CinderPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: points to a secret object containing parameters used to connect to OpenStack."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: points to a secret object containing parameters used to connect to OpenStack."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "volumeID" = mkOption { - description = - "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + description = "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; type = types.str; }; }; @@ -6377,29 +5641,24 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.CinderVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: points to a secret object containing parameters used to connect to OpenStack."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: points to a secret object containing parameters used to connect to OpenStack."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "volumeID" = mkOption { - description = - "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + description = "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; type = types.str; }; }; @@ -6409,33 +5668,27 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ClientIPConfig" = { - options = { "timeoutSeconds" = mkOption { description = '' timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "timeoutSeconds" = mkOverride 1002 null; }; - + config = {"timeoutSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ComponentCondition" = { - options = { "error" = mkOption { - description = - "Condition error code for a component. For example, a health check error code."; - type = (types.nullOr types.str); + description = "Condition error code for a component. For example, a health check error code."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "Message about the condition for a component. For example, information about a health check."; - type = (types.nullOr types.str); + description = "Message about the condition for a component. For example, information about a health check."; + type = types.nullOr types.str; }; "status" = mkOption { description = '' @@ -6452,31 +5705,30 @@ let "error" = mkOverride 1002 null; "message" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ComponentStatus" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "conditions" = mkOption { description = "List of component conditions observed"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ComponentCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -6486,29 +5738,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ComponentStatusList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of ComponentStatus objects."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ComponentStatus")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ComponentStatus"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -6517,40 +5764,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMap" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "binaryData" = mkOption { - description = - "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet."; - type = (types.nullOr (types.attrsOf types.str)); + description = "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet."; + type = types.nullOr (types.attrsOf types.str); }; "data" = mkOption { - description = - "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process."; + type = types.nullOr (types.attrsOf types.str); }; "immutable" = mkOption { - description = - "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil."; - type = (types.nullOr types.bool); + description = "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -6562,19 +5801,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapEnvSource" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6582,23 +5818,20 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapKeySelector" = { - options = { "key" = mkOption { description = "The key to select."; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6606,29 +5839,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of ConfigMaps."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ConfigMap")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ConfigMap"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -6637,35 +5865,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapNodeConfigSource" = { - options = { "kubeletConfigKey" = mkOption { - description = - "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."; + description = "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases."; type = types.str; }; "name" = mkOption { - description = - "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."; + description = "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases."; type = types.str; }; "namespace" = mkOption { - description = - "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."; + description = "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases."; type = types.str; }; "resourceVersion" = mkOption { - description = - "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; - type = (types.nullOr types.str); + description = "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; - type = (types.nullOr types.str); + description = "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status."; + type = types.nullOr types.str; }; }; @@ -6673,24 +5894,20 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapProjection" = { - options = { "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6699,29 +5916,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ConfigMapVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the ConfigMap or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -6731,126 +5943,121 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Container" = { - options = { "args" = mkOption { - description = - "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "command" = mkOption { - description = - "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "env" = mkOption { description = "List of environment variables to set in the container. Cannot be updated."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "envFrom" = mkOption { - description = - "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "image" = mkOption { - description = - "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."; - type = (types.nullOr types.str); + description = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."; + type = types.nullOr types.str; }; "imagePullPolicy" = mkOption { - description = - "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; - type = (types.nullOr types.str); + description = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; + type = types.nullOr types.str; }; "lifecycle" = mkOption { - description = - "Actions that the management system should take in response to container lifecycle events. Cannot be updated."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle")); + description = "Actions that the management system should take in response to container lifecycle events. Cannot be updated."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle"); }; "livenessProbe" = mkOption { - description = - "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "name" = mkOption { - description = - "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."; + description = "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."; type = types.str; }; "ports" = mkOption { description = '' List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated.''; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ContainerPort" - "containerPort")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "containerPort"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "readinessProbe" = mkOption { - description = - "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "resources" = mkOption { - description = - "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "securityContext" = mkOption { - description = - "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext")); + description = "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext"); }; "startupProbe" = mkOption { - description = - "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + description = "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "stdin" = mkOption { - description = - "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; + type = types.nullOr types.bool; }; "stdinOnce" = mkOption { - description = - "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; - type = (types.nullOr types.bool); + description = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; + type = types.nullOr types.bool; }; "terminationMessagePath" = mkOption { - description = - "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; - type = (types.nullOr types.str); + description = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; + type = types.nullOr types.str; }; "terminationMessagePolicy" = mkOption { - description = - "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; - type = (types.nullOr types.str); + description = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; + type = types.nullOr types.str; }; "tty" = mkOption { - description = - "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; + type = types.nullOr types.bool; }; "volumeDevices" = mkOption { description = "volumeDevices is the list of block devices to be used by the container."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumeMounts" = mkOption { description = "Pod volumes to mount into the container's filesystem. Cannot be updated."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "workingDir" = mkOption { - description = - "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; - type = (types.nullOr types.str); + description = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; + type = types.nullOr types.str; }; }; @@ -6877,50 +6084,43 @@ let "volumeMounts" = mkOverride 1002 null; "workingDir" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerImage" = { - options = { "names" = mkOption { description = '' Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "sizeBytes" = mkOption { description = "The size of the image in bytes."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "sizeBytes" = mkOverride 1002 null; }; - + config = {"sizeBytes" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ContainerPort" = { - options = { "containerPort" = mkOption { - description = - "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."; + description = "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536."; type = types.int; }; "hostIP" = mkOption { description = "What host IP to bind the external port to."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "hostPort" = mkOption { - description = - "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."; - type = (types.nullOr types.int); + description = "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this."; + type = types.nullOr types.int; }; "name" = mkOption { - description = - "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."; - type = (types.nullOr types.str); + description = "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services."; + type = types.nullOr types.str; }; "protocol" = mkOption { description = ''Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -6930,22 +6130,20 @@ let "name" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerState" = { - options = { "running" = mkOption { description = "Details about a running container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateRunning")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateRunning"); }; "terminated" = mkOption { description = "Details about a terminated container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateTerminated")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateTerminated"); }; "waiting" = mkOption { description = "Details about a waiting container"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateWaiting")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerStateWaiting"); }; }; @@ -6954,26 +6152,22 @@ let "terminated" = mkOverride 1002 null; "waiting" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStateRunning" = { - options = { "startedAt" = mkOption { description = "Time at which the container was last (re-)started"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "startedAt" = mkOverride 1002 null; }; - + config = {"startedAt" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ContainerStateTerminated" = { - options = { "containerID" = mkOption { description = "Container's ID in the format 'docker://'"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "exitCode" = mkOption { description = "Exit status from the last termination of the container"; @@ -6981,23 +6175,23 @@ let }; "finishedAt" = mkOption { description = "Time at which the container last terminated"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Message regarding the last termination of the container"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason from the last termination of the container"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "signal" = mkOption { description = "Signal from the last termination of the container"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "startedAt" = mkOption { description = "Time at which previous execution of the container started"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7009,18 +6203,16 @@ let "signal" = mkOverride 1002 null; "startedAt" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStateWaiting" = { - options = { "message" = mkOption { description = "Message regarding why the container is not yet running."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason the container is not yet running."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7028,18 +6220,15 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ContainerStatus" = { - options = { "containerID" = mkOption { description = "Container's ID in the format 'docker://'."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"; + description = "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images"; type = types.str; }; "imageID" = mkOption { @@ -7048,11 +6237,10 @@ let }; "lastState" = mkOption { description = "Details about the container's last termination condition."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState"); }; "name" = mkOption { - description = - "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."; + description = "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated."; type = types.str; }; "ready" = mkOption { @@ -7060,18 +6248,16 @@ let type = types.bool; }; "restartCount" = mkOption { - description = - "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC."; + description = "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC."; type = types.int; }; "started" = mkOption { - description = - "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."; - type = (types.nullOr types.bool); + description = "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined."; + type = types.nullOr types.bool; }; "state" = mkOption { description = "Details about the container's current condition."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ContainerState"); }; }; @@ -7081,10 +6267,8 @@ let "started" = mkOverride 1002 null; "state" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.DaemonEndpoint" = { - options = { "Port" = mkOption { description = "Port number of the given endpoint."; @@ -7092,44 +6276,36 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.DownwardAPIProjection" = { - options = { "items" = mkOption { description = "Items is a list of DownwardAPIVolume file"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile")); }; }; - config = { "items" = mkOverride 1002 null; }; - + config = {"items" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.DownwardAPIVolumeFile" = { - options = { "fieldRef" = mkOption { - description = - "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector")); + description = "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector"); }; "mode" = mkOption { - description = - "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"; + description = "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"; type = types.str; }; "resourceFieldRef" = mkOption { - description = - "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector")); + description = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector"); }; }; @@ -7138,20 +6314,17 @@ let "mode" = mkOverride 1002 null; "resourceFieldRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.DownwardAPIVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { description = "Items is a list of downward API volume file"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeFile")); }; }; @@ -7159,20 +6332,17 @@ let "defaultMode" = mkOverride 1002 null; "items" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EmptyDirVolumeSource" = { - options = { "medium" = mkOption { description = '' What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "sizeLimit" = mkOption { - description = - "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"; - type = (types.nullOr types.str); + description = "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"; + type = types.nullOr types.str; }; }; @@ -7180,28 +6350,24 @@ let "medium" = mkOverride 1002 null; "sizeLimit" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointAddress" = { - options = { "hostname" = mkOption { description = "The Hostname of this endpoint"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ip" = mkOption { - description = - "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."; + description = "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready."; type = types.str; }; "nodeName" = mkOption { - description = - "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."; - type = (types.nullOr types.str); + description = "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node."; + type = types.nullOr types.str; }; "targetRef" = mkOption { description = "Reference to object providing the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; }; @@ -7210,20 +6376,16 @@ let "nodeName" = mkOverride 1002 null; "targetRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."; - type = (types.nullOr types.str); + description = "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined."; + type = types.nullOr types.str; }; "port" = mkOption { description = "The port number of the endpoint."; @@ -7231,7 +6393,7 @@ let }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7240,24 +6402,20 @@ let "name" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointSubset" = { - options = { "addresses" = mkOption { - description = - "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress"))); + description = "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress")); }; "notReadyAddresses" = mkOption { - description = - "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress"))); + description = "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointAddress")); }; "ports" = mkOption { description = "Port numbers available on the related IP addresses."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointPort")); }; }; @@ -7266,30 +6424,24 @@ let "notReadyAddresses" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Endpoints" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "subsets" = mkOption { - description = - "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointSubset"))); + description = "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EndpointSubset")); }; }; @@ -7299,29 +6451,24 @@ let "metadata" = mkOverride 1002 null; "subsets" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EndpointsList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Endpoints")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Endpoints"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -7330,23 +6477,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvFromSource" = { - options = { "configMapRef" = mkOption { description = "The ConfigMap to select from"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapEnvSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapEnvSource"); }; "prefix" = mkOption { - description = - "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."; - type = (types.nullOr types.str); + description = "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER."; + type = types.nullOr types.str; }; "secretRef" = mkOption { description = "The Secret to select from"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretEnvSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretEnvSource"); }; }; @@ -7355,10 +6499,8 @@ let "prefix" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvVar" = { - options = { "name" = mkOption { description = "Name of the environment variable. Must be a C_IDENTIFIER."; @@ -7367,12 +6509,11 @@ let "value" = mkOption { description = '' Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "valueFrom" = mkOption { - description = - "Source for the environment variable's value. Cannot be used if value is not empty."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EnvVarSource")); + description = "Source for the environment variable's value. Cannot be used if value is not empty."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EnvVarSource"); }; }; @@ -7380,28 +6521,24 @@ let "value" = mkOverride 1002 null; "valueFrom" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EnvVarSource" = { - options = { "configMapKeyRef" = mkOption { description = "Selects a key of a ConfigMap."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapKeySelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapKeySelector"); }; "fieldRef" = mkOption { - description = - "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector")); + description = "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectFieldSelector"); }; "resourceFieldRef" = mkOption { - description = - "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector")); + description = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceFieldSelector"); }; "secretKeyRef" = mkOption { description = "Selects a key of a secret in the pod's namespace"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretKeySelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretKeySelector"); }; }; @@ -7411,122 +6548,117 @@ let "resourceFieldRef" = mkOverride 1002 null; "secretKeyRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralContainer" = { - options = { "args" = mkOption { - description = - "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "command" = mkOption { - description = - "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; - type = (types.nullOr (types.listOf types.str)); + description = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"; + type = types.nullOr (types.listOf types.str); }; "env" = mkOption { description = "List of environment variables to set in the container. Cannot be updated."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EnvVar" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "envFrom" = mkOption { - description = - "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource"))); + description = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.EnvFromSource")); }; "image" = mkOption { - description = - "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"; - type = (types.nullOr types.str); + description = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images"; + type = types.nullOr types.str; }; "imagePullPolicy" = mkOption { - description = - "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; - type = (types.nullOr types.str); + description = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"; + type = types.nullOr types.str; }; "lifecycle" = mkOption { description = "Lifecycle is not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Lifecycle"); }; "livenessProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "name" = mkOption { - description = - "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."; + description = "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers."; type = types.str; }; "ports" = mkOption { description = "Ports are not allowed for ephemeral containers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerPort")); }; "readinessProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "resources" = mkOption { - description = - "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "securityContext" = mkOption { description = "SecurityContext is not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecurityContext"); }; "startupProbe" = mkOption { description = "Probes are not allowed for ephemeral containers."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Probe"); }; "stdin" = mkOption { - description = - "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."; + type = types.nullOr types.bool; }; "stdinOnce" = mkOption { - description = - "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; - type = (types.nullOr types.bool); + description = "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"; + type = types.nullOr types.bool; }; "targetContainerName" = mkOption { - description = - "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."; - type = (types.nullOr types.str); + description = "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature."; + type = types.nullOr types.str; }; "terminationMessagePath" = mkOption { - description = - "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; - type = (types.nullOr types.str); + description = "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."; + type = types.nullOr types.str; }; "terminationMessagePolicy" = mkOption { - description = - "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; - type = (types.nullOr types.str); + description = "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."; + type = types.nullOr types.str; }; "tty" = mkOption { - description = - "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; - type = (types.nullOr types.bool); + description = "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."; + type = types.nullOr types.bool; }; "volumeDevices" = mkOption { description = "volumeDevices is the list of block devices to be used by the container."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeDevice" "devicePath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumeMounts" = mkOption { description = "Pod volumes to mount into the container's filesystem. Cannot be updated."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.VolumeMount" "mountPath"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "workingDir" = mkOption { - description = - "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; - type = (types.nullOr types.str); + description = "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."; + type = types.nullOr types.str; }; }; @@ -7554,31 +6686,29 @@ let "volumeMounts" = mkOverride 1002 null; "workingDir" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralContainers" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "ephemeralContainers" = mkOption { - description = - "A list of ephemeral containers associated with this pod. New ephemeral containers may be appended to this list, but existing ephemeral containers may not be removed or modified."; + description = "A list of ephemeral containers associated with this pod. New ephemeral containers may be appended to this list, but existing ephemeral containers may not be removed or modified."; type = - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -7587,10 +6717,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EphemeralVolumeSource" = { - options = { "volumeClaimTemplate" = mkOption { description = '' @@ -7601,92 +6729,81 @@ let This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created. Required, must not be nil.''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimTemplate")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimTemplate"); }; }; - config = { "volumeClaimTemplate" = mkOverride 1002 null; }; - + config = {"volumeClaimTemplate" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Event" = { - options = { "action" = mkOption { description = "What action was taken/failed regarding to the Regarding object."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "count" = mkOption { description = "The number of times this event has occurred."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "eventTime" = mkOption { description = "Time when this Event was first observed."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "firstTimestamp" = mkOption { - description = - "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"; - type = (types.nullOr types.str); + description = "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)"; + type = types.nullOr types.str; }; "involvedObject" = mkOption { description = "The object that this event is about."; - type = (submoduleOf "io.k8s.api.core.v1.ObjectReference"); + type = submoduleOf "io.k8s.api.core.v1.ObjectReference"; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "lastTimestamp" = mkOption { description = "The time at which the most recent occurrence of this event was recorded."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human-readable description of the status of this operation."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"; }; "reason" = mkOption { - description = - "This should be a short, machine understandable string that gives the reason for the transition into the object's current status."; - type = (types.nullOr types.str); + description = "This should be a short, machine understandable string that gives the reason for the transition into the object's current status."; + type = types.nullOr types.str; }; "related" = mkOption { description = "Optional secondary object for more complex actions."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingComponent" = mkOption { - description = - "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."; - type = (types.nullOr types.str); + description = "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { description = "ID of the controller instance, e.g. `kubelet-xyzf`."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "series" = mkOption { - description = - "Data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSeries")); + description = "Data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSeries"); }; "source" = mkOption { - description = - "The component reporting this event. Should be a short machine understandable string."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "The component reporting this event. Should be a short machine understandable string."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "type" = mkOption { - description = - "Type of this event (Normal, Warning), new types could be added in the future"; - type = (types.nullOr types.str); + description = "Type of this event (Normal, Warning), new types could be added in the future"; + type = types.nullOr types.str; }; }; @@ -7707,29 +6824,24 @@ let "source" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of events"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -7738,18 +6850,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventSeries" = { - options = { "count" = mkOption { description = "Number of occurrences in this series up to the last heartbeat time"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "lastObservedTime" = mkOption { description = "Time of the last occurrence observed"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7757,18 +6867,16 @@ let "count" = mkOverride 1002 null; "lastObservedTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.EventSource" = { - options = { "component" = mkOption { description = "Component from which the event is generated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "host" = mkOption { description = "Node name on which the event is generated."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7776,46 +6884,39 @@ let "component" = mkOverride 1002 null; "host" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ExecAction" = { - options = { "command" = mkOption { - description = - "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."; - type = (types.nullOr (types.listOf types.str)); + description = "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "command" = mkOverride 1002 null; }; - + config = {"command" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.FCVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lun" = mkOption { description = "Optional: FC target lun number"; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "targetWWNs" = mkOption { description = "Optional: FC target worldwide names (WWNs)"; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "wwids" = mkOption { - description = - "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."; - type = (types.nullOr (types.listOf types.str)); + description = "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously."; + type = types.nullOr (types.listOf types.str); }; }; @@ -7826,10 +6927,8 @@ let "targetWWNs" = mkOverride 1002 null; "wwids" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlexPersistentVolumeSource" = { - options = { "driver" = mkOption { description = "Driver is the name of the driver to use for this volume."; @@ -7838,21 +6937,19 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "options" = mkOption { description = "Optional: Extra command options if any."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; }; @@ -7862,10 +6959,8 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlexVolumeSource" = { - options = { "driver" = mkOption { description = "Driver is the name of the driver to use for this volume."; @@ -7874,21 +6969,19 @@ let "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "options" = mkOption { description = "Optional: Extra command options if any."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "readOnly" = mkOption { - description = - "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; }; @@ -7898,19 +6991,16 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.FlockerVolumeSource" = { - options = { "datasetName" = mkOption { - description = - "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"; - type = (types.nullOr types.str); + description = "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated"; + type = types.nullOr types.str; }; "datasetUUID" = mkOption { description = "UUID of the dataset. This is unique identifier of a Flocker dataset"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7918,30 +7008,26 @@ let "datasetName" = mkOverride 1002 null; "datasetUUID" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "partition" = mkOption { description = '' The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "pdName" = mkOption { - description = - "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + description = "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr types.bool; }; }; @@ -7950,15 +7036,12 @@ let "partition" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GitRepoVolumeSource" = { - options = { "directory" = mkOption { - description = - "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."; - type = (types.nullOr types.str); + description = "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."; + type = types.nullOr types.str; }; "repository" = mkOption { description = "Repository URL"; @@ -7966,7 +7049,7 @@ let }; "revision" = mkOption { description = "Commit hash for the specified revision."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -7974,30 +7057,24 @@ let "directory" = mkOverride 1002 null; "revision" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource" = { - options = { "endpoints" = mkOption { - description = - "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "endpointsNamespace" = mkOption { - description = - "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.str); + description = "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.str; }; "path" = mkOption { - description = - "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.bool; }; }; @@ -8005,55 +7082,47 @@ let "endpointsNamespace" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.GlusterfsVolumeSource" = { - options = { "endpoints" = mkOption { - description = - "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "path" = mkOption { - description = - "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + description = "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"; + type = types.nullOr types.bool; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.HTTPGetAction" = { - options = { "host" = mkOption { description = '' Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "httpHeaders" = mkOption { description = "Custom headers to set in the request. HTTP allows repeated headers."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.HTTPHeader"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.HTTPHeader")); }; "path" = mkOption { description = "Path to access on the HTTP server."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; - type = (types.either types.int types.str); + description = "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; + type = types.either types.int types.str; }; "scheme" = mkOption { description = "Scheme to use for connecting to the host. Defaults to HTTP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -8063,10 +7132,8 @@ let "path" = mkOverride 1002 null; "scheme" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HTTPHeader" = { - options = { "name" = mkOption { description = "The header field name"; @@ -8078,25 +7145,21 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.Handler" = { - options = { "exec" = mkOption { - description = - "One and only one of the following should be specified. Exec specifies the action to take."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction")); + description = "One and only one of the following should be specified. Exec specifies the action to take."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction"); }; "httpGet" = mkOption { description = "HTTPGet specifies the http request to perform."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction"); }; "tcpSocket" = mkOption { - description = - "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction")); + description = "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction"); }; }; @@ -8105,18 +7168,16 @@ let "httpGet" = mkOverride 1002 null; "tcpSocket" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HostAlias" = { - options = { "hostnames" = mkOption { description = "Hostnames for the above IP address."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ip" = mkOption { description = "IP address of the host file entry."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -8124,77 +7185,67 @@ let "hostnames" = mkOverride 1002 null; "ip" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.HostPathVolumeSource" = { - options = { "path" = mkOption { - description = - "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + description = "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; type = types.str; }; "type" = mkOption { description = '' Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "type" = mkOverride 1002 null; }; - + config = {"type" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ISCSIPersistentVolumeSource" = { - options = { "chapAuthDiscovery" = mkOption { description = "whether support iSCSI Discovery CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "chapAuthSession" = mkOption { description = "whether support iSCSI Session CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "initiatorName" = mkOption { - description = - "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; - type = (types.nullOr types.str); + description = "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; + type = types.nullOr types.str; }; "iqn" = mkOption { description = "Target iSCSI Qualified Name."; type = types.str; }; "iscsiInterface" = mkOption { - description = - "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; - type = (types.nullOr types.str); + description = "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; + type = types.nullOr types.str; }; "lun" = mkOption { description = "iSCSI Target Lun number."; type = types.int; }; "portals" = mkOption { - description = - "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; - type = (types.nullOr (types.listOf types.str)); + description = "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + type = types.nullOr (types.listOf types.str); }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { description = "CHAP Secret for iSCSI target and initiator authentication"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "targetPortal" = mkOption { - description = - "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + description = "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; type = types.str; }; }; @@ -8209,59 +7260,52 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ISCSIVolumeSource" = { - options = { "chapAuthDiscovery" = mkOption { description = "whether support iSCSI Discovery CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "chapAuthSession" = mkOption { description = "whether support iSCSI Session CHAP authentication"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "initiatorName" = mkOption { - description = - "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; - type = (types.nullOr types.str); + description = "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection."; + type = types.nullOr types.str; }; "iqn" = mkOption { description = "Target iSCSI Qualified Name."; type = types.str; }; "iscsiInterface" = mkOption { - description = - "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; - type = (types.nullOr types.str); + description = "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp)."; + type = types.nullOr types.str; }; "lun" = mkOption { description = "iSCSI Target Lun number."; type = types.int; }; "portals" = mkOption { - description = - "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; - type = (types.nullOr (types.listOf types.str)); + description = "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + type = types.nullOr (types.listOf types.str); }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { description = "CHAP Secret for iSCSI target and initiator authentication"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "targetPortal" = mkOption { - description = - "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; + description = "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260)."; type = types.str; }; }; @@ -8276,42 +7320,34 @@ let "readOnly" = mkOverride 1002 null; "secretRef" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.KeyToPath" = { - options = { "key" = mkOption { description = "The key to project."; type = types.str; }; "mode" = mkOption { - description = - "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."; + description = "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."; type = types.str; }; }; - config = { "mode" = mkOverride 1002 null; }; - + config = {"mode" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Lifecycle" = { - options = { "postStart" = mkOption { - description = - "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler")); + description = "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler"); }; "preStop" = mkOption { - description = - "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler")); + description = "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Handler"); }; }; @@ -8319,30 +7355,24 @@ let "postStart" = mkOverride 1002 null; "preStop" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRange" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LimitRangeSpec")); + description = "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LimitRangeSpec"); }; }; @@ -8352,33 +7382,28 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeItem" = { - options = { "default" = mkOption { - description = - "Default resource requirement limit value by resource name if resource limit is omitted."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Default resource requirement limit value by resource name if resource limit is omitted."; + type = types.nullOr (types.attrsOf types.str); }; "defaultRequest" = mkOption { - description = - "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted."; + type = types.nullOr (types.attrsOf types.str); }; "max" = mkOption { description = "Max usage constraints on this kind by resource name."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "maxLimitRequestRatio" = mkOption { - description = - "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource."; - type = (types.nullOr (types.attrsOf types.str)); + description = "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource."; + type = types.nullOr (types.attrsOf types.str); }; "min" = mkOption { description = "Min usage constraints on this kind by resource name."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "type" = mkOption { description = "Type of resource that this limit applies to."; @@ -8393,30 +7418,24 @@ let "maxLimitRequestRatio" = mkOverride 1002 null; "min" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRange")); + description = "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRange"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8425,37 +7444,30 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LimitRangeSpec" = { - options = { "limits" = mkOption { description = "Limits is the list of LimitRangeItem objects that are enforced."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRangeItem")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.LimitRangeItem"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.LoadBalancerIngress" = { - options = { "hostname" = mkOption { - description = - "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"; - type = (types.nullOr types.str); + description = "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)"; + type = types.nullOr types.str; }; "ip" = mkOption { - description = - "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"; - type = (types.nullOr types.str); + description = "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)"; + type = types.nullOr types.str; }; "ports" = mkOption { - description = - "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PortStatus"))); + description = "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PortStatus")); }; }; @@ -8464,103 +7476,82 @@ let "ip" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.LoadBalancerStatus" = { - options = { "ingress" = mkOption { - description = - "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."; + description = "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LoadBalancerIngress"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LoadBalancerIngress")); }; }; - config = { "ingress" = mkOverride 1002 null; }; - + config = {"ingress" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.LocalObjectReference" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; }; - config = { "name" = mkOverride 1002 null; }; - + config = {"name" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.LocalVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a fileystem if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "path" = mkOption { - description = - "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."; + description = "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...)."; type = types.str; }; }; - config = { "fsType" = mkOverride 1002 null; }; - + config = {"fsType" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NFSVolumeSource" = { - options = { "path" = mkOption { - description = - "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + description = "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; type = types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr types.bool; }; "server" = mkOption { - description = - "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + description = "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; type = types.str; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Namespace" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceSpec")); + description = "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceSpec"); }; "status" = mkOption { - description = - "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceStatus")); + description = "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NamespaceStatus"); }; }; @@ -8571,22 +7562,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceCondition" = { - options = { "lastTransitionTime" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -8603,30 +7592,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Namespace")); + description = "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Namespace"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8635,35 +7618,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NamespaceSpec" = { - options = { "finalizers" = mkOption { - description = - "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; - type = (types.nullOr (types.listOf types.str)); + description = "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; + type = types.nullOr (types.listOf types.str); }; }; - config = { "finalizers" = mkOverride 1002 null; }; - + config = {"finalizers" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NamespaceStatus" = { - options = { "conditions" = mkOption { - description = - "Represents the latest available observations of a namespace's current state."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Represents the latest available observations of a namespace's current state."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NamespaceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "phase" = mkOption { - description = - "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; - type = (types.nullOr types.str); + description = "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/"; + type = types.nullOr types.str; }; }; @@ -8671,35 +7651,28 @@ let "conditions" = mkOverride 1002 null; "phase" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Node" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSpec")); + description = "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeStatus")); + description = "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeStatus"); }; }; @@ -8710,10 +7683,8 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeAddress" = { - options = { "address" = mkOption { description = "The node address."; @@ -8725,22 +7696,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.NodeAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.PreferredSchedulingTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.PreferredSchedulingTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector")); + description = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector"); }; }; @@ -8748,26 +7717,24 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeCondition" = { - options = { "lastHeartbeatTime" = mkOption { description = "Last time we got an update on a given condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transit from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "(brief) reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -8785,42 +7752,34 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeConfigSource" = { - options = { "configMap" = mkOption { description = "ConfigMap is a reference to a Node's ConfigMap"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapNodeConfigSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapNodeConfigSource"); }; }; - config = { "configMap" = mkOverride 1002 null; }; - + config = {"configMap" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeConfigStatus" = { - options = { "active" = mkOption { - description = - "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "assigned" = mkOption { - description = - "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "error" = mkOption { - description = - "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."; - type = (types.nullOr types.str); + description = "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions."; + type = types.nullOr types.str; }; "lastKnownGood" = mkOption { - description = - "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; }; @@ -8830,41 +7789,34 @@ let "error" = mkOverride 1002 null; "lastKnownGood" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeDaemonEndpoints" = { - options = { "kubeletEndpoint" = mkOption { description = "Endpoint on which Kubelet is listening."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DaemonEndpoint")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DaemonEndpoint"); }; }; - config = { "kubeletEndpoint" = mkOverride 1002 null; }; - + config = {"kubeletEndpoint" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of nodes"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Node")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Node"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -8873,54 +7825,48 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSelector" = { - options = { "nodeSelectorTerms" = mkOption { description = "Required. A list of node selector terms. The terms are ORed."; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.NodeSelectorRequirement" = { - options = { "key" = mkOption { description = "The label key that the selector applies to."; type = types.str; }; "operator" = mkOption { - description = - "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."; + description = "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."; type = types.str; }; "values" = mkOption { - description = - "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.NodeSelectorTerm" = { - options = { "matchExpressions" = mkOption { description = "A list of node selector requirements by node's labels."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement")); }; "matchFields" = mkOption { description = "A list of node selector requirements by node's fields."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.NodeSelectorRequirement")); }; }; @@ -8928,43 +7874,36 @@ let "matchExpressions" = mkOverride 1002 null; "matchFields" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSpec" = { - options = { "configSource" = mkOption { - description = - "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource")); + description = "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigSource"); }; "externalID" = mkOption { - description = - "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"; - type = (types.nullOr types.str); + description = "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966"; + type = types.nullOr types.str; }; "podCIDR" = mkOption { description = "PodCIDR represents the pod IP range assigned to the node."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podCIDRs" = mkOption { - description = - "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."; - type = (types.nullOr (types.listOf types.str)); + description = "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6."; + type = types.nullOr (types.listOf types.str); }; "providerID" = mkOption { - description = - "ID of the node assigned by the cloud provider in the format: ://"; - type = (types.nullOr types.str); + description = "ID of the node assigned by the cloud provider in the format: ://"; + type = types.nullOr types.str; }; "taints" = mkOption { description = "If specified, the node's taints."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Taint"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Taint")); }; "unschedulable" = mkOption { - description = - "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration"; - type = (types.nullOr types.bool); + description = "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration"; + type = types.nullOr types.bool; }; }; @@ -8977,65 +7916,64 @@ let "taints" = mkOverride 1002 null; "unschedulable" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeStatus" = { - options = { "addresses" = mkOption { - description = - "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeAddress" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "allocatable" = mkOption { - description = - "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity."; + type = types.nullOr (types.attrsOf types.str); }; "capacity" = mkOption { - description = - "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; + type = types.nullOr (types.attrsOf types.str); }; "conditions" = mkOption { - description = - "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.NodeCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "config" = mkOption { - description = - "Status of the config assigned to the node via the dynamic Kubelet config feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigStatus")); + description = "Status of the config assigned to the node via the dynamic Kubelet config feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeConfigStatus"); }; "daemonEndpoints" = mkOption { description = "Endpoints of daemons running on the Node."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeDaemonEndpoints")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeDaemonEndpoints"); }; "images" = mkOption { description = "List of container images on this node"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerImage"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerImage")); }; "nodeInfo" = mkOption { - description = - "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSystemInfo")); + description = "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSystemInfo"); }; "phase" = mkOption { - description = - "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."; - type = (types.nullOr types.str); + description = "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated."; + type = types.nullOr types.str; }; "volumesAttached" = mkOption { description = "List of volumes that are attached to the node."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.AttachedVolume"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.AttachedVolume")); }; "volumesInUse" = mkOption { description = "List of attachable volumes in use (mounted) by the node."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -9052,10 +7990,8 @@ let "volumesAttached" = mkOverride 1002 null; "volumesInUse" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.NodeSystemInfo" = { - options = { "architecture" = mkOption { description = "The Architecture reported by the node"; @@ -9066,13 +8002,11 @@ let type = types.str; }; "containerRuntimeVersion" = mkOption { - description = - "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."; + description = "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0)."; type = types.str; }; "kernelVersion" = mkOption { - description = - "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."; + description = "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64)."; type = types.str; }; "kubeProxyVersion" = mkOption { @@ -9084,8 +8018,7 @@ let type = types.str; }; "machineID" = mkOption { - description = - "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"; + description = "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html"; type = types.str; }; "operatingSystem" = mkOption { @@ -9093,27 +8026,22 @@ let type = types.str; }; "osImage" = mkOption { - description = - "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."; + description = "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy))."; type = types.str; }; "systemUUID" = mkOption { - description = - "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"; + description = "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid"; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.ObjectFieldSelector" = { - options = { "apiVersion" = mkOption { - description = - ''Version of the schema the FieldPath is written in terms of, defaults to "v1".''; - type = (types.nullOr types.str); + description = ''Version of the schema the FieldPath is written in terms of, defaults to "v1".''; + type = types.nullOr types.str; }; "fieldPath" = mkOption { description = "Path of the field to select in the specified API version."; @@ -9121,45 +8049,38 @@ let }; }; - config = { "apiVersion" = mkOverride 1002 null; }; - + config = {"apiVersion" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ObjectReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldPath" = mkOption { description = '' If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "namespace" = mkOption { - description = - "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; - type = (types.nullOr types.str); + description = "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"; + type = types.nullOr types.str; }; "resourceVersion" = mkOption { - description = - "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; - type = (types.nullOr types.str); + description = "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; + type = types.nullOr types.str; }; "uid" = mkOption { - description = - "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"; - type = (types.nullOr types.str); + description = "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"; + type = types.nullOr types.str; }; }; @@ -9172,35 +8093,28 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolume" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "status" = mkOption { - description = - "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeStatus")); + description = "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeStatus"); }; }; @@ -9211,35 +8125,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaim" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec")); + description = "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"); }; "status" = mkOption { - description = - "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimStatus")); + description = "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimStatus"); }; }; @@ -9250,27 +8157,25 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time we probed the condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = '' Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "ResizeStarted" that means the underlying persistent volume is being resized.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = ""; @@ -9288,30 +8193,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim")); + description = "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaim"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9320,44 +8219,36 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimSpec" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; + type = types.nullOr (types.listOf types.str); }; "dataSource" = mkOption { - description = - "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "resources" = mkOption { - description = - "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements")); + description = "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceRequirements"); }; "selector" = mkOption { description = "A label query over volumes to consider for binding."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "storageClassName" = mkOption { - description = - "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"; - type = (types.nullOr types.str); + description = "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"; + type = types.nullOr types.str; }; "volumeMode" = mkOption { - description = - "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."; - type = (types.nullOr types.str); + description = "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec."; + type = types.nullOr types.str; }; "volumeName" = mkOption { - description = - "VolumeName is the binding reference to the PersistentVolume backing this claim."; - type = (types.nullOr types.str); + description = "VolumeName is the binding reference to the PersistentVolume backing this claim."; + type = types.nullOr types.str; }; }; @@ -9370,31 +8261,31 @@ let "volumeMode" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimStatus" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1"; + type = types.nullOr (types.listOf types.str); }; "capacity" = mkOption { description = "Represents the actual resources of the underlying volume."; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; "conditions" = mkOption { - description = - "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."; - type = (types.nullOr + description = "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PersistentVolumeClaimCondition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "phase" = mkOption { description = "Phase represents the current phase of PersistentVolumeClaim."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -9404,65 +8295,52 @@ let "conditions" = mkOverride 1002 null; "phase" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeClaimTemplate" = { - options = { "metadata" = mkOption { - description = - "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here."; - type = (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"); + description = "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here."; + type = submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimSpec"; }; }; - config = { "metadata" = mkOverride 1002 null; }; - + config = {"metadata" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" = { - options = { "claimName" = mkOption { - description = - "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + description = "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; type = types.str; }; "readOnly" = mkOption { description = "Will force the ReadOnly setting in VolumeMounts. Default false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; - config = { "readOnly" = mkOverride 1002 null; }; - + config = {"readOnly" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PersistentVolumeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolume")); + description = "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PersistentVolume"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9471,159 +8349,129 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeSpec" = { - options = { "accessModes" = mkOption { - description = - "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"; - type = (types.nullOr (types.listOf types.str)); + description = "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes"; + type = types.nullOr (types.listOf types.str); }; "awsElasticBlockStore" = mkOption { - description = - "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource")); + description = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"); }; "azureDisk" = mkOption { - description = - "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource")); + description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource"); }; "azureFile" = mkOption { - description = - "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFilePersistentVolumeSource")); + description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFilePersistentVolumeSource"); }; "capacity" = mkOption { - description = - "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; - type = (types.nullOr (types.attrsOf types.str)); + description = "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity"; + type = types.nullOr (types.attrsOf types.str); }; "cephfs" = mkOption { - description = - "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSPersistentVolumeSource")); + description = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSPersistentVolumeSource"); }; "cinder" = mkOption { - description = - "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderPersistentVolumeSource")); + description = "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderPersistentVolumeSource"); }; "claimRef" = mkOption { - description = - "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "csi" = mkOption { - description = - "CSI represents storage that is handled by an external CSI driver (Beta feature)."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIPersistentVolumeSource")); + description = "CSI represents storage that is handled by an external CSI driver (Beta feature)."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIPersistentVolumeSource"); }; "fc" = mkOption { - description = - "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource")); + description = "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource"); }; "flexVolume" = mkOption { - description = - "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexPersistentVolumeSource")); + description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexPersistentVolumeSource"); }; "flocker" = mkOption { - description = - "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource")); + description = "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource"); }; "gcePersistentDisk" = mkOption { - description = - "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource")); + description = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"); }; "glusterfs" = mkOption { - description = - "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource")); + description = "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource"); }; "hostPath" = mkOption { - description = - "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource")); + description = "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource"); }; "iscsi" = mkOption { - description = - "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIPersistentVolumeSource")); + description = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIPersistentVolumeSource"); }; "local" = mkOption { description = "Local represents directly-attached storage with node affinity"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalVolumeSource"); }; "mountOptions" = mkOption { description = '' A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "nfs" = mkOption { - description = - "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource")); + description = "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource"); }; "nodeAffinity" = mkOption { - description = - "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VolumeNodeAffinity")); + description = "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VolumeNodeAffinity"); }; "persistentVolumeReclaimPolicy" = mkOption { - description = - "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"; - type = (types.nullOr types.str); + description = "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming"; + type = types.nullOr types.str; }; "photonPersistentDisk" = mkOption { - description = - "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource")); + description = "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource"); }; "portworxVolume" = mkOption { - description = - "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource")); + description = "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource"); }; "quobyte" = mkOption { - description = - "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource")); + description = "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource"); }; "rbd" = mkOption { - description = - "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDPersistentVolumeSource")); + description = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDPersistentVolumeSource"); }; "scaleIO" = mkOption { - description = - "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource")); + description = "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource"); }; "storageClassName" = mkOption { - description = - "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."; - type = (types.nullOr types.str); + description = "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass."; + type = types.nullOr types.str; }; "storageos" = mkOption { - description = - "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSPersistentVolumeSource")); + description = "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSPersistentVolumeSource"); }; "volumeMode" = mkOption { - description = - "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."; - type = (types.nullOr types.str); + description = "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec."; + type = types.nullOr types.str; }; "vsphereVolume" = mkOption { - description = - "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource")); + description = "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource"); }; }; @@ -9659,25 +8507,20 @@ let "volumeMode" = mkOverride 1002 null; "vsphereVolume" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PersistentVolumeStatus" = { - options = { "message" = mkOption { - description = - "A human-readable message indicating details about why the volume is in this state."; - type = (types.nullOr types.str); + description = "A human-readable message indicating details about why the volume is in this state."; + type = types.nullOr types.str; }; "phase" = mkOption { - description = - "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"; - type = (types.nullOr types.str); + description = "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."; - type = (types.nullOr types.str); + description = "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI."; + type = types.nullOr types.str; }; }; @@ -9686,15 +8529,13 @@ let "phase" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pdID" = mkOption { description = "ID that identifies Photon Controller persistent disk"; @@ -9702,36 +8543,29 @@ let }; }; - config = { "fsType" = mkOverride 1002 null; }; - + config = {"fsType" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Pod" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec")); + description = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodStatus")); + description = "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodStatus"); }; }; @@ -9742,21 +8576,19 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"))); + description = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm")); }; }; @@ -9764,28 +8596,25 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAffinityTerm" = { - options = { "labelSelector" = mkOption { description = "A label query over a set of resources, in this case pods."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "namespaceSelector" = mkOption { description = '' A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is alpha-level and is only honored when PodAffinityNamespaceSelector feature is enabled.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "namespaces" = mkOption { description = '' namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace"''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "topologyKey" = mkOption { - description = - "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."; + description = "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."; type = types.str; }; }; @@ -9795,21 +8624,19 @@ let "namespaceSelector" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodAntiAffinity" = { - options = { "preferredDuringSchedulingIgnoredDuringExecution" = mkOption { description = '' The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.WeightedPodAffinityTerm")); }; "requiredDuringSchedulingIgnoredDuringExecution" = mkOption { - description = - "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"))); + description = "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm")); }; }; @@ -9817,35 +8644,31 @@ let "preferredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; "requiredDuringSchedulingIgnoredDuringExecution" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodCondition" = { - options = { "lastProbeTime" = mkOption { description = "Last time we probed the condition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { - description = - "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + description = "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; type = types.str; }; "type" = mkOption { - description = - "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + description = "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; type = types.str; }; }; @@ -9856,26 +8679,21 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodDNSConfig" = { - options = { "nameservers" = mkOption { - description = - "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."; - type = (types.nullOr (types.listOf types.str)); + description = "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."; + type = types.nullOr (types.listOf types.str); }; "options" = mkOption { - description = - "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."; + description = "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodDNSConfigOption"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodDNSConfigOption")); }; "searches" = mkOption { - description = - "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."; - type = (types.nullOr (types.listOf types.str)); + description = "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."; + type = types.nullOr (types.listOf types.str); }; }; @@ -9884,18 +8702,16 @@ let "options" = mkOverride 1002 null; "searches" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodDNSConfigOption" = { - options = { "name" = mkOption { description = "Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "value" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -9903,42 +8719,34 @@ let "name" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodIP" = { - options = { "ip" = mkOption { description = "ip is an IP address (IPv4 or IPv6) assigned to the pod"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; - config = { "ip" = mkOverride 1002 null; }; - + config = {"ip" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PodList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Pod")); + description = "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Pod"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -9947,23 +8755,18 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodReadinessGate" = { - options = { "conditionType" = mkOption { - description = - "ConditionType refers to a condition in the pod's condition list with matching type."; + description = "ConditionType refers to a condition in the pod's condition list with matching type."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.PodSecurityContext" = { - options = { "fsGroup" = mkOption { description = '' @@ -9972,51 +8775,44 @@ let 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "fsGroupChangePolicy" = mkOption { description = '' fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "runAsGroup" = mkOption { - description = - "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr types.int); + description = "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr types.int; }; "runAsNonRoot" = mkOption { - description = - "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.bool); + description = "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.bool; }; "runAsUser" = mkOption { - description = - "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr types.int); + description = "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr types.int; }; "seLinuxOptions" = mkOption { - description = - "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; "seccompProfile" = mkOption { description = "The seccomp options to use by the containers in this pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile"); }; "supplementalGroups" = mkOption { - description = - "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."; - type = (types.nullOr (types.listOf types.int)); + description = "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container."; + type = types.nullOr (types.listOf types.int); }; "sysctls" = mkOption { - description = - "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Sysctl"))); + description = "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Sysctl")); }; "windowsOptions" = mkOption { - description = - "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions")); + description = "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions"); }; }; @@ -10032,195 +8828,192 @@ let "sysctls" = mkOverride 1002 null; "windowsOptions" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodSpec" = { - options = { "activeDeadlineSeconds" = mkOption { - description = - "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer."; + type = types.nullOr types.int; }; "affinity" = mkOption { description = "If specified, the pod's scheduling constraints"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Affinity")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Affinity"); }; "automountServiceAccountToken" = mkOption { - description = - "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."; - type = (types.nullOr types.bool); + description = "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted."; + type = types.nullOr types.bool; }; "containers" = mkOption { - description = - "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."; - type = (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated."; + type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "dnsConfig" = mkOption { - description = - "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodDNSConfig")); + description = "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodDNSConfig"); }; "dnsPolicy" = mkOption { description = '' Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enableServiceLinks" = mkOption { - description = - "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."; - type = (types.nullOr types.bool); + description = "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true."; + type = types.nullOr types.bool; }; "ephemeralContainers" = mkOption { - description = - "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature."; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.EphemeralContainer" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "hostAliases" = mkOption { - description = - "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."; + description = "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.HostAlias" "ip"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "hostIPC" = mkOption { description = "Use the host's ipc namespace. Optional: Default to false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "hostNetwork" = mkOption { - description = - "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."; - type = (types.nullOr types.bool); + description = "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false."; + type = types.nullOr types.bool; }; "hostPID" = mkOption { description = "Use the host's pid namespace. Optional: Default to false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "hostname" = mkOption { - description = - "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."; - type = (types.nullOr types.str); + description = "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value."; + type = types.nullOr types.str; }; "imagePullSecrets" = mkOption { - description = - "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.LocalObjectReference" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "initContainers" = mkOption { - description = - "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Container" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "nodeName" = mkOption { - description = - "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."; - type = (types.nullOr types.str); + description = "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements."; + type = types.nullOr types.str; }; "nodeSelector" = mkOption { - description = - "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/"; + type = types.nullOr (types.attrsOf types.str); }; "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (types.attrsOf types.str); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "priority" = mkOption { - description = - "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."; - type = (types.nullOr types.int); + description = "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority."; + type = types.nullOr types.int; }; "priorityClassName" = mkOption { description = '' If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readinessGates" = mkOption { description = '' If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md''; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodReadinessGate"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.PodReadinessGate")); }; "restartPolicy" = mkOption { - description = - "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"; - type = (types.nullOr types.str); + description = "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy"; + type = types.nullOr types.str; }; "runtimeClassName" = mkOption { description = '' RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "schedulerName" = mkOption { - description = - "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."; - type = (types.nullOr types.str); + description = "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."; + type = types.nullOr types.str; }; "securityContext" = mkOption { - description = - "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSecurityContext")); + description = "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSecurityContext"); }; "serviceAccount" = mkOption { - description = - "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."; - type = (types.nullOr types.str); + description = "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead."; + type = types.nullOr types.str; }; "serviceAccountName" = mkOption { - description = - "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; - type = (types.nullOr types.str); + description = "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; + type = types.nullOr types.str; }; "setHostnameAsFQDN" = mkOption { - description = - "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."; - type = (types.nullOr types.bool); + description = "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false."; + type = types.nullOr types.bool; }; "shareProcessNamespace" = mkOption { - description = - "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."; - type = (types.nullOr types.bool); + description = "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false."; + type = types.nullOr types.bool; }; "subdomain" = mkOption { description = '' If specified, the fully qualified Pod hostname will be "...svc.". If not specified, the pod will not have a domainname at all.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "terminationGracePeriodSeconds" = mkOption { - description = - "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds."; + type = types.nullOr types.int; }; "tolerations" = mkOption { description = "If specified, the pod's tolerations."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; "topologySpreadConstraints" = mkOption { - description = - "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."; - type = (types.nullOr + description = "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.TopologySpreadConstraint" - "topologyKey")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "topologyKey"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "volumes" = mkOption { - description = - "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"; + description = "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes"; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.Volume" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -10260,47 +9053,42 @@ let "topologySpreadConstraints" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodStatus" = { - options = { "conditions" = mkOption { - description = - "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "containerStatuses" = mkOption { - description = - "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "ephemeralContainerStatuses" = mkOption { - description = - "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "hostIP" = mkOption { - description = - "IP address of the host to which the pod is assigned. Empty if not yet scheduled."; - type = (types.nullOr types.str); + description = "IP address of the host to which the pod is assigned. Empty if not yet scheduled."; + type = types.nullOr types.str; }; "initContainerStatuses" = mkOption { - description = - "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus"))); + description = "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.ContainerStatus")); }; "message" = mkOption { - description = - "A human readable message indicating details about why the pod is in this condition."; - type = (types.nullOr types.str); + description = "A human readable message indicating details about why the pod is in this condition."; + type = types.nullOr types.str; }; "nominatedNodeName" = mkOption { - description = - "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."; - type = (types.nullOr types.str); + description = "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled."; + type = types.nullOr types.str; }; "phase" = mkOption { description = '' @@ -10309,34 +9097,32 @@ let Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podIP" = mkOption { - description = - "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."; - type = (types.nullOr types.str); + description = "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated."; + type = types.nullOr types.str; }; "podIPs" = mkOption { - description = - "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."; + description = "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet."; type = - (types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.PodIP" "ip"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "qosClass" = mkOption { - description = - "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"; - type = (types.nullOr types.str); + description = "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md"; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"; - type = (types.nullOr types.str); + description = "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'"; + type = types.nullOr types.str; }; "startTime" = mkOption { - description = - "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."; - type = (types.nullOr types.str); + description = "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."; + type = types.nullOr types.str; }; }; @@ -10355,30 +9141,24 @@ let "reason" = mkOverride 1002 null; "startTime" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplate" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "template" = mkOption { - description = - "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -10388,29 +9168,24 @@ let "metadata" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplateList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of pod templates"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.PodTemplate")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.PodTemplate"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10419,20 +9194,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PodTemplateSpec" = { - options = { "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec")); + description = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodSpec"); }; }; @@ -10440,10 +9211,8 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PortStatus" = { - options = { "error" = mkOption { description = '' @@ -10451,11 +9220,10 @@ let CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Port is the port number of the service port of which status is recorded here"; + description = "Port is the port number of the service port of which status is recorded here"; type = types.int; }; "protocol" = mkOption { @@ -10465,21 +9233,18 @@ let }; }; - config = { "error" = mkOverride 1002 null; }; - + config = {"error" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.PortworxVolumeSource" = { - options = { "fsType" = mkOption { description = '' FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "volumeID" = mkOption { description = "VolumeID uniquely identifies a Portworx volume"; @@ -10491,71 +9256,58 @@ let "fsType" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.PreferredSchedulingTerm" = { - options = { "preference" = mkOption { description = "A node selector term, associated with the corresponding weight."; - type = (submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"); + type = submoduleOf "io.k8s.api.core.v1.NodeSelectorTerm"; }; "weight" = mkOption { - description = - "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."; + description = "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.Probe" = { - options = { "exec" = mkOption { - description = - "One and only one of the following should be specified. Exec specifies the action to take."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction")); + description = "One and only one of the following should be specified. Exec specifies the action to take."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ExecAction"); }; "failureThreshold" = mkOption { - description = - "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."; - type = (types.nullOr types.int); + description = "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."; + type = types.nullOr types.int; }; "httpGet" = mkOption { description = "HTTPGet specifies the http request to perform."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HTTPGetAction"); }; "initialDelaySeconds" = mkOption { - description = - "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr types.int); + description = "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr types.int; }; "periodSeconds" = mkOption { - description = - "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."; - type = (types.nullOr types.int); + description = "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."; + type = types.nullOr types.int; }; "successThreshold" = mkOption { - description = - "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."; - type = (types.nullOr types.int); + description = "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."; + type = types.nullOr types.int; }; "tcpSocket" = mkOption { - description = - "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction")); + description = "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TCPSocketAction"); }; "terminationGracePeriodSeconds" = mkOption { - description = - "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate."; - type = (types.nullOr types.int); + description = "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate."; + type = types.nullOr types.int; }; "timeoutSeconds" = mkOption { - description = - "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; - type = (types.nullOr types.int); + description = "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"; + type = types.nullOr types.int; }; }; @@ -10570,19 +9322,16 @@ let "terminationGracePeriodSeconds" = mkOverride 1002 null; "timeoutSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ProjectedVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "sources" = mkOption { description = "list of volume projections"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeProjection"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.VolumeProjection")); }; }; @@ -10590,37 +9339,31 @@ let "defaultMode" = mkOverride 1002 null; "sources" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.QuobyteVolumeSource" = { - options = { "group" = mkOption { description = "Group to map volume access to Default is no group"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false."; + type = types.nullOr types.bool; }; "registry" = mkOption { - description = - "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"; + description = "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes"; type = types.str; }; "tenant" = mkOption { - description = - "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"; - type = (types.nullOr types.str); + description = "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin"; + type = types.nullOr types.str; }; "user" = mkOption { description = "User to map volume access to Defaults to serivceaccount user"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "volume" = mkOption { - description = - "Volume is a string that references an already created Quobyte volume by name."; + description = "Volume is a string that references an already created Quobyte volume by name."; type = types.str; }; }; @@ -10631,50 +9374,41 @@ let "tenant" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.RBDPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + description = "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; type = types.str; }; "keyring" = mkOption { - description = - "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "monitors" = mkOption { - description = - "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.listOf types.str; }; "pool" = mkOption { - description = - "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference")); + description = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretReference"); }; "user" = mkOption { - description = - "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -10686,50 +9420,41 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.RBDVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "image" = mkOption { - description = - "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + description = "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; type = types.str; }; "keyring" = mkOption { - description = - "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "monitors" = mkOption { - description = - "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.listOf types.str); + description = "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.listOf types.str; }; "pool" = mkOption { - description = - "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.bool); + description = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "user" = mkOption { - description = - "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; - type = (types.nullOr types.str); + description = "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"; + type = types.nullOr types.str; }; }; @@ -10741,35 +9466,28 @@ let "secretRef" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationController" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerSpec")); + description = "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerSpec"); }; "status" = mkOption { - description = - "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerStatus")); + description = "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ReplicationControllerStatus"); }; }; @@ -10780,22 +9498,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerCondition" = { - options = { "lastTransitionTime" = mkOption { description = "The last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "A human readable message indicating details about the transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "The reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status of the condition, one of True, False, Unknown."; @@ -10812,30 +9528,24 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ReplicationController")); + description = "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ReplicationController"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -10844,30 +9554,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerSpec" = { - options = { "minReadySeconds" = mkOption { - description = - "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; - type = (types.nullOr types.int); + description = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)"; + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; - type = (types.nullOr types.int); + description = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; + type = types.nullOr types.int; }; "selector" = mkOption { - description = - "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"; + type = types.nullOr (types.attrsOf types.str); }; "template" = mkOption { - description = - "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec")); + description = "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PodTemplateSpec"); }; }; @@ -10877,41 +9581,38 @@ let "selector" = mkOverride 1002 null; "template" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ReplicationControllerStatus" = { - options = { "availableReplicas" = mkOption { - description = - "The number of available replicas (ready for at least minReadySeconds) for this replication controller."; - type = (types.nullOr types.int); + description = "The number of available replicas (ready for at least minReadySeconds) for this replication controller."; + type = types.nullOr types.int; }; "conditions" = mkOption { - description = - "Represents the latest available observations of a replication controller's current state."; - type = (types.nullOr + description = "Represents the latest available observations of a replication controller's current state."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ReplicationControllerCondition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "fullyLabeledReplicas" = mkOption { - description = - "The number of pods that have labels matching the labels of the pod template of the replication controller."; - type = (types.nullOr types.int); + description = "The number of pods that have labels matching the labels of the pod template of the replication controller."; + type = types.nullOr types.int; }; "observedGeneration" = mkOption { - description = - "ObservedGeneration reflects the generation of the most recently observed replication controller."; - type = (types.nullOr types.int); + description = "ObservedGeneration reflects the generation of the most recently observed replication controller."; + type = types.nullOr types.int; }; "readyReplicas" = mkOption { description = "The number of ready replicas for this replication controller."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "replicas" = mkOption { - description = - "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; + description = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller"; type = types.int; }; }; @@ -10923,18 +9624,16 @@ let "observedGeneration" = mkOverride 1002 null; "readyReplicas" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceFieldSelector" = { - options = { "containerName" = mkOption { description = "Container name: required for volumes, optional for env vars"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "divisor" = mkOption { description = ''Specifies the output format of the exposed resources, defaults to "1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "resource" = mkOption { description = "Required: resource to select"; @@ -10946,35 +9645,28 @@ let "containerName" = mkOverride 1002 null; "divisor" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuota" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaSpec")); + description = "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaSpec"); }; "status" = mkOption { - description = - "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaStatus")); + description = "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ResourceQuotaStatus"); }; }; @@ -10985,30 +9677,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ResourceQuota")); + description = "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ResourceQuota"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11017,25 +9703,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaSpec" = { - options = { "hard" = mkOption { - description = - "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.nullOr (types.attrsOf types.str); }; "scopeSelector" = mkOption { - description = - "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScopeSelector")); + description = "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScopeSelector"); }; "scopes" = mkOption { - description = - "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."; - type = (types.nullOr (types.listOf types.str)); + description = "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."; + type = types.nullOr (types.listOf types.str); }; }; @@ -11044,20 +9725,16 @@ let "scopeSelector" = mkOverride 1002 null; "scopes" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceQuotaStatus" = { - options = { "hard" = mkOption { - description = - "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"; + type = types.nullOr (types.attrsOf types.str); }; "used" = mkOption { - description = - "Used is the current observed total usage of the resource in the namespace."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Used is the current observed total usage of the resource in the namespace."; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -11065,20 +9742,16 @@ let "hard" = mkOverride 1002 null; "used" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ResourceRequirements" = { - options = { "limits" = mkOption { - description = - "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; + type = types.nullOr (types.attrsOf types.str); }; "requests" = mkOption { - description = - "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"; + type = types.nullOr (types.attrsOf types.str); }; }; @@ -11086,26 +9759,24 @@ let "limits" = mkOverride 1002 null; "requests" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SELinuxOptions" = { - options = { "level" = mkOption { description = "Level is SELinux level label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "role" = mkOption { description = "Role is a SELinux role label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = "Type is a SELinux type label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "user" = mkOption { description = "User is a SELinux user label that applies to the container."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11115,15 +9786,13 @@ let "type" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "gateway" = mkOption { description = "The host address of the ScaleIO API Gateway."; @@ -11131,39 +9800,35 @@ let }; "protectionDomain" = mkOption { description = "The name of the ScaleIO Protection Domain for the configured storage."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; - type = (submoduleOf "io.k8s.api.core.v1.SecretReference"); + description = "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; + type = submoduleOf "io.k8s.api.core.v1.SecretReference"; }; "sslEnabled" = mkOption { description = "Flag to enable/disable SSL communication with Gateway, default false"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageMode" = mkOption { - description = - "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; - type = (types.nullOr types.str); + description = "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; + type = types.nullOr types.str; }; "storagePool" = mkOption { description = "The ScaleIO Storage Pool associated with the protection domain."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "system" = mkOption { description = "The name of the storage system as configured in ScaleIO."; type = types.str; }; "volumeName" = mkOption { - description = - "The name of a volume already created in the ScaleIO system that is associated with this volume source."; - type = (types.nullOr types.str); + description = "The name of a volume already created in the ScaleIO system that is associated with this volume source."; + type = types.nullOr types.str; }; }; @@ -11176,15 +9841,13 @@ let "storagePool" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScaleIOVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "gateway" = mkOption { description = "The host address of the ScaleIO API Gateway."; @@ -11192,39 +9855,35 @@ let }; "protectionDomain" = mkOption { description = "The name of the ScaleIO Protection Domain for the configured storage."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; - type = (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); + description = "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."; + type = submoduleOf "io.k8s.api.core.v1.LocalObjectReference"; }; "sslEnabled" = mkOption { description = "Flag to enable/disable SSL communication with Gateway, default false"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageMode" = mkOption { - description = - "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; - type = (types.nullOr types.str); + description = "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned."; + type = types.nullOr types.str; }; "storagePool" = mkOption { description = "The ScaleIO Storage Pool associated with the protection domain."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "system" = mkOption { description = "The name of the storage system as configured in ScaleIO."; type = types.str; }; "volumeName" = mkOption { - description = - "The name of a volume already created in the ScaleIO system that is associated with this volume source."; - type = (types.nullOr types.str); + description = "The name of a volume already created in the ScaleIO system that is associated with this volume source."; + type = types.nullOr types.str; }; }; @@ -11237,27 +9896,23 @@ let "storagePool" = mkOverride 1002 null; "volumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ScopeSelector" = { - options = { "matchExpressions" = mkOption { description = "A list of scope selector requirements by scope of the resources."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.ScopedResourceSelectorRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.ScopedResourceSelectorRequirement")); }; }; - config = { "matchExpressions" = mkOverride 1002 null; }; - + config = {"matchExpressions" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.ScopedResourceSelectorRequirement" = { - options = { "operator" = mkOption { - description = - "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."; + description = "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist."; type = types.str; }; "scopeName" = mkOption { @@ -11265,22 +9920,19 @@ let type = types.str; }; "values" = mkOption { - description = - "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.SeccompProfile" = { - options = { "localhostProfile" = mkOption { description = '' localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = '' @@ -11291,45 +9943,37 @@ let }; }; - config = { "localhostProfile" = mkOverride 1002 null; }; - + config = {"localhostProfile" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Secret" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "data" = mkOption { - description = - "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"; + type = types.nullOr (types.attrsOf types.str); }; "immutable" = mkOption { - description = - "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil."; - type = (types.nullOr types.bool); + description = "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "stringData" = mkOption { - description = - "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API."; - type = (types.nullOr (types.attrsOf types.str)); + description = "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API."; + type = types.nullOr (types.attrsOf types.str); }; "type" = mkOption { description = "Used to facilitate programmatic handling of secret data."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11342,19 +9986,16 @@ let "stringData" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretEnvSource" = { - options = { "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11362,23 +10003,20 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretKeySelector" = { - options = { "key" = mkOption { description = "The key of the secret to select from. Must be a valid secret key."; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11386,30 +10024,24 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Secret")); + description = "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Secret"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11418,24 +10050,20 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretProjection" = { - options = { "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "name" = mkOption { - description = - "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; - type = (types.nullOr types.str); + description = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + type = types.nullOr types.str; }; "optional" = mkOption { description = "Specify whether the Secret or its key must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; }; @@ -11444,18 +10072,16 @@ let "name" = mkOverride 1002 null; "optional" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretReference" = { - options = { "name" = mkOption { description = "Name is unique within a namespace to reference a secret resource."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace defines the space within which the secret name must be unique."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11463,29 +10089,24 @@ let "name" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecretVolumeSource" = { - options = { "defaultMode" = mkOption { - description = - "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; - type = (types.nullOr types.int); + description = "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set."; + type = types.nullOr types.int; }; "items" = mkOption { - description = - "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath"))); + description = "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.KeyToPath")); }; "optional" = mkOption { description = "Specify whether the Secret or its keys must be defined"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "secretName" = mkOption { - description = - "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; - type = (types.nullOr types.str); + description = "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; + type = types.nullOr types.str; }; }; @@ -11495,64 +10116,52 @@ let "optional" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SecurityContext" = { - options = { "allowPrivilegeEscalation" = mkOption { - description = - "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"; - type = (types.nullOr types.bool); + description = "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN"; + type = types.nullOr types.bool; }; "capabilities" = mkOption { - description = - "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.Capabilities")); + description = "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.Capabilities"); }; "privileged" = mkOption { - description = - "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."; - type = (types.nullOr types.bool); + description = "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false."; + type = types.nullOr types.bool; }; "procMount" = mkOption { - description = - "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."; - type = (types.nullOr types.str); + description = "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled."; + type = types.nullOr types.str; }; "readOnlyRootFilesystem" = mkOption { description = "Whether this container has a read-only root filesystem. Default is false."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "runAsGroup" = mkOption { - description = - "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.int); + description = "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.int; }; "runAsNonRoot" = mkOption { - description = - "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.bool); + description = "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.bool; }; "runAsUser" = mkOption { - description = - "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.int); + description = "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.int; }; "seLinuxOptions" = mkOption { - description = - "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; "seccompProfile" = mkOption { - description = - "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile")); + description = "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SeccompProfile"); }; "windowsOptions" = mkOption { - description = - "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions")); + description = "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.WindowsSecurityContextOptions"); }; }; @@ -11569,35 +10178,28 @@ let "seccompProfile" = mkOverride 1002 null; "windowsOptions" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Service" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceSpec")); + description = "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceSpec"); }; "status" = mkOption { - description = - "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceStatus")); + description = "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceStatus"); }; }; @@ -11608,43 +10210,39 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccount" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "automountServiceAccountToken" = mkOption { - description = - "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."; - type = (types.nullOr types.bool); + description = "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level."; + type = types.nullOr types.bool; }; "imagePullSecrets" = mkOption { - description = - "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"; + description = "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "secrets" = mkOption { - description = - "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ObjectReference" "name"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; @@ -11656,30 +10254,24 @@ let "metadata" = mkOverride 1002 null; "secrets" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccountList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { - description = - "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.ServiceAccount")); + description = "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/"; + type = types.listOf (submoduleOf "io.k8s.api.core.v1.ServiceAccount"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11688,24 +10280,19 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceAccountTokenProjection" = { - options = { "audience" = mkOption { - description = - "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."; - type = (types.nullOr types.str); + description = "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver."; + type = types.nullOr types.str; }; "expirationSeconds" = mkOption { - description = - "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."; - type = (types.nullOr types.int); + description = "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes."; + type = types.nullOr types.int; }; "path" = mkOption { - description = - "Path is the path relative to the mount point of the file to project the token into."; + description = "Path is the path relative to the mount point of the file to project the token into."; type = types.str; }; }; @@ -11714,29 +10301,24 @@ let "audience" = mkOverride 1002 null; "expirationSeconds" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of services"; - type = (types.listOf (submoduleOf "io.k8s.api.core.v1.Service")); + type = types.listOf (submoduleOf "io.k8s.api.core.v1.Service"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -11745,39 +10327,32 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServicePort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."; - type = (types.nullOr types.str); + description = "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service."; + type = types.nullOr types.str; }; "nodePort" = mkOption { - description = - "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"; - type = (types.nullOr types.int); + description = "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport"; + type = types.nullOr types.int; }; "port" = mkOption { description = "The port that will be exposed by this service."; type = types.int; }; "protocol" = mkOption { - description = - ''The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.''; - type = (types.nullOr types.str); + description = ''The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.''; + type = types.nullOr types.str; }; "targetPort" = mkOption { - description = - "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"; - type = (types.nullOr (types.either types.int types.str)); + description = "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"; + type = types.nullOr (types.either types.int types.str); }; }; @@ -11788,115 +10363,112 @@ let "protocol" = mkOverride 1002 null; "targetPort" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceSpec" = { - options = { "allocateLoadBalancerNodePorts" = mkOption { description = '' allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts. allocateLoadBalancerNodePorts may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. This field is alpha-level and is only honored by servers that enable the ServiceLBNodePortControl feature.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "clusterIP" = mkOption { description = '' clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "clusterIPs" = mkOption { description = '' ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value. Unless the "IPv6DualStack" feature gate is enabled, this field is limited to one value, which must be the same as the clusterIP field. If the feature gate is enabled, this field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "externalIPs" = mkOption { - description = - "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."; - type = (types.nullOr (types.listOf types.str)); + description = "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system."; + type = types.nullOr (types.listOf types.str); }; "externalName" = mkOption { description = '' externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "externalTrafficPolicy" = mkOption { description = '' externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. "Local" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. "Cluster" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "healthCheckNodePort" = mkOption { - description = - "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type)."; - type = (types.nullOr types.int); + description = "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type)."; + type = types.nullOr types.int; }; "internalTrafficPolicy" = mkOption { description = '' InternalTrafficPolicy specifies if the cluster internal traffic should be routed to all endpoints or node-local endpoints only. "Cluster" routes internal traffic to a Service to all endpoints. "Local" routes traffic to node-local endpoints only, traffic is dropped if no node-local endpoints are ready. The default value is "Cluster".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ipFamilies" = mkOption { description = '' IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service, and is gated by the "IPv6DualStack" feature gate. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are "IPv4" and "IPv6". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to "headless" services. This field will be wiped when updating a Service to type ExternalName. This field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ipFamilyPolicy" = mkOption { description = '' IPFamilyPolicy represents the dual-stack-ness requested or required by this Service, and is gated by the "IPv6DualStack" feature gate. If there is no value provided, then this field will be set to SingleStack. Services can be "SingleStack" (a single IP family), "PreferDualStack" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or "RequireDualStack" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "loadBalancerClass" = mkOption { description = '' loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "loadBalancerIP" = mkOption { - description = - "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."; - type = (types.nullOr types.str); + description = "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature."; + type = types.nullOr types.str; }; "loadBalancerSourceRanges" = mkOption { description = '' If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "ports" = mkOption { - description = - "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"; - type = (types.nullOr - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies"; + type = + types.nullOr + (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.core.v1.ServicePort" "port"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "publishNotReadyAddresses" = mkOption { description = '' publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "selector" = mkOption { - description = - "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/"; + type = types.nullOr (types.attrsOf types.str); }; "sessionAffinity" = mkOption { description = '' Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "sessionAffinityConfig" = mkOption { description = "sessionAffinityConfig contains the configurations of session affinity."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SessionAffinityConfig")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SessionAffinityConfig"); }; "topologyKeys" = mkOption { description = '' topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value "*" may be used to mean "any topology". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. This field is alpha-level and is only honored by servers that enable the ServiceTopology feature. This field is deprecated and will be removed in a future version.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "type" = mkOption { description = '' type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11922,22 +10494,23 @@ let "topologyKeys" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.ServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state"; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "loadBalancer" = mkOption { - description = - "LoadBalancer contains the current status of the load-balancer, if one is present."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + description = "LoadBalancer contains the current status of the load-balancer, if one is present."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; @@ -11945,47 +10518,40 @@ let "conditions" = mkOverride 1002 null; "loadBalancer" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.SessionAffinityConfig" = { - options = { "clientIP" = mkOption { description = "clientIP contains the configurations of Client IP based session affinity."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ClientIPConfig")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ClientIPConfig"); }; }; - config = { "clientIP" = mkOverride 1002 null; }; - + config = {"clientIP" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.StorageOSPersistentVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "volumeName" = mkOption { - description = - "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; - type = (types.nullOr types.str); + description = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; + type = types.nullOr types.str; }; "volumeNamespace" = mkOption { description = '' VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -11996,35 +10562,30 @@ let "volumeName" = mkOverride 1002 null; "volumeNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.StorageOSVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; - type = (types.nullOr types.bool); + description = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."; + type = types.nullOr types.bool; }; "secretRef" = mkOption { - description = - "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference")); + description = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LocalObjectReference"); }; "volumeName" = mkOption { - description = - "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; - type = (types.nullOr types.str); + description = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace."; + type = types.nullOr types.str; }; "volumeNamespace" = mkOption { description = '' VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12035,10 +10596,8 @@ let "volumeName" = mkOverride 1002 null; "volumeNamespace" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Sysctl" = { - options = { "name" = mkOption { description = "Name of a property to set"; @@ -12050,32 +10609,26 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.TCPSocketAction" = { - options = { "host" = mkOption { description = "Optional: Host name to connect to, defaults to the pod IP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; - type = (types.either types.int types.str); + description = "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."; + type = types.either types.int types.str; }; }; - config = { "host" = mkOverride 1002 null; }; - + config = {"host" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Taint" = { - options = { "effect" = mkOption { - description = - "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."; + description = "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute."; type = types.str; }; "key" = mkOption { @@ -12083,13 +10636,12 @@ let type = types.str; }; "timeAdded" = mkOption { - description = - "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."; - type = (types.nullOr types.str); + description = "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."; + type = types.nullOr types.str; }; "value" = mkOption { description = "The taint value corresponding to the taint key."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12097,35 +10649,28 @@ let "timeAdded" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.Toleration" = { - options = { "effect" = mkOption { - description = - "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."; - type = (types.nullOr types.str); + description = "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."; + type = types.nullOr types.str; }; "key" = mkOption { - description = - "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."; - type = (types.nullOr types.str); + description = "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."; + type = types.nullOr types.str; }; "operator" = mkOption { - description = - "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."; - type = (types.nullOr types.str); + description = "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."; + type = types.nullOr types.str; }; "tolerationSeconds" = mkOption { - description = - "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."; - type = (types.nullOr types.int); + description = "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."; + type = types.nullOr types.int; }; "value" = mkOption { - description = - "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."; - type = (types.nullOr types.str); + description = "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."; + type = types.nullOr types.str; }; }; @@ -12136,49 +10681,41 @@ let "tolerationSeconds" = mkOverride 1002 null; "value" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.TopologySelectorLabelRequirement" = { - options = { "key" = mkOption { description = "The label key that the selector applies to."; type = types.str; }; "values" = mkOption { - description = - "An array of string values. One value must match the label to be selected. Each entry in Values is ORed."; - type = (types.listOf types.str); + description = "An array of string values. One value must match the label to be selected. Each entry in Values is ORed."; + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.TopologySelectorTerm" = { - options = { "matchLabelExpressions" = mkOption { description = "A list of topology selector requirements by labels."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorLabelRequirement"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorLabelRequirement")); }; }; - config = { "matchLabelExpressions" = mkOverride 1002 null; }; - + config = {"matchLabelExpressions" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.TopologySpreadConstraint" = { - options = { "labelSelector" = mkOption { - description = - "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "maxSkew" = mkOption { - description = - "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."; + description = "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed."; type = types.int; }; "topologyKey" = mkOption { @@ -12196,16 +10733,13 @@ let }; }; - config = { "labelSelector" = mkOverride 1002 null; }; - + config = {"labelSelector" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.TypedLocalObjectReference" = { - options = { "apiGroup" = mkOption { - description = - "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; - type = (types.nullOr types.str); + description = "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind is the type of resource being referenced"; @@ -12217,55 +10751,45 @@ let }; }; - config = { "apiGroup" = mkOverride 1002 null; }; - + config = {"apiGroup" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.Volume" = { - options = { "awsElasticBlockStore" = mkOption { - description = - "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource")); + description = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource"); }; "azureDisk" = mkOption { - description = - "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource")); + description = "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureDiskVolumeSource"); }; "azureFile" = mkOption { - description = - "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFileVolumeSource")); + description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.AzureFileVolumeSource"); }; "cephfs" = mkOption { - description = - "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSVolumeSource")); + description = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CephFSVolumeSource"); }; "cinder" = mkOption { - description = - "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderVolumeSource")); + description = "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CinderVolumeSource"); }; "configMap" = mkOption { description = "ConfigMap represents a configMap that should populate this volume"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapVolumeSource"); }; "csi" = mkOption { - description = - "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIVolumeSource")); + description = "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.CSIVolumeSource"); }; "downwardAPI" = mkOption { - description = - "DownwardAPI represents downward API about the pod that should populate this volume"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeSource")); + description = "DownwardAPI represents downward API about the pod that should populate this volume"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIVolumeSource"); }; "emptyDir" = mkOption { - description = - "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EmptyDirVolumeSource")); + description = "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EmptyDirVolumeSource"); }; "ephemeral" = mkOption { description = '' @@ -12285,107 +10809,88 @@ let A pod can use both types of ephemeral volumes and persistent volumes at the same time. This is a beta feature and only available when the GenericEphemeralVolume feature gate is enabled.''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EphemeralVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EphemeralVolumeSource"); }; "fc" = mkOption { - description = - "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource")); + description = "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FCVolumeSource"); }; "flexVolume" = mkOption { - description = - "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexVolumeSource")); + description = "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlexVolumeSource"); }; "flocker" = mkOption { - description = - "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource")); + description = "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.FlockerVolumeSource"); }; "gcePersistentDisk" = mkOption { - description = - "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource")); + description = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"); }; "gitRepo" = mkOption { - description = - "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GitRepoVolumeSource")); + description = "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GitRepoVolumeSource"); }; "glusterfs" = mkOption { - description = - "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsVolumeSource")); + description = "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.GlusterfsVolumeSource"); }; "hostPath" = mkOption { - description = - "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource")); + description = "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.HostPathVolumeSource"); }; "iscsi" = mkOption { - description = - "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIVolumeSource")); + description = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ISCSIVolumeSource"); }; "name" = mkOption { - description = - "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; + description = "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"; type = types.str; }; "nfs" = mkOption { - description = - "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource")); + description = "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NFSVolumeSource"); }; "persistentVolumeClaim" = mkOption { - description = - "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; + description = "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"; type = - (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource")); + types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource"); }; "photonPersistentDisk" = mkOption { - description = - "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource")); + description = "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource"); }; "portworxVolume" = mkOption { - description = - "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource")); + description = "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PortworxVolumeSource"); }; "projected" = mkOption { description = "Items for all in one resources secrets, configmaps, and downward API"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ProjectedVolumeSource")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ProjectedVolumeSource"); }; "quobyte" = mkOption { - description = - "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource")); + description = "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.QuobyteVolumeSource"); }; "rbd" = mkOption { - description = - "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDVolumeSource")); + description = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.RBDVolumeSource"); }; "scaleIO" = mkOption { - description = - "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOVolumeSource")); + description = "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ScaleIOVolumeSource"); }; "secret" = mkOption { - description = - "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretVolumeSource")); + description = "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretVolumeSource"); }; "storageos" = mkOption { - description = - "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSVolumeSource")); + description = "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.StorageOSVolumeSource"); }; "vsphereVolume" = mkOption { - description = - "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource")); + description = "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource"); }; }; @@ -12420,14 +10925,11 @@ let "storageos" = mkOverride 1002 null; "vsphereVolume" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VolumeDevice" = { - options = { "devicePath" = mkOption { - description = - "devicePath is the path inside of the container that the device will be mapped to."; + description = "devicePath is the path inside of the container that the device will be mapped to."; type = types.str; }; "name" = mkOption { @@ -12436,40 +10938,35 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.VolumeMount" = { - options = { "mountPath" = mkOption { - description = - "Path within the container at which the volume should be mounted. Must not contain ':'."; + description = "Path within the container at which the volume should be mounted. Must not contain ':'."; type = types.str; }; "mountPropagation" = mkOption { - description = - "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."; - type = (types.nullOr types.str); + description = "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10."; + type = types.nullOr types.str; }; "name" = mkOption { description = "This must match the Name of a Volume."; type = types.str; }; "readOnly" = mkOption { - description = - "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."; - type = (types.nullOr types.bool); + description = "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false."; + type = types.nullOr types.bool; }; "subPath" = mkOption { description = '' Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "subPathExpr" = mkOption { description = '' Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12479,38 +10976,34 @@ let "subPath" = mkOverride 1002 null; "subPathExpr" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VolumeNodeAffinity" = { - options = { "required" = mkOption { description = "Required specifies hard node constraints that must be met."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.NodeSelector"); }; }; - config = { "required" = mkOverride 1002 null; }; - + config = {"required" = mkOverride 1002 null;}; }; "io.k8s.api.core.v1.VolumeProjection" = { - options = { "configMap" = mkOption { description = "information about the configMap data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ConfigMapProjection"); }; "downwardAPI" = mkOption { description = "information about the downwardAPI data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.DownwardAPIProjection"); }; "secret" = mkOption { description = "information about the secret data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SecretProjection"); }; "serviceAccountToken" = mkOption { description = "information about the serviceAccountToken data to project"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceAccountTokenProjection")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ServiceAccountTokenProjection"); }; }; @@ -12520,24 +11013,21 @@ let "secret" = mkOverride 1002 null; "serviceAccountToken" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" = { - options = { "fsType" = mkOption { description = '' Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "storagePolicyID" = mkOption { - description = - "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."; - type = (types.nullOr types.str); + description = "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."; + type = types.nullOr types.str; }; "storagePolicyName" = mkOption { description = "Storage Policy Based Management (SPBM) profile name."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "volumePath" = mkOption { description = "Path that identifies vSphere volume vmdk"; @@ -12550,41 +11040,34 @@ let "storagePolicyID" = mkOverride 1002 null; "storagePolicyName" = mkOverride 1002 null; }; - }; "io.k8s.api.core.v1.WeightedPodAffinityTerm" = { - options = { "podAffinityTerm" = mkOption { description = "Required. A pod affinity term, associated with the corresponding weight."; - type = (submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"); + type = submoduleOf "io.k8s.api.core.v1.PodAffinityTerm"; }; "weight" = mkOption { - description = - "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."; + description = "weight associated with matching the corresponding podAffinityTerm, in the range 1-100."; type = types.int; }; }; - config = { }; - + config = {}; }; "io.k8s.api.core.v1.WindowsSecurityContextOptions" = { - options = { "gmsaCredentialSpec" = mkOption { - description = - "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."; - type = (types.nullOr types.str); + description = "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."; + type = types.nullOr types.str; }; "gmsaCredentialSpecName" = mkOption { description = "GMSACredentialSpecName is the name of the GMSA credential spec to use."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "runAsUserName" = mkOption { - description = - "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; - type = (types.nullOr types.str); + description = "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."; + type = types.nullOr types.str; }; }; @@ -12593,48 +11076,40 @@ let "gmsaCredentialSpecName" = mkOverride 1002 null; "runAsUserName" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1.Endpoint" = { - options = { "addresses" = mkOption { - description = - "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; - type = (types.listOf types.str); + description = "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; + type = types.listOf types.str; }; "conditions" = mkOption { description = "conditions contains information about the current status of the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.discovery.v1.EndpointConditions")); + type = types.nullOr (submoduleOf "io.k8s.api.discovery.v1.EndpointConditions"); }; "deprecatedTopology" = mkOption { - description = - "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead."; - type = (types.nullOr (types.attrsOf types.str)); + description = "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead."; + type = types.nullOr (types.attrsOf types.str); }; "hints" = mkOption { - description = - "hints contains information associated with how an endpoint should be consumed."; - type = (types.nullOr (submoduleOf "io.k8s.api.discovery.v1.EndpointHints")); + description = "hints contains information associated with how an endpoint should be consumed."; + type = types.nullOr (submoduleOf "io.k8s.api.discovery.v1.EndpointHints"); }; "hostname" = mkOption { - description = - "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."; - type = (types.nullOr types.str); + description = "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."; + type = types.nullOr types.str; }; "nodeName" = mkOption { - description = - "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate."; - type = (types.nullOr types.str); + description = "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate."; + type = types.nullOr types.str; }; "targetRef" = mkOption { - description = - "targetRef is a reference to a Kubernetes object that represents this endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "targetRef is a reference to a Kubernetes object that represents this endpoint."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "zone" = mkOption { description = "zone is the name of the Zone this endpoint exists in."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12647,25 +11122,21 @@ let "targetRef" = mkOverride 1002 null; "zone" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1.EndpointConditions" = { - options = { "ready" = mkOption { description = '' ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be "true" for terminating endpoints.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "serving" = mkOption { - description = - "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; - type = (types.nullOr types.bool); + description = "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; + type = types.nullOr types.bool; }; "terminating" = mkOption { - description = - "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; - type = (types.nullOr types.bool); + description = "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; + type = types.nullOr types.bool; }; }; @@ -12674,42 +11145,34 @@ let "serving" = mkOverride 1002 null; "terminating" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1.EndpointHints" = { - options = { "forZones" = mkOption { - description = - "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1.ForZone"))); + description = "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1.ForZone")); }; }; - config = { "forZones" = mkOverride 1002 null; }; - + config = {"forZones" = mkOverride 1002 null;}; }; "io.k8s.api.discovery.v1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; - type = (types.nullOr types.str); + description = "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; - type = (types.nullOr types.int); + description = "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; + type = types.nullOr types.int; }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12719,39 +11182,33 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1.EndpointSlice" = { - options = { "addressType" = mkOption { - description = - "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; + description = "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; type = types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "endpoints" = mkOption { - description = - "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1.Endpoint")); + description = "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1.Endpoint"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "ports" = mkOption { description = '' ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.''; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1.EndpointPort"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1.EndpointPort")); }; }; @@ -12761,28 +11218,24 @@ let "metadata" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1.EndpointSliceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoint slices"; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1.EndpointSlice")); + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1.EndpointSlice"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -12791,10 +11244,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1.ForZone" = { - options = { "name" = mkOption { description = "name represents the name of the zone."; @@ -12802,40 +11253,33 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.discovery.v1beta1.Endpoint" = { - options = { "addresses" = mkOption { - description = - "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; - type = (types.listOf types.str); + description = "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100."; + type = types.listOf types.str; }; "conditions" = mkOption { description = "conditions contains information about the current status of the endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointConditions")); + type = types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointConditions"); }; "hints" = mkOption { - description = - "hints contains information associated with how an endpoint should be consumed."; - type = (types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointHints")); + description = "hints contains information associated with how an endpoint should be consumed."; + type = types.nullOr (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointHints"); }; "hostname" = mkOption { - description = - "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."; - type = (types.nullOr types.str); + description = "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation."; + type = types.nullOr types.str; }; "nodeName" = mkOption { - description = - "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate."; - type = (types.nullOr types.str); + description = "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate."; + type = types.nullOr types.str; }; "targetRef" = mkOption { - description = - "targetRef is a reference to a Kubernetes object that represents this endpoint."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "targetRef is a reference to a Kubernetes object that represents this endpoint."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "topology" = mkOption { description = '' @@ -12847,7 +11291,7 @@ let * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. This field is deprecated and will be removed in future api versions.''; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; }; @@ -12859,25 +11303,21 @@ let "targetRef" = mkOverride 1002 null; "topology" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointConditions" = { - options = { "ready" = mkOption { description = '' ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be "true" for terminating endpoints.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "serving" = mkOption { - description = - "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; - type = (types.nullOr types.bool); + description = "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; + type = types.nullOr types.bool; }; "terminating" = mkOption { - description = - "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; - type = (types.nullOr types.bool); + description = "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate."; + type = types.nullOr types.bool; }; }; @@ -12886,42 +11326,34 @@ let "serving" = mkOverride 1002 null; "terminating" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointHints" = { - options = { "forZones" = mkOption { - description = - "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. May contain a maximum of 8 entries."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.ForZone"))); + description = "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. May contain a maximum of 8 entries."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.ForZone")); }; }; - config = { "forZones" = mkOverride 1002 null; }; - + config = {"forZones" = mkOverride 1002 null;}; }; "io.k8s.api.discovery.v1beta1.EndpointPort" = { - options = { "appProtocol" = mkOption { - description = - "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; - type = (types.nullOr types.str); + description = "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; - type = (types.nullOr types.str); + description = "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string."; + type = types.nullOr types.str; }; "port" = mkOption { - description = - "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; - type = (types.nullOr types.int); + description = "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer."; + type = types.nullOr types.int; }; "protocol" = mkOption { description = "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -12931,40 +11363,34 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointSlice" = { - options = { "addressType" = mkOption { - description = - "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; + description = "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name."; type = types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "endpoints" = mkOption { - description = - "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.Endpoint")); + description = "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints."; + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.Endpoint"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "ports" = mkOption { description = '' ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.''; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointPort"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointPort")); }; }; @@ -12974,28 +11400,24 @@ let "metadata" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.EndpointSliceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "List of endpoint slices"; - type = (types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointSlice")); + type = types.listOf (submoduleOf "io.k8s.api.discovery.v1beta1.EndpointSlice"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13004,10 +11426,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.discovery.v1beta1.ForZone" = { - options = { "name" = mkOption { description = "name represents the name of the zone."; @@ -13015,95 +11435,77 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.events.v1.Event" = { - options = { "action" = mkOption { - description = - "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deprecatedCount" = mkOption { - description = - "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.int); + description = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.int; }; "deprecatedFirstTimestamp" = mkOption { - description = - "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedLastTimestamp" = mkOption { - description = - "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedSource" = mkOption { - description = - "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "eventTime" = mkOption { description = "eventTime is the time when this Event was first observed. It is required."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "note" = mkOption { - description = - "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; - type = (types.nullOr types.str); + description = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "regarding" = mkOption { - description = - "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "related" = mkOption { - description = - "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingController" = mkOption { - description = - "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { - description = - "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "series" = mkOption { - description = - "series is data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.events.v1.EventSeries")); + description = "series is data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.events.v1.EventSeries"); }; "type" = mkOption { - description = - "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; }; @@ -13125,29 +11527,24 @@ let "series" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.events.v1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.events.v1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13156,112 +11553,90 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1.EventSeries" = { - options = { "count" = mkOption { - description = - "count is the number of occurrences in this series up to the last heartbeat time."; + description = "count is the number of occurrences in this series up to the last heartbeat time."; type = types.int; }; "lastObservedTime" = mkOption { - description = - "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; + description = "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.events.v1beta1.Event" = { - options = { "action" = mkOption { - description = - "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deprecatedCount" = mkOption { - description = - "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.int); + description = "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.int; }; "deprecatedFirstTimestamp" = mkOption { - description = - "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedLastTimestamp" = mkOption { - description = - "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr types.str); + description = "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr types.str; }; "deprecatedSource" = mkOption { - description = - "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource")); + description = "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.EventSource"); }; "eventTime" = mkOption { description = "eventTime is the time when this Event was first observed. It is required."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "note" = mkOption { - description = - "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; - type = (types.nullOr types.str); + description = "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reason is why the action was taken. It is human-readable. This field can have at most 128 characters."; + type = types.nullOr types.str; }; "regarding" = mkOption { - description = - "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "related" = mkOption { - description = - "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference")); + description = "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.ObjectReference"); }; "reportingController" = mkOption { - description = - "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; - type = (types.nullOr types.str); + description = "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events."; + type = types.nullOr types.str; }; "reportingInstance" = mkOption { - description = - "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; - type = (types.nullOr types.str); + description = "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters."; + type = types.nullOr types.str; }; "series" = mkOption { - description = - "series is data about the Event series this event represents or nil if it's a singleton Event."; - type = (types.nullOr (submoduleOf "io.k8s.api.events.v1beta1.EventSeries")); + description = "series is data about the Event series this event represents or nil if it's a singleton Event."; + type = types.nullOr (submoduleOf "io.k8s.api.events.v1beta1.EventSeries"); }; "type" = mkOption { - description = - "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; - type = (types.nullOr types.str); + description = "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable."; + type = types.nullOr types.str; }; }; @@ -13283,29 +11658,24 @@ let "series" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1beta1.EventList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.events.v1beta1.Event")); + type = types.listOf (submoduleOf "io.k8s.api.events.v1beta1.Event"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13314,38 +11684,31 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.events.v1beta1.EventSeries" = { - options = { "count" = mkOption { - description = - "count is the number of occurrences in this series up to the last heartbeat time."; + description = "count is the number of occurrences in this series up to the last heartbeat time."; type = types.int; }; "lastObservedTime" = mkOption { - description = - "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; + description = "lastObservedTime is the time when last Event from the series was seen before last heartbeat."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.extensions.v1beta1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -13360,7 +11723,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13368,47 +11731,38 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.extensions.v1beta1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressStatus"); }; }; @@ -13419,23 +11773,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressBackend" = { - options = { "resource" = mkOption { - description = - "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "serviceName" = mkOption { description = "Specifies the name of the referenced service."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "servicePort" = mkOption { description = "Specifies the port of the referenced service."; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; }; @@ -13444,29 +11795,24 @@ let "serviceName" = mkOverride 1002 null; "servicePort" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13475,10 +11821,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -13490,11 +11834,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue"); }; }; @@ -13502,32 +11846,26 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressSpec" = { - options = { "backend" = mkOption { - description = - "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; - type = (types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend")); + description = "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; + type = types.nullOr (submoduleOf "io.k8s.api.extensions.v1beta1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressRule"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressTLS"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.extensions.v1beta1.IngressTLS")); }; }; @@ -13537,32 +11875,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.extensions.v1beta1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.extensions.v1beta1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13570,10 +11903,8 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod" = { - options = { "type" = mkOption { description = '' @@ -13582,36 +11913,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.FlowSchema" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec")); + description = "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec"); }; "status" = mkOption { - description = - "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus")); + description = "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus"); }; }; @@ -13622,34 +11946,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13660,29 +11978,24 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of FlowSchemas."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchema")); + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchema"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13691,32 +12004,27 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec" = { - options = { "distinguisherMethod" = mkOption { - description = - "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; + description = "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod"); }; "matchingPrecedence" = mkOption { - description = - "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; - type = (types.nullOr types.int); + description = "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default."; + type = types.nullOr types.int; }; "priorityLevelConfiguration" = mkOption { - description = - "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; - type = (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference"); + description = "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."; + type = submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference"; }; "rules" = mkOption { - description = - "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects"))); + description = "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects")); }; }; @@ -13725,23 +12033,20 @@ let "matchingPrecedence" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus" = { - options = { "conditions" = mkOption { description = "`conditions` is a list of the current states of FlowSchema."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.GroupSubject" = { - options = { "name" = mkOption { description = '' @@ -13750,16 +12055,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.LimitResponse" = { - options = { "queuing" = mkOption { description = '' `queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `"Queue"`.''; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration"); }; "type" = mkOption { description = '' @@ -13768,11 +12071,9 @@ let }; }; - config = { "queuing" = mkOverride 1002 null; }; - + config = {"queuing" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration" = { - options = { "assuredConcurrencyShares" = mkOption { description = '' @@ -13781,12 +12082,11 @@ let ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "limitResponse" = mkOption { - description = - "`limitResponse` indicates what to do with requests that can not be executed right now"; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitResponse")); + description = "`limitResponse` indicates what to do with requests that can not be executed right now"; + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitResponse"); }; }; @@ -13794,10 +12094,8 @@ let "assuredConcurrencyShares" = mkOverride 1002 null; "limitResponse" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule" = { - options = { "nonResourceURLs" = mkOption { description = '' @@ -13808,37 +12106,34 @@ let - "/hea/*" also matches nothing - "/healthz/*" matches all per-component health checks. "*" matches all non-resource urls. if it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects" = { - options = { "nonResourceRules" = mkOption { - description = - "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule"))); + description = "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule")); }; "resourceRules" = mkOption { - description = - "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule"))); + description = "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule")); }; "subjects" = mkOption { - description = - "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; - type = (types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.Subject")); + description = "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required."; + type = types.listOf (submoduleOf "io.k8s.api.flowcontrol.v1beta1.Subject"); }; }; @@ -13846,37 +12141,34 @@ let "nonResourceRules" = mkOverride 1002 null; "resourceRules" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = '' `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec"); }; "status" = mkOption { description = '' `status` is the current status of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus"); }; }; @@ -13887,34 +12179,28 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "`lastTransitionTime` is the last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "`lastTransitionTime` is the last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "`message` is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "`message` is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "`reason` is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { - description = - "`status` is the status of the condition. Can be True, False, Unknown. Required."; - type = (types.nullOr types.str); + description = "`status` is the status of the condition. Can be True, False, Unknown. Required."; + type = types.nullOr types.str; }; "type" = mkOption { description = "`type` is the type of the condition. Required."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -13925,30 +12211,26 @@ let "status" = mkOverride 1002 null; "type" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "`items` is a list of request-priorities."; - type = (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration")); + type = + types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -13957,29 +12239,25 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference" = { - options = { "name" = mkOption { - description = - "`name` is the name of the priority level configuration being referenced Required."; + description = "`name` is the name of the priority level configuration being referenced Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec" = { - options = { "limited" = mkOption { description = '' `limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `"Limited"`.''; - type = (types.nullOr - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration")); + type = + types.nullOr + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration"); }; "type" = mkOption { description = '' @@ -13988,39 +12266,33 @@ let }; }; - config = { "limited" = mkOverride 1002 null; }; - + config = {"limited" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus" = { - options = { "conditions" = mkOption { description = ''`conditions` is the current state of "request-priority".''; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition")); }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration" = { - options = { "handSize" = mkOption { - description = - "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; - type = (types.nullOr types.int); + description = "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8."; + type = types.nullOr types.int; }; "queueLengthLimit" = mkOption { - description = - "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; - type = (types.nullOr types.int); + description = "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50."; + type = types.nullOr types.int; }; "queues" = mkOption { - description = - "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; - type = (types.nullOr types.int); + description = "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64."; + type = types.nullOr types.int; }; }; @@ -14029,35 +12301,32 @@ let "queueLengthLimit" = mkOverride 1002 null; "queues" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule" = { - options = { "apiGroups" = mkOption { description = '' `apiGroups` is a list of matching API groups and may not be empty. "*" matches all API groups and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "clusterScope" = mkOption { - description = - "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; - type = (types.nullOr types.bool); + description = "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list."; + type = types.nullOr types.bool; }; "namespaces" = mkOption { description = '' `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*". Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { description = '' `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ "services", "nodes/status" ]. This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "verbs" = mkOption { description = '' `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -14065,10 +12334,8 @@ let "clusterScope" = mkOverride 1002 null; "namespaces" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject" = { - options = { "name" = mkOption { description = '' @@ -14076,21 +12343,18 @@ let type = types.str; }; "namespace" = mkOption { - description = - "`namespace` is the namespace of matching ServiceAccount objects. Required."; + description = "`namespace` is the namespace of matching ServiceAccount objects. Required."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.flowcontrol.v1beta1.Subject" = { - options = { "group" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.GroupSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.GroupSubject"); }; "kind" = mkOption { description = "Required"; @@ -14099,11 +12363,11 @@ let "serviceAccount" = mkOption { description = ""; type = - (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject")); + types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject"); }; "user" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.UserSubject")); + type = types.nullOr (submoduleOf "io.k8s.api.flowcontrol.v1beta1.UserSubject"); }; }; @@ -14112,33 +12376,27 @@ let "serviceAccount" = mkOverride 1002 null; "user" = mkOverride 1002 null; }; - }; "io.k8s.api.flowcontrol.v1beta1.UserSubject" = { - options = { "name" = mkOption { - description = - ''`name` is the username that matches, or "*" to match all usernames. Required.''; + description = ''`name` is the username that matches, or "*" to match all usernames. Required.''; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.networking.v1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.networking.v1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -14153,7 +12411,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14161,22 +12419,18 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1.IPBlock" = { - options = { "cidr" = mkOption { description = '' @@ -14186,40 +12440,33 @@ let "except" = mkOption { description = '' Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; - config = { "except" = mkOverride 1002 null; }; - + config = {"except" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressStatus"); }; }; @@ -14230,20 +12477,18 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressBackend" = { - options = { "resource" = mkOption { description = '' Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".''; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "service" = mkOption { description = '' Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".''; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressServiceBackend")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressServiceBackend"); }; }; @@ -14251,30 +12496,24 @@ let "resource" = mkOverride 1002 null; "service" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassSpec")); + description = "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassSpec"); }; }; @@ -14284,28 +12523,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of IngressClasses."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressClass")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14314,15 +12549,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassParametersReference" = { - options = { "apiGroup" = mkOption { - description = - "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; - type = (types.nullOr types.str); + description = "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind is the type of resource being referenced."; @@ -14335,12 +12567,12 @@ let "namespace" = mkOption { description = '' Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "scope" = mkOption { description = '' Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14349,21 +12581,18 @@ let "namespace" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressClassSpec" = { - options = { "controller" = mkOption { description = '' Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "parameters" = mkOption { - description = - "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; + description = "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; type = - (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassParametersReference")); + types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressClassParametersReference"); }; }; @@ -14371,29 +12600,24 @@ let "controller" = mkOverride 1002 null; "parameters" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14402,10 +12626,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -14417,11 +12639,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.HTTPIngressRuleValue"); }; }; @@ -14429,48 +12651,38 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressServiceBackend" = { - options = { "name" = mkOption { - description = - "Name is the referenced service. The service must exist in the same namespace as the Ingress object."; + description = "Name is the referenced service. The service must exist in the same namespace as the Ingress object."; type = types.str; }; "port" = mkOption { - description = - "Port of the referenced service. A port name or port number is required for a IngressServiceBackend."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.ServiceBackendPort")); + description = "Port of the referenced service. A port name or port number is required for a IngressServiceBackend."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.ServiceBackendPort"); }; }; - config = { "port" = mkOverride 1002 null; }; - + config = {"port" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.IngressSpec" = { - options = { "defaultBackend" = mkOption { - description = - "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressBackend")); + description = "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressRule"))); + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressTLS"))); + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1.IngressTLS")); }; }; @@ -14480,32 +12692,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14513,29 +12720,24 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicy" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior for this NetworkPolicy."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.NetworkPolicySpec")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.NetworkPolicySpec"); }; }; @@ -14545,22 +12747,20 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyEgressRule" = { - options = { "ports" = mkOption { - description = - "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort"))); + description = "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort")); }; "to" = mkOption { - description = - "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer"))); + description = "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer")); }; }; @@ -14568,22 +12768,20 @@ let "ports" = mkOverride 1002 null; "to" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyIngressRule" = { - options = { "from" = mkOption { - description = - "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer"))); + description = "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPeer")); }; "ports" = mkOption { - description = - "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort"))); + description = "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyPort")); }; }; @@ -14591,29 +12789,24 @@ let "from" = mkOverride 1002 null; "ports" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicy")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicy"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14622,29 +12815,26 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyPeer" = { - options = { "ipBlock" = mkOption { - description = - "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1.IPBlock")); + description = "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1.IPBlock"); }; "namespaceSelector" = mkOption { description = '' Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "podSelector" = mkOption { description = '' This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -14653,25 +12843,21 @@ let "namespaceSelector" = mkOverride 1002 null; "podSelector" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicyPort" = { - options = { "endPort" = mkOption { description = '' If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Alpha state and should be enabled using the Feature Gate "NetworkPolicyEndPort".''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "port" = mkOption { - description = - "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched."; - type = (types.nullOr (types.either types.int types.str)); + description = "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched."; + type = types.nullOr (types.either types.int types.str); }; "protocol" = mkOption { - description = - "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."; - type = (types.nullOr types.str); + description = "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP."; + type = types.nullOr types.str; }; }; @@ -14680,32 +12866,29 @@ let "port" = mkOverride 1002 null; "protocol" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.NetworkPolicySpec" = { - options = { "egress" = mkOption { - description = - "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyEgressRule"))); + description = "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyEgressRule")); }; "ingress" = mkOption { - description = - "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyIngressRule"))); + description = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.networking.v1.NetworkPolicyIngressRule")); }; "podSelector" = mkOption { - description = - "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."; - type = (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); + description = "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."; + type = submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"; }; "policyTypes" = mkOption { description = '' List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -14714,20 +12897,18 @@ let "ingress" = mkOverride 1002 null; "policyTypes" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1.ServiceBackendPort" = { - options = { "name" = mkOption { description = '' Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "number" = mkOption { description = '' Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; @@ -14735,20 +12916,17 @@ let "name" = mkOverride 1002 null; "number" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.HTTPIngressPath" = { - options = { "backend" = mkOption { - description = - "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; - type = (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"); + description = "Backend defines the referenced service endpoint to which the traffic will be forwarded to."; + type = submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"; }; "path" = mkOption { description = '' Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "pathType" = mkOption { description = '' @@ -14763,7 +12941,7 @@ let the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14771,47 +12949,38 @@ let "path" = mkOverride 1002 null; "pathType" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue" = { - options = { "paths" = mkOption { description = "A collection of paths that map requests to backends."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressPath")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressPath"); }; }; - config = { }; - + config = {}; }; "io.k8s.api.networking.v1beta1.Ingress" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressSpec")); + description = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressSpec"); }; "status" = mkOption { - description = - "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressStatus")); + description = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressStatus"); }; }; @@ -14822,23 +12991,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressBackend" = { - options = { "resource" = mkOption { - description = - "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference")); + description = "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.TypedLocalObjectReference"); }; "serviceName" = mkOption { description = "Specifies the name of the referenced service."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "servicePort" = mkOption { description = "Specifies the port of the referenced service."; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; }; @@ -14847,30 +13013,24 @@ let "serviceName" = mkOverride 1002 null; "servicePort" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassSpec")); + description = "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassSpec"); }; }; @@ -14880,28 +13040,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of IngressClasses."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressClass")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard list metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14910,15 +13066,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassParametersReference" = { - options = { "apiGroup" = mkOption { - description = - "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; - type = (types.nullOr types.str); + description = "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required."; + type = types.nullOr types.str; }; "kind" = mkOption { description = "Kind is the type of resource being referenced."; @@ -14931,12 +13084,12 @@ let "namespace" = mkOption { description = '' Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "scope" = mkOption { description = '' Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -14945,21 +13098,19 @@ let "namespace" = mkOverride 1002 null; "scope" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressClassSpec" = { - options = { "controller" = mkOption { description = '' Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "parameters" = mkOption { - description = - "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; - type = (types.nullOr - (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassParametersReference")); + description = "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters."; + type = + types.nullOr + (submoduleOf "io.k8s.api.networking.v1beta1.IngressClassParametersReference"); }; }; @@ -14967,29 +13118,24 @@ let "controller" = mkOverride 1002 null; "parameters" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of Ingress."; - type = (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.Ingress")); + type = types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.Ingress"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -14998,10 +13144,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressRule" = { - options = { "host" = mkOption { description = '' @@ -15013,11 +13157,11 @@ let Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "http" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue")); + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue"); }; }; @@ -15025,32 +13169,26 @@ let "host" = mkOverride 1002 null; "http" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressSpec" = { - options = { "backend" = mkOption { - description = - "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; - type = (types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend")); + description = "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."; + type = types.nullOr (submoduleOf "io.k8s.api.networking.v1beta1.IngressBackend"); }; "ingressClassName" = mkOption { - description = - "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; - type = (types.nullOr types.str); + description = "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation."; + type = types.nullOr types.str; }; "rules" = mkOption { - description = - "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; + description = "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressRule"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressRule")); }; "tls" = mkOption { - description = - "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; + description = "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressTLS"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.networking.v1beta1.IngressTLS")); }; }; @@ -15060,32 +13198,27 @@ let "rules" = mkOverride 1002 null; "tls" = mkOverride 1002 null; }; - }; "io.k8s.api.networking.v1beta1.IngressStatus" = { - options = { "loadBalancer" = mkOption { description = "LoadBalancer contains the current status of the load-balancer."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.LoadBalancerStatus"); }; }; - config = { "loadBalancer" = mkOverride 1002 null; }; - + config = {"loadBalancer" = mkOverride 1002 null;}; }; "io.k8s.api.networking.v1beta1.IngressTLS" = { - options = { "hosts" = mkOption { - description = - "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; - type = (types.nullOr (types.listOf types.str)); + description = "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified."; + type = types.nullOr (types.listOf types.str); }; "secretName" = mkOption { description = '' SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -15093,28 +13226,22 @@ let "hosts" = mkOverride 1002 null; "secretName" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "handler" = mkOption { description = '' @@ -15122,26 +13249,23 @@ let type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "overhead" = mkOption { description = '' Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/ This field is in beta starting v1.18 and is only honored by servers that enable the PodOverhead feature.''; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1.Overhead")); + type = types.nullOr (submoduleOf "io.k8s.api.node.v1.Overhead"); }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1.Scheduling"); }; }; @@ -15152,29 +13276,24 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15183,20 +13302,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -15204,43 +13319,34 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1alpha1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; - type = (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClassSpec"); + description = "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"; + type = submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClassSpec"; }; }; @@ -15249,29 +13355,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1alpha1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15280,15 +13381,12 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.RuntimeClassSpec" = { - options = { "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Overhead")); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Overhead"); }; "runtimeHandler" = mkOption { description = '' @@ -15296,9 +13394,8 @@ let type = types.str; }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1alpha1.Scheduling"); }; }; @@ -15306,20 +13403,16 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1alpha1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -15327,28 +13420,22 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.Overhead" = { - options = { "podFixed" = mkOption { - description = - "PodFixed represents the fixed resource overhead associated with running a pod."; - type = (types.nullOr (types.attrsOf types.str)); + description = "PodFixed represents the fixed resource overhead associated with running a pod."; + type = types.nullOr (types.attrsOf types.str); }; }; - config = { "podFixed" = mkOverride 1002 null; }; - + config = {"podFixed" = mkOverride 1002 null;}; }; "io.k8s.api.node.v1beta1.RuntimeClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "handler" = mkOption { description = '' @@ -15356,24 +13443,20 @@ let type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "overhead" = mkOption { - description = - "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Overhead")); + description = "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Overhead"); }; "scheduling" = mkOption { - description = - "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; - type = (types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Scheduling")); + description = "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."; + type = types.nullOr (submoduleOf "io.k8s.api.node.v1beta1.Scheduling"); }; }; @@ -15384,29 +13467,24 @@ let "overhead" = mkOverride 1002 null; "scheduling" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.RuntimeClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.node.v1beta1.RuntimeClass")); + type = types.listOf (submoduleOf "io.k8s.api.node.v1beta1.RuntimeClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15415,20 +13493,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.node.v1beta1.Scheduling" = { - options = { "nodeSelector" = mkOption { - description = - "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; - type = (types.nullOr (types.attrsOf types.str)); + description = "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."; + type = types.nullOr (types.attrsOf types.str); }; "tolerations" = mkOption { - description = - "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration"))); + description = "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.Toleration")); }; }; @@ -15436,33 +13510,28 @@ let "nodeSelector" = mkOverride 1002 null; "tolerations" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1.PodDisruptionBudget" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1.PodDisruptionBudgetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1.PodDisruptionBudgetSpec"); }; "status" = mkOption { description = "Most recently observed status of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1.PodDisruptionBudgetStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1.PodDisruptionBudgetStatus"); }; }; @@ -15473,29 +13542,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1.PodDisruptionBudgetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of PodDisruptionBudgets"; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1.PodDisruptionBudget")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1.PodDisruptionBudget"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15504,25 +13568,22 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1.PodDisruptionBudgetSpec" = { - options = { "maxUnavailable" = mkOption { description = '' An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "minAvailable" = mkOption { description = '' An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "selector" = mkOption { - description = - "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -15531,10 +13592,8 @@ let "minAvailable" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1.PodDisruptionBudgetStatus" = { - options = { "conditions" = mkOption { description = '' @@ -15547,10 +13606,14 @@ let - SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.''; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentHealthy" = mkOption { description = "current number of healthy pods"; @@ -15561,9 +13624,8 @@ let type = types.int; }; "disruptedPods" = mkOption { - description = - "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; + type = types.nullOr (types.attrsOf types.str); }; "disruptionsAllowed" = mkOption { description = "Number of pod disruptions that are currently allowed."; @@ -15574,9 +13636,8 @@ let type = types.int; }; "observedGeneration" = mkOption { - description = - "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; - type = (types.nullOr types.int); + description = "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; + type = types.nullOr types.int; }; }; @@ -15585,10 +13646,8 @@ let "disruptedPods" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.AllowedCSIDriver" = { - options = { "name" = mkOption { description = "Name is the registered name of the CSI driver"; @@ -15596,11 +13655,9 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.AllowedFlexVolume" = { - options = { "driver" = mkOption { description = "driver is the name of the Flexvolume driver."; @@ -15608,23 +13665,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.AllowedHostPath" = { - options = { "pathPrefix" = mkOption { description = '' pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "readOnly" = mkOption { - description = - "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."; - type = (types.nullOr types.bool); + description = "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly."; + type = types.nullOr types.bool; }; }; @@ -15632,28 +13686,24 @@ let "pathPrefix" = mkOverride 1002 null; "readOnly" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.Eviction" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "deleteOptions" = mkOption { description = "DeleteOptions may be provided"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "ObjectMeta describes the pod that is being evicted."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; }; @@ -15663,20 +13713,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."; - type = (types.nullOr types.str); + description = "rule is the strategy that will dictate what FSGroup is used in the SecurityContext."; + type = types.nullOr types.str; }; }; @@ -15684,10 +13730,8 @@ let "ranges" = mkOverride 1002 null; "rule" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.HostPortRange" = { - options = { "max" = mkOption { description = "max is the end of the range, inclusive."; @@ -15699,11 +13743,9 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.IDRange" = { - options = { "max" = mkOption { description = "max is the end of the range, inclusive."; @@ -15715,33 +13757,29 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.policy.v1beta1.PodDisruptionBudget" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the desired behavior of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec"); }; "status" = mkOption { description = "Most recently observed status of the PodDisruptionBudget."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus"); }; }; @@ -15752,28 +13790,24 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudget")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodDisruptionBudget"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15782,25 +13816,22 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec" = { - options = { "maxUnavailable" = mkOption { description = '' An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "minAvailable" = mkOption { description = '' An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".''; - type = (types.nullOr (types.either types.int types.str)); + type = types.nullOr (types.either types.int types.str); }; "selector" = mkOption { - description = - "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; }; @@ -15809,10 +13840,8 @@ let "minAvailable" = mkOverride 1002 null; "selector" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus" = { - options = { "conditions" = mkOption { description = '' @@ -15825,10 +13854,14 @@ let - SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.''; - type = (types.nullOr + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey "io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "currentHealthy" = mkOption { description = "current number of healthy pods"; @@ -15839,9 +13872,8 @@ let type = types.int; }; "disruptedPods" = mkOption { - description = - "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; - type = (types.nullOr (types.attrsOf types.str)); + description = "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions."; + type = types.nullOr (types.attrsOf types.str); }; "disruptionsAllowed" = mkOption { description = "Number of pod disruptions that are currently allowed."; @@ -15852,9 +13884,8 @@ let type = types.int; }; "observedGeneration" = mkOption { - description = - "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; - type = (types.nullOr types.int); + description = "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation."; + type = types.nullOr types.int; }; }; @@ -15863,29 +13894,24 @@ let "disruptedPods" = mkOverride 1002 null; "observedGeneration" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicy" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec defines the policy enforced."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec")); + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec"); }; }; @@ -15895,29 +13921,24 @@ let "metadata" = mkOverride 1002 null; "spec" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicyList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is a list of schema objects."; - type = (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicy")); + type = types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.PodSecurityPolicy"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -15926,137 +13947,118 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec" = { - options = { "allowPrivilegeEscalation" = mkOption { - description = - "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."; - type = (types.nullOr types.bool); + description = "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true."; + type = types.nullOr types.bool; }; "allowedCSIDrivers" = mkOption { - description = - "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedCSIDriver"))); + description = "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedCSIDriver")); }; "allowedCapabilities" = mkOption { - description = - "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."; - type = (types.nullOr (types.listOf types.str)); + description = "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities."; + type = types.nullOr (types.listOf types.str); }; "allowedFlexVolumes" = mkOption { description = '' allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedFlexVolume"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedFlexVolume")); }; "allowedHostPaths" = mkOption { - description = - "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."; + description = "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedHostPath"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.AllowedHostPath")); }; "allowedProcMountTypes" = mkOption { - description = - "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."; - type = (types.nullOr (types.listOf types.str)); + description = "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled."; + type = types.nullOr (types.listOf types.str); }; "allowedUnsafeSysctls" = mkOption { description = '' allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "defaultAddCapabilities" = mkOption { - description = - "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."; - type = (types.nullOr (types.listOf types.str)); + description = "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list."; + type = types.nullOr (types.listOf types.str); }; "defaultAllowPrivilegeEscalation" = mkOption { - description = - "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."; - type = (types.nullOr types.bool); + description = "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process."; + type = types.nullOr types.bool; }; "forbiddenSysctls" = mkOption { description = '' forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "fsGroup" = mkOption { - description = - "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions"); + description = "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext."; + type = submoduleOf "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions"; }; "hostIPC" = mkOption { - description = - "hostIPC determines if the policy allows the use of HostIPC in the pod spec."; - type = (types.nullOr types.bool); + description = "hostIPC determines if the policy allows the use of HostIPC in the pod spec."; + type = types.nullOr types.bool; }; "hostNetwork" = mkOption { - description = - "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."; - type = (types.nullOr types.bool); + description = "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec."; + type = types.nullOr types.bool; }; "hostPID" = mkOption { - description = - "hostPID determines if the policy allows the use of HostPID in the pod spec."; - type = (types.nullOr types.bool); + description = "hostPID determines if the policy allows the use of HostPID in the pod spec."; + type = types.nullOr types.bool; }; "hostPorts" = mkOption { description = "hostPorts determines which host port ranges are allowed to be exposed."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.HostPortRange"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.HostPortRange")); }; "privileged" = mkOption { description = "privileged determines if a pod can request to be run as privileged."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "readOnlyRootFilesystem" = mkOption { - description = - "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."; - type = (types.nullOr types.bool); + description = "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to."; + type = types.nullOr types.bool; }; "requiredDropCapabilities" = mkOption { - description = - "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."; - type = (types.nullOr (types.listOf types.str)); + description = "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added."; + type = types.nullOr (types.listOf types.str); }; "runAsGroup" = mkOption { - description = - "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled."; - type = (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions")); + description = "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled."; + type = types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions"); }; "runAsUser" = mkOption { - description = - "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions"); + description = "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set."; + type = submoduleOf "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions"; }; "runtimeClass" = mkOption { - description = - "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."; + description = "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled."; type = - (types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions")); + types.nullOr (submoduleOf "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions"); }; "seLinux" = mkOption { - description = - "seLinux is the strategy that will dictate the allowable labels that may be set."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions"); + description = "seLinux is the strategy that will dictate the allowable labels that may be set."; + type = submoduleOf "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions"; }; "supplementalGroups" = mkOption { - description = - "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."; - type = (submoduleOf "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions"); + description = "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext."; + type = submoduleOf "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions"; }; "volumes" = mkOption { - description = - "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."; - type = (types.nullOr (types.listOf types.str)); + description = "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'."; + type = types.nullOr (types.listOf types.str); }; }; @@ -16082,92 +14084,73 @@ let "runtimeClass" = mkOverride 1002 null; "volumes" = mkOverride 1002 null; }; - }; "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable RunAsGroup values that may be set."; + description = "rule is the strategy that will dictate the allowable RunAsGroup values that may be set."; type = types.str; }; }; - config = { "ranges" = mkOverride 1002 null; }; - + config = {"ranges" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable RunAsUser values that may be set."; + description = "rule is the strategy that will dictate the allowable RunAsUser values that may be set."; type = types.str; }; }; - config = { "ranges" = mkOverride 1002 null; }; - + config = {"ranges" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions" = { - options = { "allowedRuntimeClassNames" = mkOption { description = '' allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.''; - type = (types.listOf types.str); + type = types.listOf types.str; }; "defaultRuntimeClassName" = mkOption { - description = - "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."; - type = (types.nullOr types.str); + description = "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod."; + type = types.nullOr types.str; }; }; - config = { "defaultRuntimeClassName" = mkOverride 1002 null; }; - + config = {"defaultRuntimeClassName" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions" = { - options = { "rule" = mkOption { - description = - "rule is the strategy that will dictate the allowable labels that may be set."; + description = "rule is the strategy that will dictate the allowable labels that may be set."; type = types.str; }; "seLinuxOptions" = mkOption { - description = - "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions")); + description = "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.SELinuxOptions"); }; }; - config = { "seLinuxOptions" = mkOverride 1002 null; }; - + config = {"seLinuxOptions" = mkOverride 1002 null;}; }; "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions" = { - options = { "ranges" = mkOption { - description = - "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange"))); + description = "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs."; + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.policy.v1beta1.IDRange")); }; "rule" = mkOption { - description = - "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."; - type = (types.nullOr types.str); + description = "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext."; + type = types.nullOr types.str; }; }; @@ -16175,47 +14158,40 @@ let "ranges" = mkOverride 1002 null; "rule" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule")); }; }; @@ -16226,33 +14202,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject")); }; }; @@ -16262,28 +14233,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16292,28 +14259,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16322,35 +14285,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -16360,28 +14317,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.PolicyRule")); }; }; @@ -16391,33 +14344,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Subject")); }; }; @@ -16427,28 +14375,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16457,28 +14401,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16487,10 +14427,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -16506,16 +14444,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1.Subject" = { - options = { "apiGroup" = mkOption { description = '' APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -16529,7 +14465,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -16537,47 +14473,40 @@ let "apiGroup" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1alpha1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1alpha1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1alpha1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule")); }; }; @@ -16588,33 +14517,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject")); }; }; @@ -16624,28 +14548,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16654,28 +14574,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16684,35 +14600,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. ResourceAll represents all resources."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -16722,28 +14632,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.PolicyRule")); }; }; @@ -16753,33 +14659,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1alpha1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Subject")); }; }; @@ -16789,28 +14690,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16819,28 +14716,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1alpha1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -16849,10 +14742,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1alpha1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -16868,16 +14759,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1alpha1.Subject" = { - options = { "apiVersion" = mkOption { description = '' APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -16891,7 +14780,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -16899,47 +14788,40 @@ let "apiVersion" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.AggregationRule" = { - options = { "clusterRoleSelectors" = mkOption { - description = - "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"))); + description = "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); }; }; - config = { "clusterRoleSelectors" = mkOverride 1002 null; }; - + config = {"clusterRoleSelectors" = mkOverride 1002 null;}; }; "io.k8s.api.rbac.v1beta1.ClusterRole" = { - options = { "aggregationRule" = mkOption { - description = - "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; - type = (types.nullOr (submoduleOf "io.k8s.api.rbac.v1beta1.AggregationRule")); + description = "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."; + type = types.nullOr (submoduleOf "io.k8s.api.rbac.v1beta1.AggregationRule"); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this ClusterRole"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule")); }; }; @@ -16950,33 +14832,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"); + description = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject")); }; }; @@ -16986,28 +14863,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17016,28 +14889,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.ClusterRoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of ClusterRoles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRole")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.ClusterRole"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17046,35 +14915,29 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.PolicyRule" = { - options = { "apiGroups" = mkOption { - description = - "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed."; + type = types.nullOr (types.listOf types.str); }; "nonResourceURLs" = mkOption { description = '' NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "resourceNames" = mkOption { - description = - "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; - type = (types.nullOr (types.listOf types.str)); + description = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed."; + type = types.nullOr (types.listOf types.str); }; "resources" = mkOption { - description = - "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."; - type = (types.nullOr (types.listOf types.str)); + description = "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups."; + type = types.nullOr (types.listOf types.str); }; "verbs" = mkOption { - description = - "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; - type = (types.listOf types.str); + description = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds."; + type = types.listOf types.str; }; }; @@ -17084,28 +14947,24 @@ let "resourceNames" = mkOverride 1002 null; "resources" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.Role" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "rules" = mkOption { description = "Rules holds all the PolicyRules for this Role"; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.PolicyRule")); }; }; @@ -17115,33 +14974,28 @@ let "metadata" = mkOverride 1002 null; "rules" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleBinding" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "roleRef" = mkOption { - description = - "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; - type = (submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"); + description = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."; + type = submoduleOf "io.k8s.api.rbac.v1beta1.RoleRef"; }; "subjects" = mkOption { description = "Subjects holds references to the objects the role applies to."; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Subject")); }; }; @@ -17151,28 +15005,24 @@ let "metadata" = mkOverride 1002 null; "subjects" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleBindingList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of RoleBindings"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.RoleBinding")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.RoleBinding"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17181,28 +15031,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is a list of Roles"; - type = (types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Role")); + type = types.listOf (submoduleOf "io.k8s.api.rbac.v1beta1.Role"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "Standard object's metadata."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17211,10 +15057,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.rbac.v1beta1.RoleRef" = { - options = { "apiGroup" = mkOption { description = "APIGroup is the group for the resource being referenced"; @@ -17230,16 +15074,14 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.api.rbac.v1beta1.Subject" = { - options = { "apiGroup" = mkOption { description = '' APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { description = '' @@ -17253,7 +15095,7 @@ let "namespace" = mkOption { description = '' Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17261,44 +15103,35 @@ let "apiGroup" = mkOverride 1002 null; "namespace" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -17311,29 +15144,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17342,44 +15170,35 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1alpha1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -17392,29 +15211,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1alpha1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1alpha1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1alpha1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17423,44 +15237,35 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1beta1.PriorityClass" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "description" = mkOption { - description = - "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; - type = (types.nullOr types.str); + description = "description is an arbitrary string that usually provides guidelines on when this priority class should be used."; + type = types.nullOr types.str; }; "globalDefault" = mkOption { - description = - "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; - type = (types.nullOr types.bool); + description = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority."; + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "preemptionPolicy" = mkOption { - description = - "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; - type = (types.nullOr types.str); + description = "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate."; + type = types.nullOr types.str; }; "value" = mkOption { - description = - "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; + description = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec."; type = types.int; }; }; @@ -17473,29 +15278,24 @@ let "metadata" = mkOverride 1002 null; "preemptionPolicy" = mkOverride 1002 null; }; - }; "io.k8s.api.scheduling.v1beta1.PriorityClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of PriorityClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.scheduling.v1beta1.PriorityClass")); + type = types.listOf (submoduleOf "io.k8s.api.scheduling.v1beta1.PriorityClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17504,29 +15304,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriver" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the CSI Driver."; - type = (submoduleOf "io.k8s.api.storage.v1.CSIDriverSpec"); + type = submoduleOf "io.k8s.api.storage.v1.CSIDriverSpec"; }; }; @@ -17535,29 +15330,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriverList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSIDriver"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.CSIDriver")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.CSIDriver"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17566,24 +15356,22 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSIDriverSpec" = { - options = { "attachRequired" = mkOption { description = '' attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsGroupPolicy" = mkOption { description = '' Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate. This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podInfoOnMount" = mkOption { description = '' @@ -17593,7 +15381,7 @@ let "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field is immutable.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "requiresRepublish" = mkOption { description = '' @@ -17602,7 +15390,7 @@ let Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. This is a beta feature and only available when the CSIServiceAccountToken feature is enabled.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageCapacity" = mkOption { description = '' @@ -17615,7 +15403,7 @@ let This field is immutable. This is a beta field and only available when the CSIStorageCapacity feature is enabled. The default is false.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "tokenRequests" = mkOption { description = '' @@ -17630,14 +15418,14 @@ let Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically. This is a beta feature and only available when the CSIServiceAccountToken feature is enabled.''; - type = (types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1.TokenRequest"))); + type = types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1.TokenRequest")); }; "volumeLifecycleModes" = mkOption { description = '' volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta. This field is immutable.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -17650,28 +15438,24 @@ let "tokenRequests" = mkOverride 1002 null; "volumeLifecycleModes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINode" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata.name must be the Kubernetes node name."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec is the specification of CSINode"; - type = (submoduleOf "io.k8s.api.storage.v1.CSINodeSpec"); + type = submoduleOf "io.k8s.api.storage.v1.CSINodeSpec"; }; }; @@ -17680,19 +15464,15 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeDriver" = { - options = { "allocatable" = mkOption { - description = - "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeNodeResources")); + description = "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeNodeResources"); }; "name" = mkOption { - description = - "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; + description = "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; type = types.str; }; "nodeID" = mkOption { @@ -17703,7 +15483,7 @@ let "topologyKeys" = mkOption { description = '' topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -17711,29 +15491,24 @@ let "allocatable" = mkOverride 1002 null; "topologyKeys" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSINode"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.CSINode")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.CSINode"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17742,73 +15517,64 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.CSINodeSpec" = { - options = { "drivers" = mkOption { - description = - "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; - type = (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; + type = coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1.CSINodeDriver" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1.StorageClass" = { - options = { "allowVolumeExpansion" = mkOption { description = "AllowVolumeExpansion shows whether the storage class allow volume expand"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "allowedTopologies" = mkOption { - description = - "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; + description = "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm")); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "mountOptions" = mkOption { description = '' Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "parameters" = mkOption { - description = - "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; + type = types.nullOr (types.attrsOf types.str); }; "provisioner" = mkOption { description = "Provisioner indicates the type of the provisioner."; type = types.str; }; "reclaimPolicy" = mkOption { - description = - "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; - type = (types.nullOr types.str); + description = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; + type = types.nullOr types.str; }; "volumeBindingMode" = mkOption { - description = - "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; - type = (types.nullOr types.str); + description = "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; + type = types.nullOr types.str; }; }; @@ -17823,29 +15589,24 @@ let "reclaimPolicy" = mkOverride 1002 null; "volumeBindingMode" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.StorageClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of StorageClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.StorageClass")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.StorageClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17854,10 +15615,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.TokenRequest" = { - options = { "audience" = mkOption { description = '' @@ -17867,40 +15626,33 @@ let "expirationSeconds" = mkOption { description = '' ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "expirationSeconds" = mkOverride 1002 null; }; - + config = {"expirationSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentStatus"); }; }; @@ -17910,29 +15662,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -17941,19 +15688,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -17961,14 +15705,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -17977,35 +15718,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1.VolumeError"); }; }; @@ -18014,19 +15749,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18034,47 +15766,40 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1.VolumeNodeResources" = { - options = { "count" = mkOption { - description = - "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."; - type = (types.nullOr types.int); + description = "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded."; + type = types.nullOr types.int; }; }; - config = { "count" = mkOverride 1002 null; }; - + config = {"count" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1alpha1.CSIStorageCapacity" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "capacity" = mkOption { description = '' Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "maximumVolumeSize" = mkOption { description = '' MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { description = '' @@ -18083,16 +15808,14 @@ let Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "nodeTopology" = mkOption { - description = - "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "storageClassName" = mkOption { - description = - "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable."; + description = "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable."; type = types.str; }; }; @@ -18105,29 +15828,24 @@ let "metadata" = mkOverride 1002 null; "nodeTopology" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.CSIStorageCapacityList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of CSIStorageCapacity objects."; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.CSIStorageCapacity")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.CSIStorageCapacity"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18136,35 +15854,28 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus"); }; }; @@ -18174,29 +15885,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18205,19 +15911,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18225,14 +15928,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -18241,35 +15941,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1alpha1.VolumeError"); }; }; @@ -18278,19 +15972,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1alpha1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18298,29 +15989,24 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriver" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Specification of the CSI Driver."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriverSpec"); + type = submoduleOf "io.k8s.api.storage.v1beta1.CSIDriverSpec"; }; }; @@ -18329,29 +16015,24 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriverList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSIDriver"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriver")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIDriver"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18360,24 +16041,22 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIDriverSpec" = { - options = { "attachRequired" = mkOption { description = '' attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "fsGroupPolicy" = mkOption { description = '' Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate. This field is immutable.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "podInfoOnMount" = mkOption { description = '' @@ -18387,7 +16066,7 @@ let "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field is immutable.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "requiresRepublish" = mkOption { description = '' @@ -18396,7 +16075,7 @@ let Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. This is a beta feature and only available when the CSIServiceAccountToken feature is enabled.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "storageCapacity" = mkOption { description = '' @@ -18409,7 +16088,7 @@ let This field is immutable. This is a beta field and only available when the CSIStorageCapacity feature is enabled. The default is false.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "tokenRequests" = mkOption { description = '' @@ -18425,14 +16104,14 @@ let This is a beta feature and only available when the CSIServiceAccountToken feature is enabled.''; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.TokenRequest"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.TokenRequest")); }; "volumeLifecycleModes" = mkOption { description = '' VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is immutable.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -18445,28 +16124,24 @@ let "tokenRequests" = mkOverride 1002 null; "volumeLifecycleModes" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINode" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = "metadata.name must be the Kubernetes node name."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec is the specification of CSINode"; - type = (submoduleOf "io.k8s.api.storage.v1beta1.CSINodeSpec"); + type = submoduleOf "io.k8s.api.storage.v1beta1.CSINodeSpec"; }; }; @@ -18475,19 +16150,15 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeDriver" = { - options = { "allocatable" = mkOption { - description = - "allocatable represents the volume resources of a node that are available for scheduling."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeNodeResources")); + description = "allocatable represents the volume resources of a node that are available for scheduling."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeNodeResources"); }; "name" = mkOption { - description = - "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; + description = "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver."; type = types.str; }; "nodeID" = mkOption { @@ -18498,7 +16169,7 @@ let "topologyKeys" = mkOption { description = '' topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; }; @@ -18506,29 +16177,24 @@ let "allocatable" = mkOverride 1002 null; "topologyKeys" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items is the list of CSINode"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSINode")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSINode"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18537,49 +16203,45 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSINodeSpec" = { - options = { "drivers" = mkOption { - description = - "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; + description = "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty."; type = - (coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name"); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + coerceAttrsOfSubmodulesToListByKey "io.k8s.api.storage.v1beta1.CSINodeDriver" "name"; + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1beta1.CSIStorageCapacity" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "capacity" = mkOption { description = '' Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "maximumVolumeSize" = mkOption { description = '' MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { description = '' @@ -18588,16 +16250,14 @@ let Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "nodeTopology" = mkOption { - description = - "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector")); + description = "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"); }; "storageClassName" = mkOption { - description = - "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable."; + description = "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable."; type = types.str; }; }; @@ -18610,29 +16270,24 @@ let "metadata" = mkOverride 1002 null; "nodeTopology" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.CSIStorageCapacityList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of CSIStorageCapacity objects."; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIStorageCapacity")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.CSIStorageCapacity"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18641,59 +16296,50 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.StorageClass" = { - options = { "allowVolumeExpansion" = mkOption { description = "AllowVolumeExpansion shows whether the storage class allow volume expand"; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "allowedTopologies" = mkOption { - description = - "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; + description = "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature."; type = - (types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm"))); + types.nullOr (types.listOf (submoduleOf "io.k8s.api.core.v1.TopologySelectorTerm")); }; "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "mountOptions" = mkOption { description = '' Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "parameters" = mkOption { - description = - "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Parameters holds the parameters for the provisioner that should create volumes of this storage class."; + type = types.nullOr (types.attrsOf types.str); }; "provisioner" = mkOption { description = "Provisioner indicates the type of the provisioner."; type = types.str; }; "reclaimPolicy" = mkOption { - description = - "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; - type = (types.nullOr types.str); + description = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete."; + type = types.nullOr types.str; }; "volumeBindingMode" = mkOption { - description = - "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; - type = (types.nullOr types.str); + description = "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature."; + type = types.nullOr types.str; }; }; @@ -18708,29 +16354,24 @@ let "reclaimPolicy" = mkOverride 1002 null; "volumeBindingMode" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.StorageClassList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of StorageClasses"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.StorageClass")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.StorageClass"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18739,10 +16380,8 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.TokenRequest" = { - options = { "audience" = mkOption { description = '' @@ -18752,40 +16391,33 @@ let "expirationSeconds" = mkOption { description = '' ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"''; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; }; - config = { "expirationSeconds" = mkOverride 1002 null; }; - + config = {"expirationSeconds" = mkOverride 1002 null;}; }; "io.k8s.api.storage.v1beta1.VolumeAttachment" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + description = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { - description = - "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec"); + description = "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."; + type = submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec"; }; "status" = mkOption { - description = - "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus")); + description = "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus"); }; }; @@ -18795,29 +16427,24 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "Items is the list of VolumeAttachments"; - type = (types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachment")); + type = types.listOf (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachment"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -18826,19 +16453,16 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentSource" = { - options = { "inlineVolumeSpec" = mkOption { - description = - "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."; - type = (types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec")); + description = "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."; + type = types.nullOr (submoduleOf "io.k8s.api.core.v1.PersistentVolumeSpec"); }; "persistentVolumeName" = mkOption { description = "Name of the persistent volume to attach."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18846,14 +16470,11 @@ let "inlineVolumeSpec" = mkOverride 1002 null; "persistentVolumeName" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec" = { - options = { "attacher" = mkOption { - description = - "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; + description = "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName()."; type = types.str; }; "nodeName" = mkOption { @@ -18862,35 +16483,29 @@ let }; "source" = mkOption { description = "Source represents the volume that should be attached."; - type = (submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSource"); + type = submoduleOf "io.k8s.api.storage.v1beta1.VolumeAttachmentSource"; }; }; - config = { }; - + config = {}; }; "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus" = { - options = { "attachError" = mkOption { - description = - "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError")); + description = "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError"); }; "attached" = mkOption { - description = - "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + description = "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; type = types.bool; }; "attachmentMetadata" = mkOption { - description = - "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; - type = (types.nullOr (types.attrsOf types.str)); + description = "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."; + type = types.nullOr (types.attrsOf types.str); }; "detachError" = mkOption { - description = - "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; - type = (types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError")); + description = "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."; + type = types.nullOr (submoduleOf "io.k8s.api.storage.v1beta1.VolumeError"); }; }; @@ -18899,19 +16514,16 @@ let "attachmentMetadata" = mkOverride 1002 null; "detachError" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeError" = { - options = { "message" = mkOption { - description = - "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; - type = (types.nullOr types.str); + description = "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."; + type = types.nullOr types.str; }; "time" = mkOption { description = "Time the error was encountered."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -18919,36 +16531,29 @@ let "message" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; "io.k8s.api.storage.v1beta1.VolumeNodeResources" = { - options = { "count" = mkOption { - description = - "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."; - type = (types.nullOr types.int); + description = "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded."; + type = types.nullOr types.int; }; }; - config = { "count" = mkOverride 1002 null; }; - + config = {"count" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" = { - options = { "description" = mkOption { description = "description is a human readable description of this column."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "format" = mkOption { - description = - "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = (types.nullOr types.str); + description = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.nullOr types.str; }; "jsonPath" = mkOption { - description = - "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; + description = "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; type = types.str; }; "name" = mkOption { @@ -18956,13 +16561,11 @@ let type = types.str; }; "priority" = mkOption { - description = - "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; - type = (types.nullOr types.int); + description = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; + type = types.nullOr types.int; }; "type" = mkOption { - description = - "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + description = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; type = types.str; }; }; @@ -18972,10 +16575,8 @@ let "format" = mkOverride 1002 null; "priority" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion" = { - options = { "strategy" = mkOption { description = '' @@ -18984,42 +16585,40 @@ let type = types.str; }; "webhook" = mkOption { - description = - "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion")); + description = "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion"); }; }; - config = { "webhook" = mkOverride 1002 null; }; - + config = {"webhook" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec describes how the user wants the resources to appear"; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec"; }; "status" = mkOption { description = "status indicates the actual state of the CustomResourceDefinition"; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus"); }; }; @@ -19029,33 +16628,27 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + description = "lastTransitionTime last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; "message" = mkOption { - description = - "message is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + description = "message is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "reason is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + description = "reason is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; }; "status" = mkOption { description = "status is the status of the condition. Can be True, False, Unknown."; type = types.str; }; "type" = mkOption { - description = - "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; + description = "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; type = types.str; }; }; @@ -19065,29 +16658,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items list individual CustomResourceDefinition objects"; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -19096,40 +16686,33 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames" = { - options = { "categories" = mkOption { - description = - "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; - type = (types.nullOr (types.listOf types.str)); + description = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; + type = types.nullOr (types.listOf types.str); }; "kind" = mkOption { - description = - "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; + description = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; type = types.str; }; "listKind" = mkOption { description = '' listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "plural" = mkOption { - description = - "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; + description = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; type = types.str; }; "shortNames" = mkOption { - description = - "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; - type = (types.nullOr (types.listOf types.str)); + description = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; + type = types.nullOr (types.listOf types.str); }; "singular" = mkOption { - description = - "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; - type = (types.nullOr types.str); + description = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; + type = types.nullOr types.str; }; }; @@ -19139,41 +16722,39 @@ let "shortNames" = mkOverride 1002 null; "singular" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec" = { - options = { "conversion" = mkOption { description = "conversion defines conversion settings for the CRD."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion"); }; "group" = mkOption { - description = - "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; + description = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; type = types.str; }; "names" = mkOption { description = "names specify the resource and kind names for the custom resource."; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"; }; "preserveUnknownFields" = mkOption { - description = - "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; - type = (types.nullOr types.bool); + description = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; + type = types.nullOr types.bool; }; "scope" = mkOption { - description = - "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."; + description = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`."; type = types.str; }; "versions" = mkOption { description = '' versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.''; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion"); }; }; @@ -19181,27 +16762,24 @@ let "conversion" = mkOverride 1002 null; "preserveUnknownFields" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus" = { - options = { "acceptedNames" = mkOption { - description = - "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames")); + description = "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames"); }; "conditions" = mkOption { - description = - "conditions indicate state for particular aspects of a CustomResourceDefinition"; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition"))); + description = "conditions indicate state for particular aspects of a CustomResourceDefinition"; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition")); }; "storedVersions" = mkOption { - description = - "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; - type = (types.nullOr (types.listOf types.str)); + description = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; + type = types.nullOr (types.listOf types.str); }; }; @@ -19210,53 +16788,46 @@ let "conditions" = mkOverride 1002 null; "storedVersions" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" = { - options = { "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition"))); + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition")); }; "deprecated" = mkOption { - description = - "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; - type = (types.nullOr types.bool); + description = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; + type = types.nullOr types.bool; }; "deprecationWarning" = mkOption { - description = - "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; - type = (types.nullOr types.str); + description = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; + description = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; type = types.str; }; "schema" = mkOption { - description = - "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation")); + description = "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation"); }; "served" = mkOption { - description = - "served is a flag enabling/disabling this version from being served via REST APIs"; + description = "served is a flag enabling/disabling this version from being served via REST APIs"; type = types.bool; }; "storage" = mkOption { - description = - "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; + description = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; type = types.bool; }; "subresources" = mkOption { - description = - "subresources specify what subresources this version of the defined custom resource have."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources")); + description = "subresources specify what subresources this version of the defined custom resource have."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources"); }; }; @@ -19267,46 +16838,39 @@ let "schema" = mkOverride 1002 null; "subresources" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale" = { - options = { "labelSelectorPath" = mkOption { - description = - "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; - type = (types.nullOr types.str); + description = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; + type = types.nullOr types.str; }; "specReplicasPath" = mkOption { - description = - "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; + description = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; type = types.str; }; "statusReplicasPath" = mkOption { - description = - "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; + description = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; type = types.str; }; }; - config = { "labelSelectorPath" = mkOverride 1002 null; }; - + config = {"labelSelectorPath" = mkOverride 1002 null;}; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources" = { - options = { "scale" = mkOption { - description = - "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale")); + description = "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale"); }; "status" = mkOption { - description = - "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus")); + description = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus"); }; }; @@ -19314,32 +16878,28 @@ let "scale" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation" = { - options = { "openAPIV3Schema" = mkOption { - description = - "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); + description = "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"); }; }; - config = { "openAPIV3Schema" = mkOverride 1002 null; }; - + config = {"openAPIV3Schema" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" = { - options = { "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "url" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19347,179 +16907,186 @@ let "description" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" = { - options = { "$ref" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "$schema" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "additionalItems" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"); }; "additionalProperties" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool"); }; "allOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "anyOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "default" = mkOption { - description = - "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false."; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); + description = "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false."; + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"); }; "definitions" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "dependencies" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enum" = mkOption { description = ""; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); }; "example" = mkOption { description = ""; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON")); + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON"); }; "exclusiveMaximum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "exclusiveMinimum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "externalDocs" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation"); }; "format" = mkOption { description = '' format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "id" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray"); }; "maxItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maximum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minimum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "multipleOf" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "not" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"); }; "nullable" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "oneOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps")); }; "pattern" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "patternProperties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "properties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "required" = mkOption { description = ""; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "title" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uniqueItems" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-embedded-resource" = mkOption { - description = - "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; - type = (types.nullOr types.bool); + description = "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; + type = types.nullOr types.bool; }; "x-kubernetes-int-or-string" = mkOption { description = '' @@ -19533,7 +17100,7 @@ let - type: integer - type: string - ... zero or more''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-list-map-keys" = mkOption { description = '' @@ -19542,7 +17109,7 @@ let This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "x-kubernetes-list-type" = mkOption { description = '' @@ -19560,7 +17127,7 @@ let used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-map-type" = mkOption { description = '' @@ -19572,12 +17139,11 @@ let the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-preserve-unknown-fields" = mkOption { - description = - "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; - type = (types.nullOr types.bool); + description = "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; + type = types.nullOr types.bool; }; }; @@ -19626,13 +17192,11 @@ let "x-kubernetes-map-type" = mkOverride 1002 null; "x-kubernetes-preserve-unknown-fields" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference" = { - options = { "name" = mkOption { description = "name is the name of the service. Required"; @@ -19644,12 +17208,11 @@ let }; "path" = mkOption { description = "path is an optional URL path at which the webhook will be contacted."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; - type = (types.nullOr types.int); + description = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; + type = types.nullOr types.int; }; }; @@ -19657,23 +17220,21 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference"); }; "url" = mkOption { description = '' @@ -19688,7 +17249,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -19697,75 +17258,63 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion" = { - options = { "clientConfig" = mkOption { - description = - "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig")); + description = "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig"); }; "conversionReviewVersions" = mkOption { - description = - "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."; - type = (types.listOf types.str); + description = "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail."; + type = types.listOf types.str; }; }; - config = { "clientConfig" = mkOverride 1002 null; }; - + config = {"clientConfig" = mkOverride 1002 null;}; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" = - { - - options = { - "JSONPath" = mkOption { - description = - "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; - type = types.str; - }; - "description" = mkOption { - description = "description is a human readable description of this column."; - type = (types.nullOr types.str); - }; - "format" = mkOption { - description = - "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = (types.nullOr types.str); - }; - "name" = mkOption { - description = "name is a human readable name for the column."; - type = types.str; - }; - "priority" = mkOption { - description = - "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; - type = (types.nullOr types.int); - }; - "type" = mkOption { - description = - "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; - type = types.str; - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" = { + options = { + "JSONPath" = mkOption { + description = "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column."; + type = types.str; }; - - config = { - "description" = mkOverride 1002 null; - "format" = mkOverride 1002 null; - "priority" = mkOverride 1002 null; + "description" = mkOption { + description = "description is a human readable description of this column."; + type = types.nullOr types.str; + }; + "format" = mkOption { + description = "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.nullOr types.str; + }; + "name" = mkOption { + description = "name is a human readable name for the column."; + type = types.str; + }; + "priority" = mkOption { + description = "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0."; + type = types.nullOr types.int; + }; + "type" = mkOption { + description = "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details."; + type = types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" = { + config = { + "description" = mkOverride 1002 null; + "format" = mkOverride 1002 null; + "priority" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" = { options = { "conversionReviewVersions" = mkOption { description = '' conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `["v1beta1"]`.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "strategy" = mkOption { description = '' @@ -19774,10 +17323,10 @@ let type = types.str; }; "webhookClientConfig" = mkOption { - description = - "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig")); + description = "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig"); }; }; @@ -19785,34 +17334,32 @@ let "conversionReviewVersions" = mkOverride 1002 null; "webhookClientConfig" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "spec describes how the user wants the resources to appear"; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec"; }; "status" = mkOption { description = "status indicates the actual state of the CustomResourceDefinition"; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus"); }; }; @@ -19822,66 +17369,56 @@ let "metadata" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" = - { - - options = { - "lastTransitionTime" = mkOption { - description = - "lastTransitionTime last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); - }; - "message" = mkOption { - description = - "message is a human-readable message indicating details about last transition."; - type = (types.nullOr types.str); - }; - "reason" = mkOption { - description = - "reason is a unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); - }; - "status" = mkOption { - description = "status is the status of the condition. Can be True, False, Unknown."; - type = types.str; - }; - "type" = mkOption { - description = - "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; - type = types.str; - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" = { + options = { + "lastTransitionTime" = mkOption { + description = "lastTransitionTime last time the condition transitioned from one status to another."; + type = types.nullOr types.str; }; - - config = { - "lastTransitionTime" = mkOverride 1002 null; - "message" = mkOverride 1002 null; - "reason" = mkOverride 1002 null; + "message" = mkOption { + description = "message is a human-readable message indicating details about last transition."; + type = types.nullOr types.str; + }; + "reason" = mkOption { + description = "reason is a unique, one-word, CamelCase reason for the condition's last transition."; + type = types.nullOr types.str; + }; + "status" = mkOption { + description = "status is the status of the condition. Can be True, False, Unknown."; + type = types.str; + }; + "type" = mkOption { + description = "type is the type of the condition. Types include Established, NamesAccepted and Terminating."; + type = types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" = { + config = { + "lastTransitionTime" = mkOverride 1002 null; + "message" = mkOverride 1002 null; + "reason" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" = { options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = "items list individual CustomResourceDefinition objects"; - type = (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition")); + type = + types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -19890,108 +17427,97 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" = - { - - options = { - "categories" = mkOption { - description = - "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; - type = (types.nullOr (types.listOf types.str)); - }; - "kind" = mkOption { - description = - "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; - type = types.str; - }; - "listKind" = mkOption { - description = '' - listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; - type = (types.nullOr types.str); - }; - "plural" = mkOption { - description = - "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; - type = types.str; - }; - "shortNames" = mkOption { - description = - "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; - type = (types.nullOr (types.listOf types.str)); - }; - "singular" = mkOption { - description = - "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; - type = (types.nullOr types.str); - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" = { + options = { + "categories" = mkOption { + description = "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`."; + type = types.nullOr (types.listOf types.str); }; - - config = { - "categories" = mkOverride 1002 null; - "listKind" = mkOverride 1002 null; - "shortNames" = mkOverride 1002 null; - "singular" = mkOverride 1002 null; + "kind" = mkOption { + description = "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls."; + type = types.str; + }; + "listKind" = mkOption { + description = '' + listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".''; + type = types.nullOr types.str; + }; + "plural" = mkOption { + description = "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase."; + type = types.str; + }; + "shortNames" = mkOption { + description = "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase."; + type = types.nullOr (types.listOf types.str); + }; + "singular" = mkOption { + description = "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`."; + type = types.nullOr types.str; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec" = { + config = { + "categories" = mkOverride 1002 null; + "listKind" = mkOverride 1002 null; + "shortNames" = mkOverride 1002 null; + "singular" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec" = { options = { "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition"))); + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition")); }; "conversion" = mkOption { description = "conversion defines conversion settings for the CRD."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion"); }; "group" = mkOption { - description = - "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; + description = "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`)."; type = types.str; }; "names" = mkOption { description = "names specify the resource and kind names for the custom resource."; - type = (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"); + type = + submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"; }; "preserveUnknownFields" = mkOption { - description = - "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; - type = (types.nullOr types.bool); + description = "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details."; + type = types.nullOr types.bool; }; "scope" = mkOption { - description = - "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."; + description = "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`."; type = types.str; }; "subresources" = mkOption { - description = - "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources")); + description = "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"); }; "validation" = mkOption { - description = - "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation")); + description = "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation"); }; "version" = mkOption { - description = - "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."; - type = (types.nullOr types.str); + description = "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead."; + type = types.nullOr types.str; }; "versions" = mkOption { description = '' versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.''; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion")); }; }; @@ -20004,136 +17530,115 @@ let "version" = mkOverride 1002 null; "versions" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" = - { - - options = { - "acceptedNames" = mkOption { - description = - "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames")); - }; - "conditions" = mkOption { - description = - "conditions indicate state for particular aspects of a CustomResourceDefinition"; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition"))); - }; - "storedVersions" = mkOption { - description = - "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; - type = (types.nullOr (types.listOf types.str)); - }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus" = { + options = { + "acceptedNames" = mkOption { + description = "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames"); }; - - config = { - "acceptedNames" = mkOverride 1002 null; - "conditions" = mkOverride 1002 null; - "storedVersions" = mkOverride 1002 null; + "conditions" = mkOption { + description = "conditions indicate state for particular aspects of a CustomResourceDefinition"; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition")); + }; + "storedVersions" = mkOption { + description = "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list."; + type = types.nullOr (types.listOf types.str); }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" = - { - - options = { - "additionalPrinterColumns" = mkOption { - description = - "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition"))); - }; - "deprecated" = mkOption { - description = - "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; - type = (types.nullOr types.bool); - }; - "deprecationWarning" = mkOption { - description = - "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; - type = (types.nullOr types.str); - }; - "name" = mkOption { - description = - "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; - type = types.str; - }; - "schema" = mkOption { - description = - "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation")); - }; - "served" = mkOption { - description = - "served is a flag enabling/disabling this version from being served via REST APIs"; - type = types.bool; - }; - "storage" = mkOption { - description = - "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; - type = types.bool; - }; - "subresources" = mkOption { - description = - "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources")); - }; - }; - - config = { - "additionalPrinterColumns" = mkOverride 1002 null; - "deprecated" = mkOverride 1002 null; - "deprecationWarning" = mkOverride 1002 null; - "schema" = mkOverride 1002 null; - "subresources" = mkOverride 1002 null; - }; + config = { + "acceptedNames" = mkOverride 1002 null; + "conditions" = mkOverride 1002 null; + "storedVersions" = mkOverride 1002 null; }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" = - { - - options = { - "labelSelectorPath" = mkOption { - description = - "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; - type = (types.nullOr types.str); - }; - "specReplicasPath" = mkOption { - description = - "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; - type = types.str; - }; - "statusReplicasPath" = mkOption { - description = - "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; - type = types.str; - }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" = { + options = { + "additionalPrinterColumns" = mkOption { + description = "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used."; + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition")); + }; + "deprecated" = mkOption { + description = "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false."; + type = types.nullOr types.bool; + }; + "deprecationWarning" = mkOption { + description = "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists."; + type = types.nullOr types.str; + }; + "name" = mkOption { + description = "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true."; + type = types.str; + }; + "schema" = mkOption { + description = "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation"); + }; + "served" = mkOption { + description = "served is a flag enabling/disabling this version from being served via REST APIs"; + type = types.bool; + }; + "storage" = mkOption { + description = "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true."; + type = types.bool; + }; + "subresources" = mkOption { + description = "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"); }; - - config = { "labelSelectorPath" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" = - { }; + + config = { + "additionalPrinterColumns" = mkOverride 1002 null; + "deprecated" = mkOverride 1002 null; + "deprecationWarning" = mkOverride 1002 null; + "schema" = mkOverride 1002 null; + "subresources" = mkOverride 1002 null; + }; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" = { + options = { + "labelSelectorPath" = mkOption { + description = "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string."; + type = types.nullOr types.str; + }; + "specReplicasPath" = mkOption { + description = "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET."; + type = types.str; + }; + "statusReplicasPath" = mkOption { + description = "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0."; + type = types.str; + }; + }; + + config = {"labelSelectorPath" = mkOverride 1002 null;}; + }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" = { - options = { "scale" = mkOption { - description = - "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale")); + description = "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale"); }; "status" = mkOption { - description = - "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus")); + description = "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus"); }; }; @@ -20141,32 +17646,28 @@ let "scale" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" = { - options = { "openAPIV3Schema" = mkOption { - description = - "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); + description = "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."; + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"); }; }; - config = { "openAPIV3Schema" = mkOverride 1002 null; }; - + config = {"openAPIV3Schema" = mkOverride 1002 null;}; }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" = { - options = { "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "url" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20174,179 +17675,186 @@ let "description" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" = { - options = { "$ref" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "$schema" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "additionalItems" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool"); }; "additionalProperties" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool"); }; "allOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "anyOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "default" = mkOption { - description = - "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); + description = "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."; + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"); }; "definitions" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "dependencies" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "description" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "enum" = mkOption { description = ""; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"))); + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); }; "example" = mkOption { description = ""; - type = (types.nullOr - (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON")); + type = + types.nullOr + (submoduleOf "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON"); }; "exclusiveMaximum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "exclusiveMinimum" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "externalDocs" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation"); }; "format" = mkOption { description = '' format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "id" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray"); }; "maxItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maxProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "maximum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minItems" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minLength" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minProperties" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "minimum" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "multipleOf" = mkOption { description = ""; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "not" = mkOption { description = ""; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"); }; "nullable" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "oneOf" = mkOption { description = ""; - type = (types.nullOr (types.listOf (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps"))); + type = + types.nullOr (types.listOf (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps")); }; "pattern" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "patternProperties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "properties" = mkOption { description = ""; - type = (types.nullOr types.attrs); + type = types.nullOr types.attrs; }; "required" = mkOption { description = ""; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "title" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "type" = mkOption { description = ""; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uniqueItems" = mkOption { description = ""; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-embedded-resource" = mkOption { - description = - "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; - type = (types.nullOr types.bool); + description = "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata)."; + type = types.nullOr types.bool; }; "x-kubernetes-int-or-string" = mkOption { description = '' @@ -20360,7 +17868,7 @@ let - type: integer - type: string - ... zero or more''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "x-kubernetes-list-map-keys" = mkOption { description = '' @@ -20369,7 +17877,7 @@ let This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). The properties specified must either be required or have a default value, to ensure those properties are present for all list items.''; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "x-kubernetes-list-type" = mkOption { description = '' @@ -20387,7 +17895,7 @@ let used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-map-type" = mkOption { description = '' @@ -20399,12 +17907,11 @@ let the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "x-kubernetes-preserve-unknown-fields" = mkOption { - description = - "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; - type = (types.nullOr types.bool); + description = "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden."; + type = types.nullOr types.bool; }; }; @@ -20453,13 +17960,11 @@ let "x-kubernetes-map-type" = mkOverride 1002 null; "x-kubernetes-preserve-unknown-fields" = mkOverride 1002 null; }; - }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" = { }; - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" = { }; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" = {}; + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" = {}; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "name is the name of the service. Required"; @@ -20471,12 +17976,11 @@ let }; "path" = mkOption { description = "path is an optional URL path at which the webhook will be contacted."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; - type = (types.nullOr types.int); + description = "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility."; + type = types.nullOr types.int; }; }; @@ -20484,23 +17988,21 @@ let "path" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig" = { - options = { "caBundle" = mkOption { - description = - "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "service" = mkOption { description = '' service is a reference to the service for this webhook. Either service or url must be specified. If the webhook is running within the cluster, then you should use `service`.''; - type = (types.nullOr (submoduleOf - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference")); + type = + types.nullOr (submoduleOf + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference"); }; "url" = mkOption { description = '' @@ -20515,7 +18017,7 @@ let A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20524,42 +18026,39 @@ let "service" = mkOverride 1002 null; "url" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.api.resource.Quantity" = { }; + "io.k8s.apimachinery.pkg.api.resource.Quantity" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { description = "name is the name of the group."; type = types.str; }; "preferredVersion" = mkOption { - description = - "preferredVersion is the version preferred by the API server, which probably is the storage version."; - type = (types.nullOr - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")); + description = "preferredVersion is the version preferred by the API server, which probably is the storage version."; + type = + types.nullOr + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"); }; "serverAddressByClientCIDRs" = mkOption { - description = - "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"))); + description = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")); }; "versions" = mkOption { description = "versions are the versions supported in this group."; - type = (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")); + type = + types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"); }; }; @@ -20569,24 +18068,20 @@ let "preferredVersion" = mkOverride 1002 null; "serverAddressByClientCIDRs" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "groups" = mkOption { description = "groups is a list of APIGroup."; - type = (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup")); + type = types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; }; @@ -20594,24 +18089,20 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" = { - options = { "categories" = mkOption { - description = - "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"; - type = (types.nullOr (types.listOf types.str)); + description = "categories is a list of the grouped resources this resource belongs to (e.g. 'all')"; + type = types.nullOr (types.listOf types.str); }; "group" = mkOption { description = '' group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"; + description = "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"; type = types.str; }; "name" = mkOption { @@ -20624,27 +18115,24 @@ let }; "shortNames" = mkOption { description = "shortNames is a list of suggested short names of the resource."; - type = (types.nullOr (types.listOf types.str)); + type = types.nullOr (types.listOf types.str); }; "singularName" = mkOption { - description = - "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."; + description = "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface."; type = types.str; }; "storageVersionHash" = mkOption { - description = - "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates."; - type = (types.nullOr types.str); + description = "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates."; + type = types.nullOr types.str; }; "verbs" = mkOption { - description = - "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"; - type = (types.listOf types.str); + description = "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"; + type = types.listOf types.str; }; "version" = mkOption { description = '' version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20655,28 +18143,24 @@ let "storageVersionHash" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "groupVersion" = mkOption { description = "groupVersion is the group and version this APIResourceList is for."; type = types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "resources" = mkOption { description = "resources contains the name of the resources and if they are namespaced."; - type = (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource")); + type = types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource"); }; }; @@ -20684,30 +18168,26 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "serverAddressByClientCIDRs" = mkOption { - description = - "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; - type = (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")); + description = "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."; + type = + types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"); }; "versions" = mkOption { description = "versions are the api versions that are available."; - type = (types.listOf types.str); + type = types.listOf types.str; }; }; @@ -20715,29 +18195,23 @@ let "apiVersion" = mkOverride 1002 null; "kind" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.Condition" = { - options = { "lastTransitionTime" = mkOption { - description = - "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable."; + description = "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable."; type = types.str; }; "message" = mkOption { - description = - "message is a human readable message indicating details about the transition. This may be an empty string."; + description = "message is a human readable message indicating details about the transition. This may be an empty string."; type = types.str; }; "observedGeneration" = mkOption { - description = - "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."; - type = (types.nullOr types.int); + description = "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."; + type = types.nullOr types.int; }; "reason" = mkOption { - description = - "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."; + description = "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."; type = types.str; }; "status" = mkOption { @@ -20750,46 +18224,38 @@ let }; }; - config = { "observedGeneration" = mkOverride 1002 null; }; - + config = {"observedGeneration" = mkOverride 1002 null;}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "dryRun" = mkOption { - description = - "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed"; - type = (types.nullOr (types.listOf types.str)); + description = "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed"; + type = types.nullOr (types.listOf types.str); }; "gracePeriodSeconds" = mkOption { - description = - "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately."; - type = (types.nullOr types.int); + description = "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately."; + type = types.nullOr types.int; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "orphanDependents" = mkOption { description = '' Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "preconditions" = mkOption { - description = - "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions")); + description = "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"); }; "propagationPolicy" = mkOption { - description = - "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."; - type = (types.nullOr types.str); + description = "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground."; + type = types.nullOr types.str; }; }; @@ -20802,15 +18268,12 @@ let "preconditions" = mkOverride 1002 null; "propagationPolicy" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" = { - options = { "groupVersion" = mkOption { - description = - ''groupVersion specifies the API group and version in the form "group/version"''; + description = ''groupVersion specifies the API group and version in the form "group/version"''; type = types.str; }; "version" = mkOption { @@ -20820,22 +18283,20 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" = { - options = { "matchExpressions" = mkOption { - description = - "matchExpressions is a list of label selector requirements. The requirements are ANDed."; - type = (types.nullOr (types.listOf - (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement"))); + description = "matchExpressions is a list of label selector requirements. The requirements are ANDed."; + type = + types.nullOr (types.listOf + (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement")); }; "matchLabels" = mkOption { description = '' matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.''; - type = (types.nullOr (types.attrsOf types.str)); + type = types.nullOr (types.attrsOf types.str); }; }; @@ -20843,54 +18304,45 @@ let "matchExpressions" = mkOverride 1002 null; "matchLabels" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" = { - options = { "key" = mkOption { description = "key is the label key that the selector applies to."; type = types.str; }; "operator" = mkOption { - description = - "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."; + description = "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist."; type = types.str; }; "values" = mkOption { - description = - "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; - type = (types.nullOr (types.listOf types.str)); + description = "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch."; + type = types.nullOr (types.listOf types.str); }; }; - config = { "values" = mkOverride 1002 null; }; - + config = {"values" = mkOverride 1002 null;}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" = { - options = { "continue" = mkOption { - description = - "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message."; - type = (types.nullOr types.str); + description = "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message."; + type = types.nullOr types.str; }; "remainingItemCount" = mkOption { - description = - "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact."; - type = (types.nullOr types.int); + description = "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact."; + type = types.nullOr types.int; }; "resourceVersion" = mkOption { - description = - "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; - type = (types.nullOr types.str); + description = "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"; + type = types.nullOr types.str; }; "selfLink" = mkOption { description = '' selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -20900,39 +18352,34 @@ let "resourceVersion" = mkOverride 1002 null; "selfLink" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" = { - options = { "apiVersion" = mkOption { description = '' APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldsType" = mkOption { description = '' FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "fieldsV1" = mkOption { - description = - ''FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.''; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1")); + description = ''FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.''; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1"); }; "manager" = mkOption { description = "Manager is an identifier of the workflow managing these fields."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "operation" = mkOption { - description = - "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."; - type = (types.nullOr types.str); + description = "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'."; + type = types.nullOr types.str; }; "time" = mkOption { - description = - "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"; - type = (types.nullOr types.str); + description = "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"; + type = types.nullOr types.str; }; }; @@ -20944,45 +18391,39 @@ let "operation" = mkOverride 1002 null; "time" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" = { - options = { "annotations" = mkOption { - description = - "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"; + type = types.nullOr (types.attrsOf types.str); }; "clusterName" = mkOption { - description = - "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."; - type = (types.nullOr types.str); + description = "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."; + type = types.nullOr types.str; }; "creationTimestamp" = mkOption { description = '' CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "deletionGracePeriodSeconds" = mkOption { - description = - "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."; - type = (types.nullOr types.int); + description = "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."; + type = types.nullOr types.int; }; "deletionTimestamp" = mkOption { description = '' DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "finalizers" = mkOption { - description = - "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."; - type = (types.nullOr (types.listOf types.str)); + description = "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."; + type = types.nullOr (types.listOf types.str); }; "generateName" = mkOption { description = '' @@ -20991,63 +18432,64 @@ let If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "generation" = mkOption { - description = - "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."; - type = (types.nullOr types.int); + description = "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."; + type = types.nullOr types.int; }; "labels" = mkOption { - description = - "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"; - type = (types.nullOr (types.attrsOf types.str)); + description = "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"; + type = types.nullOr (types.attrsOf types.str); }; "managedFields" = mkOption { description = '' ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.''; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry"))); + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry")); }; "name" = mkOption { - description = - "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; - type = (types.nullOr types.str); + description = "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + type = types.nullOr types.str; }; "namespace" = mkOption { description = '' Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "ownerReferences" = mkOption { - description = - "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + description = "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" "uid"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; "resourceVersion" = mkOption { description = '' An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "selfLink" = mkOption { description = '' SelfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = '' UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -21069,10 +18511,8 @@ let "selfLink" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" = { - options = { "apiVersion" = mkOption { description = "API version of the referent."; @@ -21081,25 +18521,22 @@ let "blockOwnerDeletion" = mkOption { description = '' If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.''; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "controller" = mkOption { description = "If true, this reference points to the managing controller."; - type = (types.nullOr types.bool); + type = types.nullOr types.bool; }; "kind" = mkOption { - description = - "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + description = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; type = types.str; }; "name" = mkOption { - description = - "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; + description = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"; type = types.str; }; "uid" = mkOption { - description = - "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; + description = "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; type = types.str; }; }; @@ -21108,19 +18545,17 @@ let "blockOwnerDeletion" = mkOverride 1002 null; "controller" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.Patch" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.Patch" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions" = { - options = { "resourceVersion" = mkOption { description = "Specifies the target ResourceVersion"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "uid" = mkOption { description = "Specifies the target UID."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -21128,66 +18563,56 @@ let "resourceVersion" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" = { - options = { "clientCIDR" = mkOption { - description = - "The CIDR with which clients can match their IP to figure out the server address that they should use."; + description = "The CIDR with which clients can match their IP to figure out the server address that they should use."; type = types.str; }; "serverAddress" = mkOption { - description = - "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."; + description = "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port."; type = types.str; }; }; - config = { }; - + config = {}; }; "io.k8s.apimachinery.pkg.apis.meta.v1.Status" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "code" = mkOption { description = "Suggested HTTP return code for this status, 0 if not set."; - type = (types.nullOr types.int); + type = types.nullOr types.int; }; "details" = mkOption { - description = - "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type."; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails")); + description = "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type."; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "message" = mkOption { description = "A human-readable description of the status of this operation."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "metadata" = mkOption { - description = - "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + description = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; "reason" = mkOption { description = '' A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = '' Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; }; @@ -21201,10 +18626,8 @@ let "reason" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" = { - options = { "field" = mkOption { description = '' @@ -21213,17 +18636,15 @@ let Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { - description = - "A human-readable description of the cause of the error. This field may be presented as-is to a reader."; - type = (types.nullOr types.str); + description = "A human-readable description of the cause of the error. This field may be presented as-is to a reader."; + type = types.nullOr types.str; }; "reason" = mkOption { - description = - "A machine-readable description of the cause of the error. If this value is empty there is no information available."; - type = (types.nullOr types.str); + description = "A machine-readable description of the cause of the error. If this value is empty there is no information available."; + type = types.nullOr types.str; }; }; @@ -21232,41 +18653,34 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails" = { - options = { "causes" = mkOption { - description = - "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."; - type = (types.nullOr - (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause"))); + description = "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes."; + type = + types.nullOr + (types.listOf (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause")); }; "group" = mkOption { - description = - "The group attribute of the resource associated with the status StatusReason."; - type = (types.nullOr types.str); + description = "The group attribute of the resource associated with the status StatusReason."; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "name" = mkOption { - description = - "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."; - type = (types.nullOr types.str); + description = "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)."; + type = types.nullOr types.str; }; "retryAfterSeconds" = mkOption { - description = - "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."; - type = (types.nullOr types.int); + description = "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action."; + type = types.nullOr types.int; }; "uid" = mkOption { - description = - "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; - type = (types.nullOr types.str); + description = "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids"; + type = types.nullOr types.str; }; }; @@ -21278,11 +18692,9 @@ let "retryAfterSeconds" = mkOverride 1002 null; "uid" = mkOverride 1002 null; }; - }; - "io.k8s.apimachinery.pkg.apis.meta.v1.Time" = { }; + "io.k8s.apimachinery.pkg.apis.meta.v1.Time" = {}; "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" = { - options = { "object" = mkOption { description = '' @@ -21291,7 +18703,7 @@ let * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context.''; - type = (submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"); + type = submoduleOf "io.k8s.apimachinery.pkg.runtime.RawExtension"; }; "type" = mkOption { description = ""; @@ -21299,13 +18711,11 @@ let }; }; - config = { }; - + config = {}; }; - "io.k8s.apimachinery.pkg.runtime.RawExtension" = { }; - "io.k8s.apimachinery.pkg.util.intstr.IntOrString" = { }; + "io.k8s.apimachinery.pkg.runtime.RawExtension" = {}; + "io.k8s.apimachinery.pkg.util.intstr.IntOrString" = {}; "io.k8s.apimachinery.pkg.version.Info" = { - options = { "buildDate" = mkOption { description = ""; @@ -21345,35 +18755,33 @@ let }; }; - config = { }; - + config = {}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec contains information for locating and communicating with a server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec"); }; "status" = mkOption { description = "Status contains derived information about an API server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus"); }; }; @@ -21384,22 +18792,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status is the status of the condition. Can be True, False, Unknown."; @@ -21416,29 +18822,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService")); + type = + types.listOf + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -21447,39 +18850,34 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec" = { - options = { "caBundle" = mkOption { - description = - "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "group" = mkOption { description = "Group is the API group name this server hosts"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "groupPriorityMinimum" = mkOption { - description = - "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; + description = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; type = types.int; }; "insecureSkipTLSVerify" = mkOption { - description = - "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; - type = (types.nullOr types.bool); + description = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; + type = types.nullOr types.bool; }; "service" = mkOption { - description = - "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference")); + description = "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference"); }; "version" = mkOption { description = ''Version is the API version this server hosts. For example, "v1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "versionPriority" = mkOption { description = '' @@ -21495,37 +18893,36 @@ let "service" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state of apiService."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference" = { - options = { "name" = mkOption { description = "Name is the name of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace is the namespace of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -21534,34 +18931,32 @@ let "namespace" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"); }; "spec" = mkOption { description = "Spec contains information for locating and communicating with a server"; - type = (types.nullOr - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec")); + type = + types.nullOr + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec"); }; "status" = mkOption { description = "Status contains derived information about an API server"; - type = (types.nullOr (submoduleOf - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus")); + type = + types.nullOr (submoduleOf + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus"); }; }; @@ -21572,22 +18967,20 @@ let "spec" = mkOverride 1002 null; "status" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" = { - options = { "lastTransitionTime" = mkOption { description = "Last time the condition transitioned from one status to another."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "message" = mkOption { description = "Human-readable message indicating details about last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "reason" = mkOption { description = "Unique, one-word, CamelCase reason for the condition's last transition."; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "status" = mkOption { description = "Status is the status of the condition. Can be True, False, Unknown."; @@ -21604,29 +18997,26 @@ let "message" = mkOverride 1002 null; "reason" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList" = { - options = { "apiVersion" = mkOption { - description = - "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; - type = (types.nullOr types.str); + description = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"; + type = types.nullOr types.str; }; "items" = mkOption { description = ""; - type = (types.listOf - (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService")); + type = + types.listOf + (submoduleOf "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService"); }; "kind" = mkOption { - description = - "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; - type = (types.nullOr types.str); + description = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"; + type = types.nullOr types.str; }; "metadata" = mkOption { description = ""; - type = (types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta")); + type = types.nullOr (submoduleOf "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"); }; }; @@ -21635,39 +19025,34 @@ let "kind" = mkOverride 1002 null; "metadata" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec" = { - options = { "caBundle" = mkOption { - description = - "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; - type = (types.nullOr types.str); + description = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used."; + type = types.nullOr types.str; }; "group" = mkOption { description = "Group is the API group name this server hosts"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "groupPriorityMinimum" = mkOption { - description = - "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; + description = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s"; type = types.int; }; "insecureSkipTLSVerify" = mkOption { - description = - "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; - type = (types.nullOr types.bool); + description = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead."; + type = types.nullOr types.bool; }; "service" = mkOption { - description = - "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; - type = (types.nullOr (submoduleOf - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference")); + description = "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."; + type = + types.nullOr (submoduleOf + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference"); }; "version" = mkOption { description = ''Version is the API version this server hosts. For example, "v1"''; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "versionPriority" = mkOption { description = '' @@ -21683,37 +19068,36 @@ let "service" = mkOverride 1002 null; "version" = mkOverride 1002 null; }; - }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus" = { - options = { "conditions" = mkOption { description = "Current service state of apiService."; - type = (types.nullOr (coerceAttrsOfSubmodulesToListByKey - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type")); - apply = values: if values != null then mapAttrsToList (n: v: v) values else values; + type = + types.nullOr (coerceAttrsOfSubmodulesToListByKey + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" "type"); + apply = values: + if values != null + then mapAttrsToList (n: v: v) values + else values; }; }; - config = { "conditions" = mkOverride 1002 null; }; - + config = {"conditions" = mkOverride 1002 null;}; }; "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference" = { - options = { "name" = mkOption { description = "Name is the name of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "namespace" = mkOption { description = "Namespace is the namespace of the service"; - type = (types.nullOr types.str); + type = types.nullOr types.str; }; "port" = mkOption { - description = - "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; - type = (types.nullOr types.int); + description = "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive)."; + type = types.nullOr types.int; }; }; @@ -21722,1278 +19106,1317 @@ let "namespace" = mkOverride 1002 null; "port" = mkOverride 1002 null; }; - }; - }; -in -{ +in { # all resource versions options = { - resources = { - "admissionregistration.k8s.io"."v1"."MutatingWebhookConfiguration" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + resources = + { + "admissionregistration.k8s.io"."v1"."MutatingWebhookConfiguration" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1"."ValidatingWebhookConfiguration" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1beta1"."MutatingWebhookConfiguration" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1"."ValidatingWebhookConfiguration" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1beta1"."MutatingWebhookConfiguration" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1beta1")); - default = { }; - }; - "admissionregistration.k8s.io"."v1beta1"."ValidatingWebhookConfiguration" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1beta1")); - default = { }; - }; - "internal.apiserver.k8s.io"."v1alpha1"."StorageVersion" = mkOption { - description = "\n Storage version of a specific resource."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "apps"."v1"."ControllerRevision" = mkOption { - description = - "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" - "ControllerRevision" "apps" "v1")); - default = { }; - }; - "apps"."v1"."DaemonSet" = mkOption { - description = "DaemonSet represents the configuration of a daemon set."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."Deployment" = mkOption { - description = "Deployment enables declarative updates for Pods and ReplicaSets."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."ReplicaSet" = mkOption { - description = - "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" - "v1")); - default = { }; - }; - "apps"."v1"."StatefulSet" = mkOption { - description = '' - StatefulSet represents a set of pods with consistent identities. Identities are defined as: - - Network: A single stable DNS and hostname. - - Storage: As many VolumeClaims as requested. - The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" - "apps" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1"."TokenRequest" = mkOption { - description = "TokenRequest requests a token for a given service account."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" - "authentication.k8s.io" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1"."TokenReview" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1")); - default = { }; - }; - "authentication.k8s.io"."v1beta1"."TokenReview" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1beta1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1"."LocalSubjectAccessReview" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SelfSubjectAccessReview" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SelfSubjectRulesReview" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1"."SubjectAccessReview" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."LocalSubjectAccessReview" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" - "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SelfSubjectAccessReview" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SelfSubjectRulesReview" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "authorization.k8s.io"."v1beta1"."SubjectAccessReview" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1beta1")); - default = { }; - }; - "autoscaling"."v1"."HorizontalPodAutoscaler" = mkOption { - description = "configuration of a horizontal pod autoscaler."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v1")); - default = { }; - }; - "autoscaling"."v2beta1"."HorizontalPodAutoscaler" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta1")); - default = { }; - }; - "autoscaling"."v2beta2"."HorizontalPodAutoscaler" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2")); - default = { }; - }; - "batch"."v1"."CronJob" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.CronJob" "cronjobs" "CronJob" "batch" "v1")); - default = { }; - }; - "batch"."v1"."Job" = mkOption { - description = "Job represents the configuration of a single job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1")); - default = { }; - }; - "batch"."v1beta1"."CronJob" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" - "v1beta1")); - default = { }; - }; - "certificates.k8s.io"."v1"."CertificateSigningRequest" = mkOption { - description = '' - CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + "admissionregistration.k8s.io" "v1beta1"); + default = {}; + }; + "admissionregistration.k8s.io"."v1beta1"."ValidatingWebhookConfiguration" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1beta1"); + default = {}; + }; + "internal.apiserver.k8s.io"."v1alpha1"."StorageVersion" = mkOption { + description = "\n Storage version of a specific resource."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "apps"."v1"."ControllerRevision" = mkOption { + description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" + "ControllerRevision" "apps" "v1"); + default = {}; + }; + "apps"."v1"."DaemonSet" = mkOption { + description = "DaemonSet represents the configuration of a daemon set."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."Deployment" = mkOption { + description = "Deployment enables declarative updates for Pods and ReplicaSets."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."ReplicaSet" = mkOption { + description = "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" + "v1"); + default = {}; + }; + "apps"."v1"."StatefulSet" = mkOption { + description = '' + StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" + "apps" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1"."TokenRequest" = mkOption { + description = "TokenRequest requests a token for a given service account."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" + "authentication.k8s.io" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1"."TokenReview" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1"); + default = {}; + }; + "authentication.k8s.io"."v1beta1"."TokenReview" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1beta1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1"."LocalSubjectAccessReview" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SelfSubjectAccessReview" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SelfSubjectRulesReview" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1"."SubjectAccessReview" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."LocalSubjectAccessReview" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" + "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SelfSubjectAccessReview" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SelfSubjectRulesReview" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "authorization.k8s.io"."v1beta1"."SubjectAccessReview" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1beta1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1beta1"); + default = {}; + }; + "autoscaling"."v1"."HorizontalPodAutoscaler" = mkOption { + description = "configuration of a horizontal pod autoscaler."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v1"); + default = {}; + }; + "autoscaling"."v2beta1"."HorizontalPodAutoscaler" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta1"); + default = {}; + }; + "autoscaling"."v2beta2"."HorizontalPodAutoscaler" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2"); + default = {}; + }; + "batch"."v1"."CronJob" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.CronJob" "cronjobs" "CronJob" "batch" "v1"); + default = {}; + }; + "batch"."v1"."Job" = mkOption { + description = "Job represents the configuration of a single job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1"); + default = {}; + }; + "batch"."v1beta1"."CronJob" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1beta1.CronJob" "cronjobs" "CronJob" "batch" + "v1beta1"); + default = {}; + }; + "certificates.k8s.io"."v1"."CertificateSigningRequest" = mkOption { + description = '' + CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. - Kubelets use this API to obtain: - 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). - 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). - This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1")); - default = { }; - }; - "certificates.k8s.io"."v1beta1"."CertificateSigningRequest" = mkOption { - description = "Describes a certificate signing request"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" - "v1beta1")); - default = { }; - }; - "coordination.k8s.io"."v1"."Lease" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1")); - default = { }; - }; - "coordination.k8s.io"."v1beta1"."Lease" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1beta1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1beta1")); - default = { }; - }; - "core"."v1"."Binding" = mkOption { - description = - "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1")); - default = { }; - }; - "core"."v1"."ConfigMap" = mkOption { - description = "ConfigMap holds configuration data for pods to consume."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" - "v1")); - default = { }; - }; - "core"."v1"."Endpoints" = mkOption { - description = '' - Endpoints is a collection of endpoints that implement the actual service. Example: - Name: "mysvc", - Subsets: [ - { - Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], - Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] - }, - { - Addresses: [{"ip": "10.10.3.3"}], - Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] - }, - ]''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" - "v1")); - default = { }; - }; - "core"."v1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1")); - default = { }; - }; - "core"."v1"."LimitRange" = mkOption { - description = - "LimitRange sets resource usage limits for each kind of resource in a Namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" - "v1")); - default = { }; - }; - "core"."v1"."Namespace" = mkOption { - description = - "Namespace provides a scope for Names. Use of multiple namespaces is optional."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" - "v1")); - default = { }; - }; - "core"."v1"."Node" = mkOption { - description = - "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1")); - default = { }; - }; - "core"."v1"."PersistentVolume" = mkOption { - description = - "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" - "PersistentVolume" "core" "v1")); - default = { }; - }; - "core"."v1"."PersistentVolumeClaim" = mkOption { - description = - "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" - "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1")); - default = { }; - }; - "core"."v1"."Pod" = mkOption { - description = - "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1")); - default = { }; - }; - "core"."v1"."PodTemplate" = mkOption { - description = "PodTemplate describes a template for creating copies of a predefined pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" - "core" "v1")); - default = { }; - }; - "core"."v1"."ReplicationController" = mkOption { - description = - "ReplicationController represents the configuration of a replication controller."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" - "replicationcontrollers" "ReplicationController" "core" "v1")); - default = { }; - }; - "core"."v1"."ResourceQuota" = mkOption { - description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" - "ResourceQuota" "core" "v1")); - default = { }; - }; - "core"."v1"."Secret" = mkOption { - description = - "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1")); - default = { }; - }; - "core"."v1"."Service" = mkOption { - description = - "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1")); - default = { }; - }; - "core"."v1"."ServiceAccount" = mkOption { - description = - "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" - "ServiceAccount" "core" "v1")); - default = { }; - }; - "discovery.k8s.io"."v1"."EndpointSlice" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1")); - default = { }; - }; - "discovery.k8s.io"."v1beta1"."EndpointSlice" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1beta1")); - default = { }; - }; - "events.k8s.io"."v1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.events.v1.Event" "events" "Event" "events.k8s.io" - "v1")); - default = { }; - }; - "events.k8s.io"."v1beta1"."Event" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.events.v1beta1.Event" "events" "Event" "events.k8s.io" - "v1beta1")); - default = { }; - }; - "extensions"."v1beta1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.extensions.v1beta1.Ingress" "ingresses" "Ingress" - "extensions" "v1beta1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1beta1"."FlowSchema" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "flowcontrol.apiserver.k8s.io"."v1beta1"."PriorityLevelConfiguration" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "networking.k8s.io"."v1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1"."IngressClass" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1"."NetworkPolicy" = mkOption { - description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" - "NetworkPolicy" "networking.k8s.io" "v1")); - default = { }; - }; - "networking.k8s.io"."v1beta1"."Ingress" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1beta1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1beta1")); - default = { }; - }; - "networking.k8s.io"."v1beta1"."IngressClass" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1beta1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1beta1")); - default = { }; - }; - "node.k8s.io"."v1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" - "node.k8s.io" "v1")); - default = { }; - }; - "node.k8s.io"."v1alpha1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1alpha1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1alpha1")); - default = { }; - }; - "node.k8s.io"."v1beta1"."RuntimeClass" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" - "RuntimeClass" "node.k8s.io" "v1beta1")); - default = { }; - }; - "policy"."v1"."PodDisruptionBudget" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1.PodDisruptionBudget" "poddisruptionbudgets" - "PodDisruptionBudget" "policy" "v1")); - default = { }; - }; - "policy"."v1beta1"."Eviction" = mkOption { - description = - "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" - "policy" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."PodDisruptionBudget" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" - "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1")); - default = { }; - }; - "policy"."v1beta1"."PodSecurityPolicy" = mkOption { - description = - "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" - "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRole" "clusterroles" - "ClusterRole" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" - "clusterrolebindings" "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1alpha1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.RoleBinding" "rolebindings" - "RoleBinding" "rbac.authorization.k8s.io" "v1alpha1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."ClusterRole" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."ClusterRoleBinding" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."Role" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1beta1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "rbac.authorization.k8s.io"."v1beta1"."RoleBinding" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1beta1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1beta1")); - default = { }; - }; - "scheduling.k8s.io"."v1"."PriorityClass" = mkOption { - description = - "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1")); - default = { }; - }; - "scheduling.k8s.io"."v1alpha1"."PriorityClass" = mkOption { - description = - "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1alpha1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1alpha1")); - default = { }; - }; - "scheduling.k8s.io"."v1beta1"."PriorityClass" = mkOption { - description = - "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1beta1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1"."CSIDriver" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."CSINode" = mkOption { - description = - "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."StorageClass" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1"); + default = {}; + }; + "certificates.k8s.io"."v1beta1"."CertificateSigningRequest" = mkOption { + description = "Describes a certificate signing request"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" + "v1beta1"); + default = {}; + }; + "coordination.k8s.io"."v1"."Lease" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1"); + default = {}; + }; + "coordination.k8s.io"."v1beta1"."Lease" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1beta1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1beta1"); + default = {}; + }; + "core"."v1"."Binding" = mkOption { + description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1"); + default = {}; + }; + "core"."v1"."ConfigMap" = mkOption { + description = "ConfigMap holds configuration data for pods to consume."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" + "v1"); + default = {}; + }; + "core"."v1"."Endpoints" = mkOption { + description = '' + Endpoints is a collection of endpoints that implement the actual service. Example: + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ]''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" + "v1"); + default = {}; + }; + "core"."v1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1"); + default = {}; + }; + "core"."v1"."LimitRange" = mkOption { + description = "LimitRange sets resource usage limits for each kind of resource in a Namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" + "v1"); + default = {}; + }; + "core"."v1"."Namespace" = mkOption { + description = "Namespace provides a scope for Names. Use of multiple namespaces is optional."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" + "v1"); + default = {}; + }; + "core"."v1"."Node" = mkOption { + description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1"); + default = {}; + }; + "core"."v1"."PersistentVolume" = mkOption { + description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" + "PersistentVolume" "core" "v1"); + default = {}; + }; + "core"."v1"."PersistentVolumeClaim" = mkOption { + description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" + "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1"); + default = {}; + }; + "core"."v1"."Pod" = mkOption { + description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1"); + default = {}; + }; + "core"."v1"."PodTemplate" = mkOption { + description = "PodTemplate describes a template for creating copies of a predefined pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" + "core" "v1"); + default = {}; + }; + "core"."v1"."ReplicationController" = mkOption { + description = "ReplicationController represents the configuration of a replication controller."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" + "replicationcontrollers" "ReplicationController" "core" "v1"); + default = {}; + }; + "core"."v1"."ResourceQuota" = mkOption { + description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" + "ResourceQuota" "core" "v1"); + default = {}; + }; + "core"."v1"."Secret" = mkOption { + description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1"); + default = {}; + }; + "core"."v1"."Service" = mkOption { + description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1"); + default = {}; + }; + "core"."v1"."ServiceAccount" = mkOption { + description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" + "ServiceAccount" "core" "v1"); + default = {}; + }; + "discovery.k8s.io"."v1"."EndpointSlice" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1"); + default = {}; + }; + "discovery.k8s.io"."v1beta1"."EndpointSlice" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1beta1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1beta1"); + default = {}; + }; + "events.k8s.io"."v1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.events.v1.Event" "events" "Event" "events.k8s.io" + "v1"); + default = {}; + }; + "events.k8s.io"."v1beta1"."Event" = mkOption { + description = "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.events.v1beta1.Event" "events" "Event" "events.k8s.io" + "v1beta1"); + default = {}; + }; + "extensions"."v1beta1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.extensions.v1beta1.Ingress" "ingresses" "Ingress" + "extensions" "v1beta1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1beta1"."FlowSchema" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "flowcontrol.apiserver.k8s.io"."v1beta1"."PriorityLevelConfiguration" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "networking.k8s.io"."v1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1"."IngressClass" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1"."NetworkPolicy" = mkOption { + description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" + "NetworkPolicy" "networking.k8s.io" "v1"); + default = {}; + }; + "networking.k8s.io"."v1beta1"."Ingress" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1beta1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1beta1"); + default = {}; + }; + "networking.k8s.io"."v1beta1"."IngressClass" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1beta1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1beta1"); + default = {}; + }; + "node.k8s.io"."v1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" + "node.k8s.io" "v1"); + default = {}; + }; + "node.k8s.io"."v1alpha1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1alpha1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1alpha1"); + default = {}; + }; + "node.k8s.io"."v1beta1"."RuntimeClass" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1beta1.RuntimeClass" "runtimeclasses" + "RuntimeClass" "node.k8s.io" "v1beta1"); + default = {}; + }; + "policy"."v1"."PodDisruptionBudget" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1.PodDisruptionBudget" "poddisruptionbudgets" + "PodDisruptionBudget" "policy" "v1"); + default = {}; + }; + "policy"."v1beta1"."Eviction" = mkOption { + description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" + "policy" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."PodDisruptionBudget" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodDisruptionBudget" + "poddisruptionbudgets" "PodDisruptionBudget" "policy" "v1beta1"); + default = {}; + }; + "policy"."v1beta1"."PodSecurityPolicy" = mkOption { + description = "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRole" "clusterroles" + "ClusterRole" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" + "clusterrolebindings" "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1alpha1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1alpha1.RoleBinding" "rolebindings" + "RoleBinding" "rbac.authorization.k8s.io" "v1alpha1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."ClusterRole" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."ClusterRoleBinding" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."Role" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1beta1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "rbac.authorization.k8s.io"."v1beta1"."RoleBinding" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1beta1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1beta1"); + default = {}; + }; + "scheduling.k8s.io"."v1"."PriorityClass" = mkOption { + description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1"); + default = {}; + }; + "scheduling.k8s.io"."v1alpha1"."PriorityClass" = mkOption { + description = "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1alpha1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1alpha1"); + default = {}; + }; + "scheduling.k8s.io"."v1beta1"."PriorityClass" = mkOption { + description = "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1beta1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1"."CSIDriver" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."CSINode" = mkOption { + description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."StorageClass" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1")); - default = { }; - }; - "storage.k8s.io"."v1alpha1"."CSIStorageCapacity" = mkOption { - description = '' - CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1"); + default = {}; + }; + "storage.k8s.io"."v1alpha1"."CSIStorageCapacity" = mkOption { + description = '' + CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. - For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" + For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" - The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero + The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero - The producer of these objects can decide which approach is more suitable. + The producer of these objects can decide which approach is more suitable. - They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1alpha1.CSIStorageCapacity" - "csistoragecapacities" "CSIStorageCapacity" "storage.k8s.io" "v1alpha1")); - default = { }; - }; - "storage.k8s.io"."v1alpha1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1alpha1.CSIStorageCapacity" + "csistoragecapacities" "CSIStorageCapacity" "storage.k8s.io" "v1alpha1"); + default = {}; + }; + "storage.k8s.io"."v1alpha1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1alpha1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1alpha1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSIDriver" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSINode" = mkOption { - description = - "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."CSIStorageCapacity" = mkOption { - description = '' - CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1alpha1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1alpha1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSIDriver" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSINode" = mkOption { + description = "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."CSIStorageCapacity" = mkOption { + description = '' + CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. - For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" + For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" - The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero + The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero - The producer of these objects can decide which approach is more suitable. + The producer of these objects can decide which approach is more suitable. - They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIStorageCapacity" - "csistoragecapacities" "CSIStorageCapacity" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."StorageClass" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIStorageCapacity" + "csistoragecapacities" "CSIStorageCapacity" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."StorageClass" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "storage.k8s.io"."v1beta1"."VolumeAttachment" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "storage.k8s.io"."v1beta1"."VolumeAttachment" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "apiextensions.k8s.io"."v1"."CustomResourceDefinition" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1")); - default = { }; - }; - "apiextensions.k8s.io"."v1beta1"."CustomResourceDefinition" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1beta1")); - default = { }; - }; - "apiregistration.k8s.io"."v1"."APIService" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - "apiservices" "APIService" "apiregistration.k8s.io" "v1")); - default = { }; - }; - "apiregistration.k8s.io"."v1beta1"."APIService" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" "apiservices" - "APIService" "apiregistration.k8s.io" "v1beta1")); - default = { }; - }; + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "apiextensions.k8s.io"."v1"."CustomResourceDefinition" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1"); + default = {}; + }; + "apiextensions.k8s.io"."v1beta1"."CustomResourceDefinition" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1beta1"); + default = {}; + }; + "apiregistration.k8s.io"."v1"."APIService" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "apiservices" "APIService" "apiregistration.k8s.io" "v1"); + default = {}; + }; + "apiregistration.k8s.io"."v1beta1"."APIService" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = types.attrsOf (submoduleForDefinition + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" "apiservices" + "APIService" "apiregistration.k8s.io" "v1beta1"); + default = {}; + }; + } + // { + "APIServices" = mkOption { + description = '' + APIService represents a server for a particular GroupVersion. Name must be "version.group".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + "apiservices" "APIService" "apiregistration.k8s.io" "v1"); + default = {}; + }; + "bindings" = mkOption { + description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1"); + default = {}; + }; + "cSIDrivers" = mkOption { + description = "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" + "storage.k8s.io" "v1"); + default = {}; + }; + "cSINodes" = mkOption { + description = "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" + "storage.k8s.io" "v1"); + default = {}; + }; + "cSIStorageCapacities" = mkOption { + description = '' + CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. - } // { - "APIServices" = mkOption { - description = '' - APIService represents a server for a particular GroupVersion. Name must be "version.group".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - "apiservices" "APIService" "apiregistration.k8s.io" "v1")); - default = { }; - }; - "bindings" = mkOption { - description = - "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Binding" "bindings" "Binding" "core" "v1")); - default = { }; - }; - "cSIDrivers" = mkOption { - description = - "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSIDriver" "csidrivers" "CSIDriver" - "storage.k8s.io" "v1")); - default = { }; - }; - "cSINodes" = mkOption { - description = - "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.CSINode" "csinodes" "CSINode" - "storage.k8s.io" "v1")); - default = { }; - }; - "cSIStorageCapacities" = mkOption { - description = '' - CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. + For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" - For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" + The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero - The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero + The producer of these objects can decide which approach is more suitable. - The producer of these objects can decide which approach is more suitable. + They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIStorageCapacity" + "csistoragecapacities" "CSIStorageCapacity" "storage.k8s.io" "v1beta1"); + default = {}; + }; + "certificateSigningRequests" = mkOption { + description = '' + CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. - They are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1beta1.CSIStorageCapacity" - "csistoragecapacities" "CSIStorageCapacity" "storage.k8s.io" "v1beta1")); - default = { }; - }; - "certificateSigningRequests" = mkOption { - description = '' - CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). - Kubelets use this API to obtain: - 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). - 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" + "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1"); + default = {}; + }; + "clusterRoles" = mkOption { + description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "clusterRoleBindings" = mkOption { + description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" + "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "configMaps" = mkOption { + description = "ConfigMap holds configuration data for pods to consume."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" + "v1"); + default = {}; + }; + "controllerRevisions" = mkOption { + description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" + "ControllerRevision" "apps" "v1"); + default = {}; + }; + "cronJobs" = mkOption { + description = "CronJob represents the configuration of a single cron job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.CronJob" "cronjobs" "CronJob" "batch" "v1"); + default = {}; + }; + "customResourceDefinitions" = mkOption { + description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1"); + default = {}; + }; + "daemonSets" = mkOption { + description = "DaemonSet represents the configuration of a daemon set."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" + "v1"); + default = {}; + }; + "deployments" = mkOption { + description = "Deployment enables declarative updates for Pods and ReplicaSets."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" + "v1"); + default = {}; + }; + "endpointSlices" = mkOption { + description = "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.discovery.v1.EndpointSlice" "endpointslices" + "EndpointSlice" "discovery.k8s.io" "v1"); + default = {}; + }; + "endpoints" = mkOption { + description = '' + Endpoints is a collection of endpoints that implement the actual service. Example: + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ]''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" + "v1"); + default = {}; + }; + "events" = mkOption { + description = "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1"); + default = {}; + }; + "eviction" = mkOption { + description = "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" + "policy" "v1beta1"); + default = {}; + }; + "flowSchemas" = mkOption { + description = '' + FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" + "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "horizontalPodAutoscalers" = mkOption { + description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2"); + default = {}; + }; + "ingresses" = mkOption { + description = "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" + "networking.k8s.io" "v1"); + default = {}; + }; + "ingressClasses" = mkOption { + description = "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" + "IngressClass" "networking.k8s.io" "v1"); + default = {}; + }; + "jobs" = mkOption { + description = "Job represents the configuration of a single job."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1"); + default = {}; + }; + "leases" = mkOption { + description = "Lease defines a lease concept."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" + "coordination.k8s.io" "v1"); + default = {}; + }; + "limitRanges" = mkOption { + description = "LimitRange sets resource usage limits for each kind of resource in a Namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" + "v1"); + default = {}; + }; + "localSubjectAccessReviews" = mkOption { + description = "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "mutatingWebhookConfigurations" = mkOption { + description = "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "namespaces" = mkOption { + description = "Namespace provides a scope for Names. Use of multiple namespaces is optional."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" + "v1"); + default = {}; + }; + "networkPolicies" = mkOption { + description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" + "NetworkPolicy" "networking.k8s.io" "v1"); + default = {}; + }; + "nodes" = mkOption { + description = "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1"); + default = {}; + }; + "persistentVolumes" = mkOption { + description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" + "PersistentVolume" "core" "v1"); + default = {}; + }; + "persistentVolumeClaims" = mkOption { + description = "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" + "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1"); + default = {}; + }; + "pods" = mkOption { + description = "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1"); + default = {}; + }; + "podDisruptionBudgets" = mkOption { + description = "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.policy.v1.PodDisruptionBudget" "poddisruptionbudgets" + "PodDisruptionBudget" "policy" "v1"); + default = {}; + }; + "podSecurityPolicies" = mkOption { + description = "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" + "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1"); + default = {}; + }; + "podTemplates" = mkOption { + description = "PodTemplate describes a template for creating copies of a predefined pod."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" + "core" "v1"); + default = {}; + }; + "priorityClasses" = mkOption { + description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" + "PriorityClass" "scheduling.k8s.io" "v1"); + default = {}; + }; + "priorityLevelConfigurations" = mkOption { + description = "PriorityLevelConfiguration represents the configuration of a priority level."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" + "prioritylevelconfigurations" "PriorityLevelConfiguration" + "flowcontrol.apiserver.k8s.io" "v1beta1"); + default = {}; + }; + "replicaSets" = mkOption { + description = "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" + "v1"); + default = {}; + }; + "replicationControllers" = mkOption { + description = "ReplicationController represents the configuration of a replication controller."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" + "replicationcontrollers" "ReplicationController" "core" "v1"); + default = {}; + }; + "resourceQuotas" = mkOption { + description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" + "ResourceQuota" "core" "v1"); + default = {}; + }; + "roles" = mkOption { + description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; + type = + types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "roleBindings" = mkOption { + description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" + "rbac.authorization.k8s.io" "v1"); + default = {}; + }; + "runtimeClasses" = mkOption { + description = "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" + "node.k8s.io" "v1"); + default = {}; + }; + "secrets" = mkOption { + description = "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1"); + default = {}; + }; + "selfSubjectAccessReviews" = mkOption { + description = '' + SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "selfSubjectRulesReviews" = mkOption { + description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "services" = mkOption { + description = "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1"); + default = {}; + }; + "serviceAccounts" = mkOption { + description = "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" + "ServiceAccount" "core" "v1"); + default = {}; + }; + "statefulSets" = mkOption { + description = '' + StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" + "apps" "v1"); + default = {}; + }; + "storageClasses" = mkOption { + description = '' + StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. - This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.certificates.v1.CertificateSigningRequest" - "certificatesigningrequests" "CertificateSigningRequest" "certificates.k8s.io" "v1")); - default = { }; - }; - "clusterRoles" = mkOption { - description = - "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRole" "clusterroles" "ClusterRole" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "clusterRoleBindings" = mkOption { - description = - "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.ClusterRoleBinding" "clusterrolebindings" - "ClusterRoleBinding" "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "configMaps" = mkOption { - description = "ConfigMap holds configuration data for pods to consume."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ConfigMap" "configmaps" "ConfigMap" "core" - "v1")); - default = { }; - }; - "controllerRevisions" = mkOption { - description = - "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ControllerRevision" "controllerrevisions" - "ControllerRevision" "apps" "v1")); - default = { }; - }; - "cronJobs" = mkOption { - description = "CronJob represents the configuration of a single cron job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.CronJob" "cronjobs" "CronJob" "batch" "v1")); - default = { }; - }; - "customResourceDefinitions" = mkOption { - description = - "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - "customresourcedefinitions" "CustomResourceDefinition" "apiextensions.k8s.io" "v1")); - default = { }; - }; - "daemonSets" = mkOption { - description = "DaemonSet represents the configuration of a daemon set."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.DaemonSet" "daemonsets" "DaemonSet" "apps" - "v1")); - default = { }; - }; - "deployments" = mkOption { - description = "Deployment enables declarative updates for Pods and ReplicaSets."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.Deployment" "deployments" "Deployment" "apps" - "v1")); - default = { }; - }; - "endpointSlices" = mkOption { - description = - "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.discovery.v1.EndpointSlice" "endpointslices" - "EndpointSlice" "discovery.k8s.io" "v1")); - default = { }; - }; - "endpoints" = mkOption { - description = '' - Endpoints is a collection of endpoints that implement the actual service. Example: - Name: "mysvc", - Subsets: [ - { - Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], - Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] - }, - { - Addresses: [{"ip": "10.10.3.3"}], - Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] - }, - ]''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Endpoints" "endpoints" "Endpoints" "core" - "v1")); - default = { }; - }; - "events" = mkOption { - description = - "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Event" "events" "Event" "core" "v1")); - default = { }; - }; - "eviction" = mkOption { - description = - "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1beta1.Eviction" "eviction" "Eviction" - "policy" "v1beta1")); - default = { }; - }; - "flowSchemas" = mkOption { - description = '' - FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.FlowSchema" "flowschemas" - "FlowSchema" "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "horizontalPodAutoscalers" = mkOption { - description = - "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - "horizontalpodautoscalers" "HorizontalPodAutoscaler" "autoscaling" "v2beta2")); - default = { }; - }; - "ingresses" = mkOption { - description = - "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.Ingress" "ingresses" "Ingress" - "networking.k8s.io" "v1")); - default = { }; - }; - "ingressClasses" = mkOption { - description = - "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.IngressClass" "ingressclasses" - "IngressClass" "networking.k8s.io" "v1")); - default = { }; - }; - "jobs" = mkOption { - description = "Job represents the configuration of a single job."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.batch.v1.Job" "jobs" "Job" "batch" "v1")); - default = { }; - }; - "leases" = mkOption { - description = "Lease defines a lease concept."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.coordination.v1.Lease" "leases" "Lease" - "coordination.k8s.io" "v1")); - default = { }; - }; - "limitRanges" = mkOption { - description = - "LimitRange sets resource usage limits for each kind of resource in a Namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.LimitRange" "limitranges" "LimitRange" "core" - "v1")); - default = { }; - }; - "localSubjectAccessReviews" = mkOption { - description = - "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.LocalSubjectAccessReview" - "localsubjectaccessreviews" "LocalSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "mutatingWebhookConfigurations" = mkOption { - description = - "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - "mutatingwebhookconfigurations" "MutatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "namespaces" = mkOption { - description = - "Namespace provides a scope for Names. Use of multiple namespaces is optional."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Namespace" "namespaces" "Namespace" "core" - "v1")); - default = { }; - }; - "networkPolicies" = mkOption { - description = "NetworkPolicy describes what network traffic is allowed for a set of Pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.networking.v1.NetworkPolicy" "networkpolicies" - "NetworkPolicy" "networking.k8s.io" "v1")); - default = { }; - }; - "nodes" = mkOption { - description = - "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd)."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Node" "nodes" "Node" "core" "v1")); - default = { }; - }; - "persistentVolumes" = mkOption { - description = - "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolume" "persistentvolumes" - "PersistentVolume" "core" "v1")); - default = { }; - }; - "persistentVolumeClaims" = mkOption { - description = - "PersistentVolumeClaim is a user's request for and claim to a persistent volume"; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.PersistentVolumeClaim" - "persistentvolumeclaims" "PersistentVolumeClaim" "core" "v1")); - default = { }; - }; - "pods" = mkOption { - description = - "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Pod" "pods" "Pod" "core" "v1")); - default = { }; - }; - "podDisruptionBudgets" = mkOption { - description = - "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.policy.v1.PodDisruptionBudget" "poddisruptionbudgets" - "PodDisruptionBudget" "policy" "v1")); - default = { }; - }; - "podSecurityPolicies" = mkOption { - description = - "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.policy.v1beta1.PodSecurityPolicy" - "podsecuritypolicies" "PodSecurityPolicy" "policy" "v1beta1")); - default = { }; - }; - "podTemplates" = mkOption { - description = "PodTemplate describes a template for creating copies of a predefined pod."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.PodTemplate" "podtemplates" "PodTemplate" - "core" "v1")); - default = { }; - }; - "priorityClasses" = mkOption { - description = - "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.scheduling.v1.PriorityClass" "priorityclasses" - "PriorityClass" "scheduling.k8s.io" "v1")); - default = { }; - }; - "priorityLevelConfigurations" = mkOption { - description = - "PriorityLevelConfiguration represents the configuration of a priority level."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - "prioritylevelconfigurations" "PriorityLevelConfiguration" - "flowcontrol.apiserver.k8s.io" "v1beta1")); - default = { }; - }; - "replicaSets" = mkOption { - description = - "ReplicaSet ensures that a specified number of pod replicas are running at any given time."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.ReplicaSet" "replicasets" "ReplicaSet" "apps" - "v1")); - default = { }; - }; - "replicationControllers" = mkOption { - description = - "ReplicationController represents the configuration of a replication controller."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.core.v1.ReplicationController" - "replicationcontrollers" "ReplicationController" "core" "v1")); - default = { }; - }; - "resourceQuotas" = mkOption { - description = "ResourceQuota sets aggregate quota restrictions enforced per namespace"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ResourceQuota" "resourcequotas" - "ResourceQuota" "core" "v1")); - default = { }; - }; - "roles" = mkOption { - description = - "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding."; - type = (types.attrsOf (submoduleForDefinition "io.k8s.api.rbac.v1.Role" "roles" "Role" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "roleBindings" = mkOption { - description = - "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.rbac.v1.RoleBinding" "rolebindings" "RoleBinding" - "rbac.authorization.k8s.io" "v1")); - default = { }; - }; - "runtimeClasses" = mkOption { - description = - "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.node.v1.RuntimeClass" "runtimeclasses" "RuntimeClass" - "node.k8s.io" "v1")); - default = { }; - }; - "secrets" = mkOption { - description = - "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Secret" "secrets" "Secret" "core" "v1")); - default = { }; - }; - "selfSubjectAccessReviews" = mkOption { - description = '' - SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectAccessReview" - "selfsubjectaccessreviews" "SelfSubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "selfSubjectRulesReviews" = mkOption { - description = - "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SelfSubjectRulesReview" - "selfsubjectrulesreviews" "SelfSubjectRulesReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "services" = mkOption { - description = - "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.Service" "services" "Service" "core" "v1")); - default = { }; - }; - "serviceAccounts" = mkOption { - description = - "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets"; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.core.v1.ServiceAccount" "serviceaccounts" - "ServiceAccount" "core" "v1")); - default = { }; - }; - "statefulSets" = mkOption { - description = '' - StatefulSet represents a set of pods with consistent identities. Identities are defined as: - - Network: A single stable DNS and hostname. - - Storage: As many VolumeClaims as requested. - The StatefulSet guarantees that a given network identity will always map to the same storage identity.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apps.v1.StatefulSet" "statefulsets" "StatefulSet" - "apps" "v1")); - default = { }; - }; - "storageClasses" = mkOption { - description = '' - StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" + "StorageClass" "storage.k8s.io" "v1"); + default = {}; + }; + "storageVersions" = mkOption { + description = "\n Storage version of a specific resource."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1"); + default = {}; + }; + "subjectAccessReviews" = mkOption { + description = "SubjectAccessReview checks whether or not a user or group can perform an action."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" + "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1"); + default = {}; + }; + "token" = mkOption { + description = "TokenRequest requests a token for a given service account."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" + "authentication.k8s.io" "v1"); + default = {}; + }; + "tokenReviews" = mkOption { + description = "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" + "TokenReview" "authentication.k8s.io" "v1"); + default = {}; + }; + "validatingWebhookConfigurations" = mkOption { + description = "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; + type = types.attrsOf (submoduleForDefinition + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" + "admissionregistration.k8s.io" "v1"); + default = {}; + }; + "volumeAttachments" = mkOption { + description = '' + VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.StorageClass" "storageclasses" - "StorageClass" "storage.k8s.io" "v1")); - default = { }; + VolumeAttachment objects are non-namespaced.''; + type = + types.attrsOf + (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" + "VolumeAttachment" "storage.k8s.io" "v1"); + default = {}; + }; }; - "storageVersions" = mkOption { - description = "\n Storage version of a specific resource."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - "storageversions" "StorageVersion" "internal.apiserver.k8s.io" "v1alpha1")); - default = { }; - }; - "subjectAccessReviews" = mkOption { - description = - "SubjectAccessReview checks whether or not a user or group can perform an action."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authorization.v1.SubjectAccessReview" - "subjectaccessreviews" "SubjectAccessReview" "authorization.k8s.io" "v1")); - default = { }; - }; - "token" = mkOption { - description = "TokenRequest requests a token for a given service account."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenRequest" "token" "TokenRequest" - "authentication.k8s.io" "v1")); - default = { }; - }; - "tokenReviews" = mkOption { - description = - "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver."; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.authentication.v1.TokenReview" "tokenreviews" - "TokenReview" "authentication.k8s.io" "v1")); - default = { }; - }; - "validatingWebhookConfigurations" = mkOption { - description = - "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it."; - type = (types.attrsOf (submoduleForDefinition - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - "validatingwebhookconfigurations" "ValidatingWebhookConfiguration" - "admissionregistration.k8s.io" "v1")); - default = { }; - }; - "volumeAttachments" = mkOption { - description = '' - VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. - - VolumeAttachment objects are non-namespaced.''; - type = (types.attrsOf - (submoduleForDefinition "io.k8s.api.storage.v1.VolumeAttachment" "volumeattachments" - "VolumeAttachment" "storage.k8s.io" "v1")); - default = { }; - }; - - }; }; config = { @@ -23761,7 +21184,6 @@ in mkAliasDefinitions options.resources."validatingWebhookConfigurations"; "storage.k8s.io"."v1"."VolumeAttachment" = mkAliasDefinitions options.resources."volumeAttachments"; - }; }; } diff --git a/modules/helm.nix b/modules/helm.nix index 4eac6c4..6e3460f 100644 --- a/modules/helm.nix +++ b/modules/helm.nix @@ -1,10 +1,13 @@ # helm defines kubenix module with options for using helm charts # with kubenix - -{ config, lib, pkgs, helm, ... }: - -with lib; -let +{ + config, + lib, + pkgs, + helm, + ... +}: +with lib; let cfg = config.kubernetes.helm; globalConfig = config; @@ -13,26 +16,29 @@ let name = "recursive-attrs"; description = "recursive attribute set"; check = isAttrs; - merge = loc: foldl' (res: def: recursiveUpdate res def.value) { }; + merge = loc: foldl' (res: def: recursiveUpdate res def.value) {}; }; - parseApiVersion = apiVersion: - let - splitted = splitString "/" apiVersion; - in - { - group = if length splitted == 1 then "core" else head splitted; - version = last splitted; - }; - -in -{ - imports = [ ./k8s.nix ]; + parseApiVersion = apiVersion: let + splitted = splitString "/" apiVersion; + in { + group = + if length splitted == 1 + then "core" + else head splitted; + version = last splitted; + }; +in { + imports = [./k8s.nix]; options.kubernetes.helm = { instances = mkOption { description = "Attribute set of helm instances"; - type = types.attrsOf (types.submodule ({ config, name, ... }: { + type = types.attrsOf (types.submodule ({ + config, + name, + ... + }: { options = { name = mkOption { description = "Helm release name"; @@ -54,7 +60,7 @@ in values = mkOption { description = "Values to pass to chart"; type = recursiveAttrs; - default = { }; + default = {}; }; kubeVersion = mkOption { @@ -66,7 +72,7 @@ in overrides = mkOption { description = "Overrides to apply to all chart resources"; type = types.listOf types.unspecified; - default = [ ]; + default = []; }; overrideNamespace = mkOption { @@ -78,39 +84,41 @@ in objects = mkOption { description = "Generated kubernetes objects"; type = types.listOf types.attrs; - default = [ ]; + default = []; }; }; - config.overrides = mkIf (config.overrideNamespace && config.namespace != null) [{ - metadata.namespace = config.namespace; - }]; + config.overrides = mkIf (config.overrideNamespace && config.namespace != null) [ + { + metadata.namespace = config.namespace; + } + ]; config.objects = importJSON (helm.chart2json { inherit (config) chart name namespace values kubeVersion; }); })); - default = { }; + default = {}; }; }; config = { # expose helm helper methods as module argument - _module.args.helm = import ../lib/helm { inherit pkgs; }; + _module.args.helm = import ../lib/helm {inherit pkgs;}; kubernetes.api.resources = mkMerge (flatten (mapAttrsToList - (_: instance: - map - (object: - let - apiVersion = parseApiVersion object.apiVersion; - name = object.metadata.name; - in - { - "${apiVersion.group}"."${apiVersion.version}".${object.kind}."${name}" = mkMerge ([ + ( + _: instance: + map + (object: let + apiVersion = parseApiVersion object.apiVersion; + name = object.metadata.name; + in { + "${apiVersion.group}"."${apiVersion.version}".${object.kind}."${name}" = mkMerge ([ object - ] ++ instance.overrides); - }) + ] + ++ instance.overrides); + }) instance.objects ) cfg.instances)); diff --git a/modules/istio-overrides.nix b/modules/istio-overrides.nix index 77e77d7..6d79976 100644 --- a/modules/istio-overrides.nix +++ b/modules/istio-overrides.nix @@ -1,16 +1,19 @@ -{ lib, definitions }: - -with lib; - { - "istio_networking_v1alpha3_StringMatch" = recursiveUpdate - (recursiveUpdate + lib, + definitions, +}: +with lib; { + "istio_networking_v1alpha3_StringMatch" = + recursiveUpdate + ( + recursiveUpdate definitions."istio_networking_v1alpha3_StringMatch_Exact" definitions."istio_networking_v1alpha3_StringMatch_Prefix" ) definitions."istio_networking_v1alpha3_StringMatch_Regex"; - "istio_networking_v1alpha3_PortSelector" = recursiveUpdate + "istio_networking_v1alpha3_PortSelector" = + recursiveUpdate definitions."istio_networking_v1alpha3_PortSelector_Name" definitions."istio_networking_v1alpha3_PortSelector_Number"; } diff --git a/modules/istio.nix b/modules/istio.nix index da10795..1f269b7 100644 --- a/modules/istio.nix +++ b/modules/istio.nix @@ -1,52 +1,55 @@ # This file was generated with kubenix k8s generator, do not edit -{ lib, config, ... }: - -with lib; -let - types = lib.types // rec { - str = mkOptionType { - name = "str"; - description = "string"; - check = isString; - merge = mergeEqualOption; - }; - - # Either value of type `finalType` or `coercedType`, the latter is - # converted to `finalType` using `coerceFunc`. - coercedTo = coercedType: coerceFunc: finalType: - mkOptionType rec { - name = "coercedTo"; - description = "${finalType.description} or ${coercedType.description}"; - check = x: finalType.check x || coercedType.check x; - merge = loc: defs: - let - coerceVal = val: - if finalType.check val then val - else - let - coerced = coerceFunc val; - in - assert finalType.check coerced; coerced; - - in - finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); - getSubOptions = finalType.getSubOptions; - getSubModules = finalType.getSubModules; - substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); - typeMerge = t1: t2: null; - functor = (defaultFunctor name) // { wrapped = finalType; }; +{ + lib, + config, + ... +}: +with lib; let + types = + lib.types + // rec { + str = mkOptionType { + name = "str"; + description = "string"; + check = isString; + merge = mergeEqualOption; }; - }; + + # Either value of type `finalType` or `coercedType`, the latter is + # converted to `finalType` using `coerceFunc`. + coercedTo = coercedType: coerceFunc: finalType: + mkOptionType rec { + name = "coercedTo"; + description = "${finalType.description} or ${coercedType.description}"; + check = x: finalType.check x || coercedType.check x; + merge = loc: defs: let + coerceVal = val: + if finalType.check val + then val + else let + coerced = coerceFunc val; + in + assert finalType.check coerced; coerced; + in + finalType.merge loc (map (def: def // {value = coerceVal def.value;}) defs); + getSubOptions = finalType.getSubOptions; + getSubModules = finalType.getSubModules; + substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); + typeMerge = t1: t2: null; + functor = (defaultFunctor name) // {wrapped = finalType;}; + }; + }; mkOptionDefault = mkOverride 1001; extraOptions = { - kubenix = { }; + kubenix = {}; }; mergeValuesByKey = mergeKey: values: listToAttrs (map - (value: nameValuePair + (value: + nameValuePair ( if isAttrs value.${mergeKey} then toString value.${mergeKey}.content @@ -55,4657 +58,4659 @@ let value) values); - submoduleOf = ref: types.submodule ({ name, ... }: { - options = definitions."${ref}".options; - config = definitions."${ref}".config; - }); - - submoduleWithMergeOf = ref: mergeKey: types.submodule ({ name, ... }: - let - convertName = name: - if definitions."${ref}".options.${mergeKey}.type == types.int - then toInt name - else name; - in - { + submoduleOf = ref: + types.submodule ({name, ...}: { options = definitions."${ref}".options; - config = definitions."${ref}".config // { + config = definitions."${ref}".config; + }); + + submoduleWithMergeOf = ref: mergeKey: types.submodule ({name, ...}: let + convertName = name: + if definitions."${ref}".options.${mergeKey}.type == types.int + then toInt name + else name; + in { + options = definitions."${ref}".options; + config = + definitions."${ref}".config + // { ${mergeKey} = mkOverride 1002 (convertName name); }; - }); + }); submoduleForDefinition = ref: resource: kind: group: version: - types.submodule ({ name, ... }: { + types.submodule ({name, ...}: { options = definitions."${ref}".options // extraOptions; config = mkMerge ([ - definitions."${ref}".config - { - kind = mkOptionDefault kind; - apiVersion = mkOptionDefault version; + definitions."${ref}".config + { + kind = mkOptionDefault kind; + apiVersion = mkOptionDefault version; - # metdata.name cannot use option default, due deep config - metadata.name = mkOptionDefault name; - } - ] ++ (config.defaults.${resource} or [ ]) - ++ (config.defaults.all or [ ])); + # metdata.name cannot use option default, due deep config + metadata.name = mkOptionDefault name; + } + ] + ++ (config.defaults.${resource} or []) + ++ (config.defaults.all or [])); }); - coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: (types.coercedTo + coerceAttrsOfSubmodulesToListByKey = ref: mergeKey: ( + types.coercedTo (types.listOf (submoduleOf ref)) (mergeValuesByKey mergeKey) (types.attrsOf (submoduleWithMergeOf ref mergeKey)) ); - definitions = { + definitions = + { + "google_rpc_Status" = { + options = { + "code" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "google_rpc_Status" = { - options = { - "code" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; - - "details" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "protobuf_types_Any"))); - }; + "details" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "protobuf_types_Any")); + }; - "message" = mkOption { - description = ""; - type = (types.nullOr types.str); + "message" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "code" = mkOverride 1002 null; + config = { + "code" = mkOverride 1002 null; - "details" = mkOverride 1002 null; + "details" = mkOverride 1002 null; - "message" = mkOverride 1002 null; + "message" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_bypass_Params" = { - options = { - "backendAddress" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_bypass_Params" = { + options = { + "backendAddress" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "params" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Any")); - }; + "params" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Any"); + }; - "sessionBased" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "sessionBased" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "backendAddress" = mkOverride 1002 null; + config = { + "backendAddress" = mkOverride 1002 null; - "params" = mkOverride 1002 null; + "params" = mkOverride 1002 null; - "sessionBased" = mkOverride 1002 null; + "sessionBased" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_circonus_Params" = { - options = { - "metrics" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_circonus_Params_MetricInfo"))); - }; + "istio_adapter_circonus_Params" = { + options = { + "metrics" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_circonus_Params_MetricInfo")); + }; - "submissionInterval" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "submissionInterval" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "submissionUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); + "submissionUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "metrics" = mkOverride 1002 null; + config = { + "metrics" = mkOverride 1002 null; - "submissionInterval" = mkOverride 1002 null; + "submissionInterval" = mkOverride 1002 null; - "submissionUrl" = mkOverride 1002 null; + "submissionUrl" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_circonus_Params_MetricInfo" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_circonus_Params_MetricInfo" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "type" = mkOption { - description = ""; - type = types.unspecified; + "type" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "type" = mkOverride 1002 null; + "type" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_denier_Params" = { - options = { - "status" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "google_rpc_Status")); - }; + "istio_adapter_denier_Params" = { + options = { + "status" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "google_rpc_Status"); + }; - "validDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "validDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "validUseCount" = mkOption { - description = ""; - type = (types.nullOr types.int); + "validUseCount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "status" = mkOverride 1002 null; + config = { + "status" = mkOverride 1002 null; - "validDuration" = mkOverride 1002 null; + "validDuration" = mkOverride 1002 null; - "validUseCount" = mkOverride 1002 null; + "validUseCount" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_dogstatsd_Params" = { - options = { - "address" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_dogstatsd_Params" = { + options = { + "address" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "bufferLength" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "bufferLength" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "globalTags" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "globalTags" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "metrics" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "metrics" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "prefix" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "prefix" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sampleRate" = mkOption { - description = ""; - type = (types.nullOr types.int); + "sampleRate" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "address" = mkOverride 1002 null; + config = { + "address" = mkOverride 1002 null; - "bufferLength" = mkOverride 1002 null; + "bufferLength" = mkOverride 1002 null; - "globalTags" = mkOverride 1002 null; + "globalTags" = mkOverride 1002 null; - "metrics" = mkOverride 1002 null; + "metrics" = mkOverride 1002 null; - "prefix" = mkOverride 1002 null; + "prefix" = mkOverride 1002 null; - "sampleRate" = mkOverride 1002 null; + "sampleRate" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_dogstatsd_Params_MetricInfo" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_dogstatsd_Params_MetricInfo" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "tags" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "tags" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "type" = mkOption { - description = ""; - type = types.unspecified; + "type" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "tags" = mkOverride 1002 null; + "tags" = mkOverride 1002 null; - "type" = mkOverride 1002 null; + "type" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_fluentd_Params" = { - options = { - "address" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_fluentd_Params" = { + options = { + "address" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "integerDuration" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "integerDuration" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "address" = mkOverride 1002 null; + config = { + "address" = mkOverride 1002 null; - "integerDuration" = mkOverride 1002 null; + "integerDuration" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_kubernetesenv_Params" = { - options = { - "cacheRefreshDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_kubernetesenv_Params" = { + options = { + "cacheRefreshDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "kubeconfigPath" = mkOption { - description = ""; - type = (types.nullOr types.str); + "kubeconfigPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "cacheRefreshDuration" = mkOverride 1002 null; + config = { + "cacheRefreshDuration" = mkOverride 1002 null; - "kubeconfigPath" = mkOverride 1002 null; + "kubeconfigPath" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_list_Params" = { - options = { - "blacklist" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "istio_adapter_list_Params" = { + options = { + "blacklist" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "cachingInterval" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "cachingInterval" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "cachingUseCount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "cachingUseCount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "entryType" = mkOption { - description = ""; - type = types.unspecified; - }; + "entryType" = mkOption { + description = ""; + type = types.unspecified; + }; - "overrides" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "overrides" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "providerUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "providerUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "refreshInterval" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "refreshInterval" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "ttl" = mkOption { - description = ""; - type = (types.nullOr types.int); + "ttl" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "blacklist" = mkOverride 1002 null; + config = { + "blacklist" = mkOverride 1002 null; - "cachingInterval" = mkOverride 1002 null; + "cachingInterval" = mkOverride 1002 null; - "cachingUseCount" = mkOverride 1002 null; + "cachingUseCount" = mkOverride 1002 null; - "entryType" = mkOverride 1002 null; + "entryType" = mkOverride 1002 null; - "overrides" = mkOverride 1002 null; + "overrides" = mkOverride 1002 null; - "providerUrl" = mkOverride 1002 null; + "providerUrl" = mkOverride 1002 null; - "refreshInterval" = mkOverride 1002 null; + "refreshInterval" = mkOverride 1002 null; - "ttl" = mkOverride 1002 null; + "ttl" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_memquota_Params" = { - options = { - "minDeduplicationDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_memquota_Params" = { + options = { + "minDeduplicationDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "quotas" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_memquota_Params_Quota"))); + "quotas" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_memquota_Params_Quota")); + }; }; - }; - config = { - "minDeduplicationDuration" = mkOverride 1002 null; + config = { + "minDeduplicationDuration" = mkOverride 1002 null; - "quotas" = mkOverride 1002 null; + "quotas" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_memquota_Params_Override" = { - options = { - "dimensions" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "istio_adapter_memquota_Params_Override" = { + options = { + "dimensions" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "maxAmount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "maxAmount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "validDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); + "validDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "dimensions" = mkOverride 1002 null; + config = { + "dimensions" = mkOverride 1002 null; - "maxAmount" = mkOverride 1002 null; + "maxAmount" = mkOverride 1002 null; - "validDuration" = mkOverride 1002 null; + "validDuration" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_memquota_Params_Quota" = { - options = { - "maxAmount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_memquota_Params_Quota" = { + options = { + "maxAmount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "overrides" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_memquota_Params_Override"))); - }; + "overrides" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_memquota_Params_Override")); + }; - "validDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); + "validDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "maxAmount" = mkOverride 1002 null; + config = { + "maxAmount" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "overrides" = mkOverride 1002 null; + "overrides" = mkOverride 1002 null; - "validDuration" = mkOverride 1002 null; + "validDuration" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_opa_Params" = { - options = { - "checkMethod" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_opa_Params" = { + options = { + "checkMethod" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "failClose" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "failClose" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "policy" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "policy" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "checkMethod" = mkOverride 1002 null; + config = { + "checkMethod" = mkOverride 1002 null; - "failClose" = mkOverride 1002 null; + "failClose" = mkOverride 1002 null; - "policy" = mkOverride 1002 null; + "policy" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params" = { - options = { - "metrics" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_prometheus_Params_MetricInfo"))); - }; + "istio_adapter_prometheus_Params" = { + options = { + "metrics" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_prometheus_Params_MetricInfo")); + }; - "metricsExpirationPolicy" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricsExpirationPolicy")); + "metricsExpirationPolicy" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricsExpirationPolicy"); + }; }; - }; - config = { - "metrics" = mkOverride 1002 null; + config = { + "metrics" = mkOverride 1002 null; - "metricsExpirationPolicy" = mkOverride 1002 null; + "metricsExpirationPolicy" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo" = { - options = { - "buckets" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition")); - }; + "istio_adapter_prometheus_Params_MetricInfo" = { + options = { + "buckets" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition"); + }; - "description" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "description" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "instanceName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "instanceName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "kind" = mkOption { - description = ""; - type = types.unspecified; - }; + "kind" = mkOption { + description = ""; + type = types.unspecified; + }; - "labelNames" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "labelNames" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "namespace" = mkOption { - description = ""; - type = (types.nullOr types.str); + "namespace" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "buckets" = mkOverride 1002 null; + config = { + "buckets" = mkOverride 1002 null; - "description" = mkOverride 1002 null; + "description" = mkOverride 1002 null; - "instanceName" = mkOverride 1002 null; + "instanceName" = mkOverride 1002 null; - "kind" = mkOverride 1002 null; + "kind" = mkOverride 1002 null; - "labelNames" = mkOverride 1002 null; + "labelNames" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "namespace" = mkOverride 1002 null; + "namespace" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition" = { - options = { - "definition" = mkOption { - description = ""; - type = types.unspecified; + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition" = { + options = { + "definition" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "definition" = mkOverride 1002 null; + config = { + "definition" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Explicit" = { - options = { - "bounds" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.int)); + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Explicit" = { + options = { + "bounds" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.int); + }; }; - }; - config = { - "bounds" = mkOverride 1002 null; + config = { + "bounds" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_ExplicitBuckets" = { - options = { - "explicitBuckets" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Explicit")); + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_ExplicitBuckets" = { + options = { + "explicitBuckets" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Explicit"); + }; }; - }; - config = { - "explicitBuckets" = mkOverride 1002 null; + config = { + "explicitBuckets" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Exponential" = { - options = { - "growthFactor" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Exponential" = { + options = { + "growthFactor" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "numFiniteBuckets" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "numFiniteBuckets" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "scale" = mkOption { - description = ""; - type = (types.nullOr types.int); + "scale" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "growthFactor" = mkOverride 1002 null; + config = { + "growthFactor" = mkOverride 1002 null; - "numFiniteBuckets" = mkOverride 1002 null; + "numFiniteBuckets" = mkOverride 1002 null; - "scale" = mkOverride 1002 null; + "scale" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_ExponentialBuckets" = { - options = { - "exponentialBuckets" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Exponential")); + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_ExponentialBuckets" = { + options = { + "exponentialBuckets" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Exponential"); + }; }; - }; - config = { - "exponentialBuckets" = mkOverride 1002 null; + config = { + "exponentialBuckets" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Linear" = { - options = { - "numFiniteBuckets" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Linear" = { + options = { + "numFiniteBuckets" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "offset" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "offset" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "width" = mkOption { - description = ""; - type = (types.nullOr types.int); + "width" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "numFiniteBuckets" = mkOverride 1002 null; + config = { + "numFiniteBuckets" = mkOverride 1002 null; - "offset" = mkOverride 1002 null; + "offset" = mkOverride 1002 null; - "width" = mkOverride 1002 null; + "width" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_LinearBuckets" = { - options = { - "linearBuckets" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Linear")); + "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_LinearBuckets" = { + options = { + "linearBuckets" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_prometheus_Params_MetricInfo_BucketsDefinition_Linear"); + }; }; - }; - config = { - "linearBuckets" = mkOverride 1002 null; + config = { + "linearBuckets" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_prometheus_Params_MetricsExpirationPolicy" = { - options = { - "expiryCheckIntervalDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_prometheus_Params_MetricsExpirationPolicy" = { + options = { + "expiryCheckIntervalDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "metricsExpiryDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); + "metricsExpiryDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "expiryCheckIntervalDuration" = mkOverride 1002 null; + config = { + "expiryCheckIntervalDuration" = mkOverride 1002 null; - "metricsExpiryDuration" = mkOverride 1002 null; + "metricsExpiryDuration" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_rbac_Params" = { - options = { - "cacheDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_rbac_Params" = { + options = { + "cacheDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "configStoreUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); + "configStoreUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "cacheDuration" = mkOverride 1002 null; + config = { + "cacheDuration" = mkOverride 1002 null; - "configStoreUrl" = mkOverride 1002 null; + "configStoreUrl" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_redisquota_Params" = { - options = { - "connectionPoolSize" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_redisquota_Params" = { + options = { + "connectionPoolSize" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "quotas" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_redisquota_Params_Quota"))); - }; + "quotas" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_redisquota_Params_Quota")); + }; - "redisServerUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); + "redisServerUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "connectionPoolSize" = mkOverride 1002 null; + config = { + "connectionPoolSize" = mkOverride 1002 null; - "quotas" = mkOverride 1002 null; + "quotas" = mkOverride 1002 null; - "redisServerUrl" = mkOverride 1002 null; + "redisServerUrl" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_redisquota_Params_Override" = { - options = { - "dimensions" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "istio_adapter_redisquota_Params_Override" = { + options = { + "dimensions" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "maxAmount" = mkOption { - description = ""; - type = (types.nullOr types.int); + "maxAmount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "dimensions" = mkOverride 1002 null; + config = { + "dimensions" = mkOverride 1002 null; - "maxAmount" = mkOverride 1002 null; + "maxAmount" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_redisquota_Params_Quota" = { - options = { - "bucketDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_redisquota_Params_Quota" = { + options = { + "bucketDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "maxAmount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "maxAmount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "overrides" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_redisquota_Params_Override"))); - }; + "overrides" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_redisquota_Params_Override")); + }; - "rateLimitAlgorithm" = mkOption { - description = ""; - type = types.unspecified; - }; + "rateLimitAlgorithm" = mkOption { + description = ""; + type = types.unspecified; + }; - "validDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); + "validDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "bucketDuration" = mkOverride 1002 null; + config = { + "bucketDuration" = mkOverride 1002 null; - "maxAmount" = mkOverride 1002 null; + "maxAmount" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "overrides" = mkOverride 1002 null; + "overrides" = mkOverride 1002 null; - "rateLimitAlgorithm" = mkOverride 1002 null; + "rateLimitAlgorithm" = mkOverride 1002 null; - "validDuration" = mkOverride 1002 null; + "validDuration" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_servicecontrol_GcpServiceSetting" = { - options = { - "googleServiceName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_servicecontrol_GcpServiceSetting" = { + options = { + "googleServiceName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "meshServiceName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "meshServiceName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "quotas" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_servicecontrol_Quota"))); + "quotas" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_servicecontrol_Quota")); + }; }; - }; - config = { - "googleServiceName" = mkOverride 1002 null; + config = { + "googleServiceName" = mkOverride 1002 null; - "meshServiceName" = mkOverride 1002 null; + "meshServiceName" = mkOverride 1002 null; - "quotas" = mkOverride 1002 null; + "quotas" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_servicecontrol_Params" = { - options = { - "credentialPath" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_servicecontrol_Params" = { + options = { + "credentialPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "runtimeConfig" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_servicecontrol_RuntimeConfig")); - }; + "runtimeConfig" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_servicecontrol_RuntimeConfig"); + }; - "serviceConfigs" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_servicecontrol_GcpServiceSetting"))); + "serviceConfigs" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_servicecontrol_GcpServiceSetting")); + }; }; - }; - config = { - "credentialPath" = mkOverride 1002 null; + config = { + "credentialPath" = mkOverride 1002 null; - "runtimeConfig" = mkOverride 1002 null; + "runtimeConfig" = mkOverride 1002 null; - "serviceConfigs" = mkOverride 1002 null; + "serviceConfigs" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_servicecontrol_Quota" = { - options = { - "expiration" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); - }; + "istio_adapter_servicecontrol_Quota" = { + options = { + "expiration" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; - "googleQuotaMetricName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "googleQuotaMetricName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "expiration" = mkOverride 1002 null; + config = { + "expiration" = mkOverride 1002 null; - "googleQuotaMetricName" = mkOverride 1002 null; + "googleQuotaMetricName" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_servicecontrol_RuntimeConfig" = { - options = { - "checkCacheSize" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_adapter_servicecontrol_RuntimeConfig" = { + options = { + "checkCacheSize" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "checkResultExpiration" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); + "checkResultExpiration" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; }; - }; - config = { - "checkCacheSize" = mkOverride 1002 null; + config = { + "checkCacheSize" = mkOverride 1002 null; - "checkResultExpiration" = mkOverride 1002 null; + "checkResultExpiration" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_signalfx_Params" = { - options = { - "accessToken" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_signalfx_Params" = { + options = { + "accessToken" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "datapointInterval" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "datapointInterval" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "ingestUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "ingestUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "metrics" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_adapter_signalfx_Params_MetricConfig"))); + "metrics" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_adapter_signalfx_Params_MetricConfig")); + }; }; - }; - config = { - "accessToken" = mkOverride 1002 null; + config = { + "accessToken" = mkOverride 1002 null; - "datapointInterval" = mkOverride 1002 null; + "datapointInterval" = mkOverride 1002 null; - "ingestUrl" = mkOverride 1002 null; + "ingestUrl" = mkOverride 1002 null; - "metrics" = mkOverride 1002 null; + "metrics" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_signalfx_Params_MetricConfig" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_signalfx_Params_MetricConfig" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "type" = mkOption { - description = ""; - type = types.unspecified; + "type" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "type" = mkOverride 1002 null; + "type" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_solarwinds_Params" = { - options = { - "appopticsAccessToken" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_solarwinds_Params" = { + options = { + "appopticsAccessToken" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "appopticsBatchSize" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "appopticsBatchSize" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "logs" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "logs" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "metrics" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "metrics" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "papertrailLocalRetentionDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "papertrailLocalRetentionDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "papertrailUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); + "papertrailUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "appopticsAccessToken" = mkOverride 1002 null; + config = { + "appopticsAccessToken" = mkOverride 1002 null; - "appopticsBatchSize" = mkOverride 1002 null; + "appopticsBatchSize" = mkOverride 1002 null; - "logs" = mkOverride 1002 null; + "logs" = mkOverride 1002 null; - "metrics" = mkOverride 1002 null; + "metrics" = mkOverride 1002 null; - "papertrailLocalRetentionDuration" = mkOverride 1002 null; + "papertrailLocalRetentionDuration" = mkOverride 1002 null; - "papertrailUrl" = mkOverride 1002 null; + "papertrailUrl" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_solarwinds_Params_LogInfo" = { - options = { - "payloadTemplate" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_adapter_solarwinds_Params_LogInfo" = { + options = { + "payloadTemplate" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "payloadTemplate" = mkOverride 1002 null; + config = { + "payloadTemplate" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_solarwinds_Params_MetricInfo" = { - options = { - "labelNames" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "istio_adapter_solarwinds_Params_MetricInfo" = { + options = { + "labelNames" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "labelNames" = mkOverride 1002 null; + config = { + "labelNames" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params" = { - options = { - "creds" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_adapter_stackdriver_Params" = { + options = { + "creds" = mkOption { + description = ""; + type = types.unspecified; + }; - "endpoint" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "endpoint" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "logInfo" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "logInfo" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "metricInfo" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "metricInfo" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "projectId" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "projectId" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "pushInterval" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "pushInterval" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "trace" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_Trace")); + "trace" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_Trace"); + }; }; - }; - config = { - "creds" = mkOverride 1002 null; + config = { + "creds" = mkOverride 1002 null; - "endpoint" = mkOverride 1002 null; + "endpoint" = mkOverride 1002 null; - "logInfo" = mkOverride 1002 null; + "logInfo" = mkOverride 1002 null; - "metricInfo" = mkOverride 1002 null; + "metricInfo" = mkOverride 1002 null; - "projectId" = mkOverride 1002 null; + "projectId" = mkOverride 1002 null; - "pushInterval" = mkOverride 1002 null; + "pushInterval" = mkOverride 1002 null; - "trace" = mkOverride 1002 null; + "trace" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_ApiKey" = { - options = { - "apiKey" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_adapter_stackdriver_Params_ApiKey" = { + options = { + "apiKey" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "apiKey" = mkOverride 1002 null; + config = { + "apiKey" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_AppCredentials" = { - options = { - "appCredentials" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "istio_adapter_stackdriver_Params_AppCredentials" = { + options = { + "appCredentials" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "appCredentials" = mkOverride 1002 null; + config = { + "appCredentials" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_LogInfo" = { - options = { - "httpMapping" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_LogInfo_HttpRequestMapping")); - }; + "istio_adapter_stackdriver_Params_LogInfo" = { + options = { + "httpMapping" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_LogInfo_HttpRequestMapping"); + }; - "labelNames" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "labelNames" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "payloadTemplate" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "payloadTemplate" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sinkInfo" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_LogInfo_SinkInfo")); + "sinkInfo" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_LogInfo_SinkInfo"); + }; }; - }; - config = { - "httpMapping" = mkOverride 1002 null; + config = { + "httpMapping" = mkOverride 1002 null; - "labelNames" = mkOverride 1002 null; + "labelNames" = mkOverride 1002 null; - "payloadTemplate" = mkOverride 1002 null; + "payloadTemplate" = mkOverride 1002 null; - "sinkInfo" = mkOverride 1002 null; + "sinkInfo" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_LogInfo_HttpRequestMapping" = { - options = { - "latency" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_stackdriver_Params_LogInfo_HttpRequestMapping" = { + options = { + "latency" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "localIp" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "localIp" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "method" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "method" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "referer" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "referer" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "remoteIp" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "remoteIp" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "requestSize" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "requestSize" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "responseSize" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "responseSize" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "status" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "status" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "url" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "url" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "userAgent" = mkOption { - description = ""; - type = (types.nullOr types.str); + "userAgent" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "latency" = mkOverride 1002 null; + config = { + "latency" = mkOverride 1002 null; - "localIp" = mkOverride 1002 null; + "localIp" = mkOverride 1002 null; - "method" = mkOverride 1002 null; + "method" = mkOverride 1002 null; - "referer" = mkOverride 1002 null; + "referer" = mkOverride 1002 null; - "remoteIp" = mkOverride 1002 null; + "remoteIp" = mkOverride 1002 null; - "requestSize" = mkOverride 1002 null; + "requestSize" = mkOverride 1002 null; - "responseSize" = mkOverride 1002 null; + "responseSize" = mkOverride 1002 null; - "status" = mkOverride 1002 null; + "status" = mkOverride 1002 null; - "url" = mkOverride 1002 null; + "url" = mkOverride 1002 null; - "userAgent" = mkOverride 1002 null; + "userAgent" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_LogInfo_SinkInfo" = { - options = { - "UniqueWriterIdentity" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "istio_adapter_stackdriver_Params_LogInfo_SinkInfo" = { + options = { + "UniqueWriterIdentity" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "UpdateDestination" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "UpdateDestination" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "UpdateFilter" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "UpdateFilter" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "UpdateIncludeChildren" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "UpdateIncludeChildren" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "destination" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "destination" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "filter" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "filter" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "id" = mkOption { - description = ""; - type = (types.nullOr types.str); + "id" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "UniqueWriterIdentity" = mkOverride 1002 null; + config = { + "UniqueWriterIdentity" = mkOverride 1002 null; - "UpdateDestination" = mkOverride 1002 null; + "UpdateDestination" = mkOverride 1002 null; - "UpdateFilter" = mkOverride 1002 null; + "UpdateFilter" = mkOverride 1002 null; - "UpdateIncludeChildren" = mkOverride 1002 null; + "UpdateIncludeChildren" = mkOverride 1002 null; - "destination" = mkOverride 1002 null; + "destination" = mkOverride 1002 null; - "filter" = mkOverride 1002 null; + "filter" = mkOverride 1002 null; - "id" = mkOverride 1002 null; + "id" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_MetricInfo" = { - options = { - "buckets" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_MetricInfo_BucketsDefinition")); - }; + "istio_adapter_stackdriver_Params_MetricInfo" = { + options = { + "buckets" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_adapter_stackdriver_Params_MetricInfo_BucketsDefinition"); + }; - "kind" = mkOption { - description = ""; - type = types.unspecified; - }; + "kind" = mkOption { + description = ""; + type = types.unspecified; + }; - "metricType" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "metricType" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "value" = mkOption { - description = ""; - type = types.unspecified; + "value" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "buckets" = mkOverride 1002 null; + config = { + "buckets" = mkOverride 1002 null; - "kind" = mkOverride 1002 null; + "kind" = mkOverride 1002 null; - "metricType" = mkOverride 1002 null; + "metricType" = mkOverride 1002 null; - "value" = mkOverride 1002 null; + "value" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_MetricInfo_BucketsDefinition" = { - options = { - "definition" = mkOption { - description = ""; - type = types.unspecified; + "istio_adapter_stackdriver_Params_MetricInfo_BucketsDefinition" = { + options = { + "definition" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "definition" = mkOverride 1002 null; + config = { + "definition" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_ServiceAccountPath" = { - options = { - "serviceAccountPath" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_adapter_stackdriver_Params_ServiceAccountPath" = { + options = { + "serviceAccountPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "serviceAccountPath" = mkOverride 1002 null; + config = { + "serviceAccountPath" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stackdriver_Params_Trace" = { - options = { - "sampleProbability" = mkOption { - description = ""; - type = (types.nullOr types.int); + "istio_adapter_stackdriver_Params_Trace" = { + options = { + "sampleProbability" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "sampleProbability" = mkOverride 1002 null; + config = { + "sampleProbability" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_statsd_Params" = { - options = { - "address" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_statsd_Params" = { + options = { + "address" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "flushBytes" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "flushBytes" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "flushDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "flushDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "metrics" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "metrics" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "prefix" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "prefix" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "samplingRate" = mkOption { - description = ""; - type = (types.nullOr types.int); + "samplingRate" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "address" = mkOverride 1002 null; + config = { + "address" = mkOverride 1002 null; - "flushBytes" = mkOverride 1002 null; + "flushBytes" = mkOverride 1002 null; - "flushDuration" = mkOverride 1002 null; + "flushDuration" = mkOverride 1002 null; - "metrics" = mkOverride 1002 null; + "metrics" = mkOverride 1002 null; - "prefix" = mkOverride 1002 null; + "prefix" = mkOverride 1002 null; - "samplingRate" = mkOverride 1002 null; + "samplingRate" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_statsd_Params_MetricInfo" = { - options = { - "nameTemplate" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_adapter_statsd_Params_MetricInfo" = { + options = { + "nameTemplate" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "type" = mkOption { - description = ""; - type = types.unspecified; + "type" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "nameTemplate" = mkOverride 1002 null; + config = { + "nameTemplate" = mkOverride 1002 null; - "type" = mkOverride 1002 null; + "type" = mkOverride 1002 null; + }; }; - }; - "istio_adapter_stdio_Params" = { - options = { - "logStream" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_adapter_stdio_Params" = { + options = { + "logStream" = mkOption { + description = ""; + type = types.unspecified; + }; - "maxDaysBeforeRotation" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "maxDaysBeforeRotation" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "maxMegabytesBeforeRotation" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "maxMegabytesBeforeRotation" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "maxRotatedFiles" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "maxRotatedFiles" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "metricLevel" = mkOption { - description = ""; - type = types.unspecified; - }; + "metricLevel" = mkOption { + description = ""; + type = types.unspecified; + }; - "outputAsJson" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "outputAsJson" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "outputLevel" = mkOption { - description = ""; - type = types.unspecified; - }; + "outputLevel" = mkOption { + description = ""; + type = types.unspecified; + }; - "outputPath" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "outputPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "severityLevels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); + "severityLevels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; }; - }; - config = { - "logStream" = mkOverride 1002 null; + config = { + "logStream" = mkOverride 1002 null; - "maxDaysBeforeRotation" = mkOverride 1002 null; + "maxDaysBeforeRotation" = mkOverride 1002 null; - "maxMegabytesBeforeRotation" = mkOverride 1002 null; + "maxMegabytesBeforeRotation" = mkOverride 1002 null; - "maxRotatedFiles" = mkOverride 1002 null; + "maxRotatedFiles" = mkOverride 1002 null; - "metricLevel" = mkOverride 1002 null; + "metricLevel" = mkOverride 1002 null; - "outputAsJson" = mkOverride 1002 null; + "outputAsJson" = mkOverride 1002 null; - "outputLevel" = mkOverride 1002 null; + "outputLevel" = mkOverride 1002 null; - "outputPath" = mkOverride 1002 null; + "outputPath" = mkOverride 1002 null; - "severityLevels" = mkOverride 1002 null; + "severityLevels" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_Jwt" = { - options = { - "audiences" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_authentication_v1alpha1_Jwt" = { + options = { + "audiences" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "issuer" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "issuer" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "jwksUri" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "jwksUri" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "jwtHeaders" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "jwtHeaders" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "jwtParams" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "jwtParams" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "audiences" = mkOverride 1002 null; + config = { + "audiences" = mkOverride 1002 null; - "issuer" = mkOverride 1002 null; + "issuer" = mkOverride 1002 null; - "jwksUri" = mkOverride 1002 null; + "jwksUri" = mkOverride 1002 null; - "jwtHeaders" = mkOverride 1002 null; + "jwtHeaders" = mkOverride 1002 null; - "jwtParams" = mkOverride 1002 null; + "jwtParams" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_MutualTls" = { - options = { - "allowTls" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "istio_authentication_v1alpha1_MutualTls" = { + options = { + "allowTls" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "mode" = mkOption { - description = ""; - type = types.unspecified; + "mode" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "allowTls" = mkOverride 1002 null; + config = { + "allowTls" = mkOverride 1002 null; - "mode" = mkOverride 1002 null; + "mode" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_OriginAuthenticationMethod" = { - options = { - "jwt" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_authentication_v1alpha1_Jwt")); + "istio_authentication_v1alpha1_OriginAuthenticationMethod" = { + options = { + "jwt" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_authentication_v1alpha1_Jwt"); + }; }; - }; - config = { - "jwt" = mkOverride 1002 null; + config = { + "jwt" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_PeerAuthenticationMethod" = { - options = { - "params" = mkOption { - description = ""; - type = types.unspecified; + "istio_authentication_v1alpha1_PeerAuthenticationMethod" = { + options = { + "params" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "params" = mkOverride 1002 null; + config = { + "params" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_PeerAuthenticationMethod_Jwt" = { - options = { - "jwt" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_authentication_v1alpha1_Jwt")); + "istio_authentication_v1alpha1_PeerAuthenticationMethod_Jwt" = { + options = { + "jwt" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_authentication_v1alpha1_Jwt"); + }; }; - }; - config = { - "jwt" = mkOverride 1002 null; + config = { + "jwt" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_PeerAuthenticationMethod_Mtls" = { - options = { - "mtls" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_authentication_v1alpha1_MutualTls")); + "istio_authentication_v1alpha1_PeerAuthenticationMethod_Mtls" = { + options = { + "mtls" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_authentication_v1alpha1_MutualTls"); + }; }; - }; - config = { - "mtls" = mkOverride 1002 null; + config = { + "mtls" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_Policy" = { - options = { - "originIsOptional" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "istio_authentication_v1alpha1_Policy" = { + options = { + "originIsOptional" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "origins" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_OriginAuthenticationMethod"))); - }; + "origins" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_OriginAuthenticationMethod")); + }; - "peerIsOptional" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "peerIsOptional" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "peers" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_PeerAuthenticationMethod"))); - }; + "peers" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_PeerAuthenticationMethod")); + }; - "principalBinding" = mkOption { - description = ""; - type = types.unspecified; - }; + "principalBinding" = mkOption { + description = ""; + type = types.unspecified; + }; - "targets" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_TargetSelector"))); + "targets" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_TargetSelector")); + }; }; - }; - config = { - "originIsOptional" = mkOverride 1002 null; + config = { + "originIsOptional" = mkOverride 1002 null; - "origins" = mkOverride 1002 null; + "origins" = mkOverride 1002 null; - "peerIsOptional" = mkOverride 1002 null; + "peerIsOptional" = mkOverride 1002 null; - "peers" = mkOverride 1002 null; + "peers" = mkOverride 1002 null; - "principalBinding" = mkOverride 1002 null; + "principalBinding" = mkOverride 1002 null; - "targets" = mkOverride 1002 null; + "targets" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_PortSelector" = { - options = { - "port" = mkOption { - description = ""; - type = types.unspecified; + "istio_authentication_v1alpha1_PortSelector" = { + options = { + "port" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "port" = mkOverride 1002 null; + config = { + "port" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_PortSelector_Name" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_authentication_v1alpha1_PortSelector_Name" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_PortSelector_Number" = { - options = { - "number" = mkOption { - description = ""; - type = (types.nullOr types.int); + "istio_authentication_v1alpha1_PortSelector_Number" = { + options = { + "number" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "number" = mkOverride 1002 null; + config = { + "number" = mkOverride 1002 null; + }; }; - }; - "istio_authentication_v1alpha1_TargetSelector" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_authentication_v1alpha1_TargetSelector" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "ports" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_PortSelector"))); + "ports" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_authentication_v1alpha1_PortSelector")); + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "ports" = mkOverride 1002 null; + "ports" = mkOverride 1002 null; + }; }; - }; - "istio_mesh_v1alpha1_MeshConfig" = { - options = { - "accessLogFile" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mesh_v1alpha1_MeshConfig" = { + options = { + "accessLogFile" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "authPolicy" = mkOption { - description = ""; - type = types.unspecified; - }; + "authPolicy" = mkOption { + description = ""; + type = types.unspecified; + }; - "connectTimeout" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "connectTimeout" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "defaultConfig" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mesh_v1alpha1_ProxyConfig")); - }; + "defaultConfig" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mesh_v1alpha1_ProxyConfig"); + }; - "disablePolicyChecks" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "disablePolicyChecks" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "enableClientSidePolicyCheck" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "enableClientSidePolicyCheck" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "enableTracing" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "enableTracing" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "ingressClass" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "ingressClass" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "ingressControllerMode" = mkOption { - description = ""; - type = types.unspecified; - }; + "ingressControllerMode" = mkOption { + description = ""; + type = types.unspecified; + }; - "ingressService" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "ingressService" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "mixerAddress" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "mixerAddress" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "mixerCheckServer" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "mixerCheckServer" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "mixerReportServer" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "mixerReportServer" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "outboundTrafficPolicy" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mesh_v1alpha1_MeshConfig_OutboundTrafficPolicy")); - }; + "outboundTrafficPolicy" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mesh_v1alpha1_MeshConfig_OutboundTrafficPolicy"); + }; - "policyCheckFailOpen" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "policyCheckFailOpen" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "proxyHttpPort" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "proxyHttpPort" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "proxyListenPort" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "proxyListenPort" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "rdsRefreshDelay" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "rdsRefreshDelay" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "sdsRefreshDelay" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "sdsRefreshDelay" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "sdsUdsPath" = mkOption { - description = ""; - type = (types.nullOr types.str); + "sdsUdsPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "accessLogFile" = mkOverride 1002 null; + config = { + "accessLogFile" = mkOverride 1002 null; - "authPolicy" = mkOverride 1002 null; + "authPolicy" = mkOverride 1002 null; - "connectTimeout" = mkOverride 1002 null; + "connectTimeout" = mkOverride 1002 null; - "defaultConfig" = mkOverride 1002 null; + "defaultConfig" = mkOverride 1002 null; - "disablePolicyChecks" = mkOverride 1002 null; + "disablePolicyChecks" = mkOverride 1002 null; - "enableClientSidePolicyCheck" = mkOverride 1002 null; + "enableClientSidePolicyCheck" = mkOverride 1002 null; - "enableTracing" = mkOverride 1002 null; + "enableTracing" = mkOverride 1002 null; - "ingressClass" = mkOverride 1002 null; + "ingressClass" = mkOverride 1002 null; - "ingressControllerMode" = mkOverride 1002 null; + "ingressControllerMode" = mkOverride 1002 null; - "ingressService" = mkOverride 1002 null; + "ingressService" = mkOverride 1002 null; - "mixerAddress" = mkOverride 1002 null; + "mixerAddress" = mkOverride 1002 null; - "mixerCheckServer" = mkOverride 1002 null; + "mixerCheckServer" = mkOverride 1002 null; - "mixerReportServer" = mkOverride 1002 null; + "mixerReportServer" = mkOverride 1002 null; - "outboundTrafficPolicy" = mkOverride 1002 null; + "outboundTrafficPolicy" = mkOverride 1002 null; - "policyCheckFailOpen" = mkOverride 1002 null; + "policyCheckFailOpen" = mkOverride 1002 null; - "proxyHttpPort" = mkOverride 1002 null; + "proxyHttpPort" = mkOverride 1002 null; - "proxyListenPort" = mkOverride 1002 null; + "proxyListenPort" = mkOverride 1002 null; - "rdsRefreshDelay" = mkOverride 1002 null; + "rdsRefreshDelay" = mkOverride 1002 null; - "sdsRefreshDelay" = mkOverride 1002 null; + "sdsRefreshDelay" = mkOverride 1002 null; - "sdsUdsPath" = mkOverride 1002 null; + "sdsUdsPath" = mkOverride 1002 null; + }; }; - }; - "istio_mesh_v1alpha1_MeshConfig_OutboundTrafficPolicy" = { - options = { - "mode" = mkOption { - description = ""; - type = types.unspecified; + "istio_mesh_v1alpha1_MeshConfig_OutboundTrafficPolicy" = { + options = { + "mode" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "mode" = mkOverride 1002 null; + config = { + "mode" = mkOverride 1002 null; + }; }; - }; - "istio_mesh_v1alpha1_ProxyConfig" = { - options = { - "availabilityZone" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mesh_v1alpha1_ProxyConfig" = { + options = { + "availabilityZone" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "binaryPath" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "binaryPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "concurrency" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "concurrency" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "configPath" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "configPath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "connectTimeout" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "connectTimeout" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "controlPlaneAuthPolicy" = mkOption { - description = ""; - type = types.unspecified; - }; + "controlPlaneAuthPolicy" = mkOption { + description = ""; + type = types.unspecified; + }; - "customConfigFile" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "customConfigFile" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "discoveryAddress" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "discoveryAddress" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "discoveryRefreshDelay" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "discoveryRefreshDelay" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "drainDuration" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "drainDuration" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "interceptionMode" = mkOption { - description = ""; - type = types.unspecified; - }; + "interceptionMode" = mkOption { + description = ""; + type = types.unspecified; + }; - "parentShutdownDuration" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_duration_Duration")); - }; + "parentShutdownDuration" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_duration_Duration"); + }; - "proxyAdminPort" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "proxyAdminPort" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "proxyBootstrapTemplatePath" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "proxyBootstrapTemplatePath" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "serviceCluster" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "serviceCluster" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "statNameLength" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "statNameLength" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "statsdUdpAddress" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "statsdUdpAddress" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "zipkinAddress" = mkOption { - description = ""; - type = (types.nullOr types.str); + "zipkinAddress" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "availabilityZone" = mkOverride 1002 null; + config = { + "availabilityZone" = mkOverride 1002 null; - "binaryPath" = mkOverride 1002 null; + "binaryPath" = mkOverride 1002 null; - "concurrency" = mkOverride 1002 null; + "concurrency" = mkOverride 1002 null; - "configPath" = mkOverride 1002 null; + "configPath" = mkOverride 1002 null; - "connectTimeout" = mkOverride 1002 null; + "connectTimeout" = mkOverride 1002 null; - "controlPlaneAuthPolicy" = mkOverride 1002 null; + "controlPlaneAuthPolicy" = mkOverride 1002 null; - "customConfigFile" = mkOverride 1002 null; + "customConfigFile" = mkOverride 1002 null; - "discoveryAddress" = mkOverride 1002 null; + "discoveryAddress" = mkOverride 1002 null; - "discoveryRefreshDelay" = mkOverride 1002 null; + "discoveryRefreshDelay" = mkOverride 1002 null; - "drainDuration" = mkOverride 1002 null; + "drainDuration" = mkOverride 1002 null; - "interceptionMode" = mkOverride 1002 null; + "interceptionMode" = mkOverride 1002 null; - "parentShutdownDuration" = mkOverride 1002 null; + "parentShutdownDuration" = mkOverride 1002 null; - "proxyAdminPort" = mkOverride 1002 null; + "proxyAdminPort" = mkOverride 1002 null; - "proxyBootstrapTemplatePath" = mkOverride 1002 null; + "proxyBootstrapTemplatePath" = mkOverride 1002 null; - "serviceCluster" = mkOverride 1002 null; + "serviceCluster" = mkOverride 1002 null; - "statNameLength" = mkOverride 1002 null; + "statNameLength" = mkOverride 1002 null; - "statsdUdpAddress" = mkOverride 1002 null; + "statsdUdpAddress" = mkOverride 1002 null; - "zipkinAddress" = mkOverride 1002 null; + "zipkinAddress" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_apikey_InstanceMsg" = { - options = { - "api" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_apikey_InstanceMsg" = { + options = { + "api" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "apiKey" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "apiKey" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "apiOperation" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "apiOperation" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "apiVersion" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "apiVersion" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "timestamp" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp")); + "timestamp" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp"); + }; }; - }; - config = { - "api" = mkOverride 1002 null; + config = { + "api" = mkOverride 1002 null; - "apiKey" = mkOverride 1002 null; + "apiKey" = mkOverride 1002 null; - "apiOperation" = mkOverride 1002 null; + "apiOperation" = mkOverride 1002 null; - "apiVersion" = mkOverride 1002 null; + "apiVersion" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "timestamp" = mkOverride 1002 null; + "timestamp" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_authorization_ActionMsg" = { - options = { - "method" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_authorization_ActionMsg" = { + options = { + "method" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "namespace" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "namespace" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "path" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "path" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "properties" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "properties" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "service" = mkOption { - description = ""; - type = (types.nullOr types.str); + "service" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "method" = mkOverride 1002 null; + config = { + "method" = mkOverride 1002 null; - "namespace" = mkOverride 1002 null; + "namespace" = mkOverride 1002 null; - "path" = mkOverride 1002 null; + "path" = mkOverride 1002 null; - "properties" = mkOverride 1002 null; + "properties" = mkOverride 1002 null; - "service" = mkOverride 1002 null; + "service" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_authorization_InstanceMsg" = { - options = { - "action" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_authorization_ActionMsg")); - }; + "istio_mixer_authorization_InstanceMsg" = { + options = { + "action" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_authorization_ActionMsg"); + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "subject" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_authorization_SubjectMsg")); + "subject" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_authorization_SubjectMsg"); + }; }; - }; - config = { - "action" = mkOverride 1002 null; + config = { + "action" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "subject" = mkOverride 1002 null; + "subject" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_authorization_SubjectMsg" = { - options = { - "groups" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_authorization_SubjectMsg" = { + options = { + "groups" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "properties" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "properties" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "user" = mkOption { - description = ""; - type = (types.nullOr types.str); + "user" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "groups" = mkOverride 1002 null; + config = { + "groups" = mkOverride 1002 null; - "properties" = mkOverride 1002 null; + "properties" = mkOverride 1002 null; - "user" = mkOverride 1002 null; + "user" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_checknothing_InstanceMsg" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_mixer_checknothing_InstanceMsg" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_edge_InstanceMsg" = { - options = { - "apiProtocol" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_edge_InstanceMsg" = { + options = { + "apiProtocol" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "contextProtocol" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "contextProtocol" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "destinationOwner" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "destinationOwner" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "destinationUid" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "destinationUid" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "destinationWorkloadName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "destinationWorkloadName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "destinationWorkloadNamespace" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "destinationWorkloadNamespace" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sourceOwner" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "sourceOwner" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sourceUid" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "sourceUid" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sourceWorkloadName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "sourceWorkloadName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sourceWorkloadNamespace" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "sourceWorkloadNamespace" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "timestamp" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp")); + "timestamp" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp"); + }; }; - }; - config = { - "apiProtocol" = mkOverride 1002 null; + config = { + "apiProtocol" = mkOverride 1002 null; - "contextProtocol" = mkOverride 1002 null; + "contextProtocol" = mkOverride 1002 null; - "destinationOwner" = mkOverride 1002 null; + "destinationOwner" = mkOverride 1002 null; - "destinationUid" = mkOverride 1002 null; + "destinationUid" = mkOverride 1002 null; - "destinationWorkloadName" = mkOverride 1002 null; + "destinationWorkloadName" = mkOverride 1002 null; - "destinationWorkloadNamespace" = mkOverride 1002 null; + "destinationWorkloadNamespace" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "sourceOwner" = mkOverride 1002 null; + "sourceOwner" = mkOverride 1002 null; - "sourceUid" = mkOverride 1002 null; + "sourceUid" = mkOverride 1002 null; - "sourceWorkloadName" = mkOverride 1002 null; + "sourceWorkloadName" = mkOverride 1002 null; - "sourceWorkloadNamespace" = mkOverride 1002 null; + "sourceWorkloadNamespace" = mkOverride 1002 null; - "timestamp" = mkOverride 1002 null; + "timestamp" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_listentry_InstanceMsg" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_listentry_InstanceMsg" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "value" = mkOption { - description = ""; - type = (types.nullOr types.str); + "value" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "value" = mkOverride 1002 null; + "value" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_logentry_InstanceMsg" = { - options = { - "monitoredResourceDimensions" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "istio_mixer_logentry_InstanceMsg" = { + options = { + "monitoredResourceDimensions" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "monitoredResourceType" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "monitoredResourceType" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "severity" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "severity" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "timestamp" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp")); - }; + "timestamp" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp"); + }; - "variables" = mkOption { - description = ""; - type = (types.nullOr types.attrs); + "variables" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; }; - }; - config = { - "monitoredResourceDimensions" = mkOverride 1002 null; + config = { + "monitoredResourceDimensions" = mkOverride 1002 null; - "monitoredResourceType" = mkOverride 1002 null; + "monitoredResourceType" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "severity" = mkOverride 1002 null; + "severity" = mkOverride 1002 null; - "timestamp" = mkOverride 1002 null; + "timestamp" = mkOverride 1002 null; - "variables" = mkOverride 1002 null; + "variables" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_metric_InstanceMsg" = { - options = { - "dimensions" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "istio_mixer_metric_InstanceMsg" = { + options = { + "dimensions" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "monitoredResourceDimensions" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "monitoredResourceDimensions" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "monitoredResourceType" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "monitoredResourceType" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "value" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_policy_v1beta1_Value")); + "value" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_policy_v1beta1_Value"); + }; }; - }; - config = { - "dimensions" = mkOverride 1002 null; + config = { + "dimensions" = mkOverride 1002 null; - "monitoredResourceDimensions" = mkOverride 1002 null; + "monitoredResourceDimensions" = mkOverride 1002 null; - "monitoredResourceType" = mkOverride 1002 null; + "monitoredResourceType" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "value" = mkOverride 1002 null; + "value" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_quota_InstanceMsg" = { - options = { - "dimensions" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "istio_mixer_quota_InstanceMsg" = { + options = { + "dimensions" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "dimensions" = mkOverride 1002 null; + config = { + "dimensions" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_reportnothing_InstanceMsg" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_mixer_reportnothing_InstanceMsg" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_tracespan_InstanceMsg" = { - options = { - "clientSpan" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "istio_mixer_tracespan_InstanceMsg" = { + options = { + "clientSpan" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "endTime" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp")); - }; + "endTime" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp"); + }; - "httpStatusCode" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "httpStatusCode" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "parentSpanId" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "parentSpanId" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "rewriteClientSpanId" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "rewriteClientSpanId" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "spanId" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "spanId" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "spanName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "spanName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "spanTags" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "spanTags" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "startTime" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp")); - }; + "startTime" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_policy_v1beta1_TimeStamp"); + }; - "traceId" = mkOption { - description = ""; - type = (types.nullOr types.str); + "traceId" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "clientSpan" = mkOverride 1002 null; + config = { + "clientSpan" = mkOverride 1002 null; - "endTime" = mkOverride 1002 null; + "endTime" = mkOverride 1002 null; - "httpStatusCode" = mkOverride 1002 null; + "httpStatusCode" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "parentSpanId" = mkOverride 1002 null; + "parentSpanId" = mkOverride 1002 null; - "rewriteClientSpanId" = mkOverride 1002 null; + "rewriteClientSpanId" = mkOverride 1002 null; - "spanId" = mkOverride 1002 null; + "spanId" = mkOverride 1002 null; - "spanName" = mkOverride 1002 null; + "spanName" = mkOverride 1002 null; - "spanTags" = mkOverride 1002 null; + "spanTags" = mkOverride 1002 null; - "startTime" = mkOverride 1002 null; + "startTime" = mkOverride 1002 null; - "traceId" = mkOverride 1002 null; + "traceId" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_Attributes" = { - options = { - "attributes" = mkOption { - description = ""; - type = (types.nullOr types.attrs); + "istio_mixer_v1_Attributes" = { + options = { + "attributes" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; }; - }; - config = { - "attributes" = mkOverride 1002 null; + config = { + "attributes" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_Attributes_AttributeValue" = { - options = { - "value" = mkOption { - description = ""; - type = types.unspecified; + "istio_mixer_v1_Attributes_AttributeValue" = { + options = { + "value" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "value" = mkOverride 1002 null; + config = { + "value" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_CheckRequest" = { - options = { - "attributes" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_v1_CompressedAttributes")); - }; + "istio_mixer_v1_CheckRequest" = { + options = { + "attributes" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_v1_CompressedAttributes"); + }; - "deduplicationId" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "deduplicationId" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "globalWordCount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "globalWordCount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "quotas" = mkOption { - description = ""; - type = (types.nullOr types.attrs); + "quotas" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; }; - }; - config = { - "attributes" = mkOverride 1002 null; + config = { + "attributes" = mkOverride 1002 null; - "deduplicationId" = mkOverride 1002 null; + "deduplicationId" = mkOverride 1002 null; - "globalWordCount" = mkOverride 1002 null; + "globalWordCount" = mkOverride 1002 null; - "quotas" = mkOverride 1002 null; + "quotas" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_CheckRequest_QuotaParams" = { - options = { - "amount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_mixer_v1_CheckRequest_QuotaParams" = { + options = { + "amount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "bestEffort" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "bestEffort" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "amount" = mkOverride 1002 null; + config = { + "amount" = mkOverride 1002 null; - "bestEffort" = mkOverride 1002 null; + "bestEffort" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_CheckResponse" = { - options = { - "precondition" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_v1_CheckResponse_PreconditionResult")); - }; + "istio_mixer_v1_CheckResponse" = { + options = { + "precondition" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_v1_CheckResponse_PreconditionResult"); + }; - "quotas" = mkOption { - description = ""; - type = (types.nullOr types.attrs); + "quotas" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; }; - }; - config = { - "precondition" = mkOverride 1002 null; + config = { + "precondition" = mkOverride 1002 null; - "quotas" = mkOverride 1002 null; + "quotas" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_CheckResponse_PreconditionResult" = { - options = { - "referencedAttributes" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_v1_ReferencedAttributes")); - }; + "istio_mixer_v1_CheckResponse_PreconditionResult" = { + options = { + "referencedAttributes" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_v1_ReferencedAttributes"); + }; - "routeDirective" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_v1_RouteDirective")); - }; + "routeDirective" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_v1_RouteDirective"); + }; - "status" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "google_rpc_Status")); - }; + "status" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "google_rpc_Status"); + }; - "validDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "validDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "validUseCount" = mkOption { - description = ""; - type = (types.nullOr types.int); + "validUseCount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "referencedAttributes" = mkOverride 1002 null; + config = { + "referencedAttributes" = mkOverride 1002 null; - "routeDirective" = mkOverride 1002 null; + "routeDirective" = mkOverride 1002 null; - "status" = mkOverride 1002 null; + "status" = mkOverride 1002 null; - "validDuration" = mkOverride 1002 null; + "validDuration" = mkOverride 1002 null; - "validUseCount" = mkOverride 1002 null; + "validUseCount" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_CheckResponse_QuotaResult" = { - options = { - "grantedAmount" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_mixer_v1_CheckResponse_QuotaResult" = { + options = { + "grantedAmount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "referencedAttributes" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_mixer_v1_ReferencedAttributes")); - }; + "referencedAttributes" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_mixer_v1_ReferencedAttributes"); + }; - "validDuration" = mkOption { - description = ""; - type = (types.nullOr types.int); + "validDuration" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "grantedAmount" = mkOverride 1002 null; + config = { + "grantedAmount" = mkOverride 1002 null; - "referencedAttributes" = mkOverride 1002 null; + "referencedAttributes" = mkOverride 1002 null; - "validDuration" = mkOverride 1002 null; + "validDuration" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_CompressedAttributes" = { - options = { - "bools" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.bool)); - }; + "istio_mixer_v1_CompressedAttributes" = { + options = { + "bools" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.bool); + }; - "bytes" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "bytes" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "doubles" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); - }; + "doubles" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; - "durations" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); - }; + "durations" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; - "int64s" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); - }; + "int64s" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; - "stringMaps" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "stringMaps" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "strings" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); - }; + "strings" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; - "timestamps" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "timestamps" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "words" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "words" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "bools" = mkOverride 1002 null; + config = { + "bools" = mkOverride 1002 null; - "bytes" = mkOverride 1002 null; + "bytes" = mkOverride 1002 null; - "doubles" = mkOverride 1002 null; + "doubles" = mkOverride 1002 null; - "durations" = mkOverride 1002 null; + "durations" = mkOverride 1002 null; - "int64s" = mkOverride 1002 null; + "int64s" = mkOverride 1002 null; - "stringMaps" = mkOverride 1002 null; + "stringMaps" = mkOverride 1002 null; - "strings" = mkOverride 1002 null; + "strings" = mkOverride 1002 null; - "timestamps" = mkOverride 1002 null; + "timestamps" = mkOverride 1002 null; - "words" = mkOverride 1002 null; + "words" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_HeaderOperation" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_v1_HeaderOperation" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "operation" = mkOption { - description = ""; - type = types.unspecified; - }; + "operation" = mkOption { + description = ""; + type = types.unspecified; + }; - "value" = mkOption { - description = ""; - type = (types.nullOr types.str); + "value" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "operation" = mkOverride 1002 null; + "operation" = mkOverride 1002 null; - "value" = mkOverride 1002 null; + "value" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_ReferencedAttributes" = { - options = { - "attributeMatches" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_ReferencedAttributes_AttributeMatch"))); - }; + "istio_mixer_v1_ReferencedAttributes" = { + options = { + "attributeMatches" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_ReferencedAttributes_AttributeMatch")); + }; - "words" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "words" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "attributeMatches" = mkOverride 1002 null; + config = { + "attributeMatches" = mkOverride 1002 null; - "words" = mkOverride 1002 null; + "words" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_ReferencedAttributes_AttributeMatch" = { - options = { - "condition" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_mixer_v1_ReferencedAttributes_AttributeMatch" = { + options = { + "condition" = mkOption { + description = ""; + type = types.unspecified; + }; - "mapKey" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "mapKey" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "regex" = mkOption { - description = ""; - type = (types.nullOr types.str); + "regex" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "condition" = mkOverride 1002 null; + config = { + "condition" = mkOverride 1002 null; - "mapKey" = mkOverride 1002 null; + "mapKey" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "regex" = mkOverride 1002 null; + "regex" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_ReportRequest" = { - options = { - "attributes" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_CompressedAttributes"))); - }; + "istio_mixer_v1_ReportRequest" = { + options = { + "attributes" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_CompressedAttributes")); + }; - "defaultWords" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "defaultWords" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "globalWordCount" = mkOption { - description = ""; - type = (types.nullOr types.int); + "globalWordCount" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "attributes" = mkOverride 1002 null; + config = { + "attributes" = mkOverride 1002 null; - "defaultWords" = mkOverride 1002 null; + "defaultWords" = mkOverride 1002 null; - "globalWordCount" = mkOverride 1002 null; + "globalWordCount" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_ReportResponse" = { }; + "istio_mixer_v1_ReportResponse" = {}; - "istio_mixer_v1_RouteDirective" = { - options = { - "directResponseBody" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_mixer_v1_RouteDirective" = { + options = { + "directResponseBody" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "directResponseCode" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "directResponseCode" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "requestHeaderOperations" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_HeaderOperation"))); - }; + "requestHeaderOperations" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_HeaderOperation")); + }; - "responseHeaderOperations" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_HeaderOperation"))); + "responseHeaderOperations" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_mixer_v1_HeaderOperation")); + }; }; - }; - config = { - "directResponseBody" = mkOverride 1002 null; + config = { + "directResponseBody" = mkOverride 1002 null; - "directResponseCode" = mkOverride 1002 null; + "directResponseCode" = mkOverride 1002 null; - "requestHeaderOperations" = mkOverride 1002 null; + "requestHeaderOperations" = mkOverride 1002 null; - "responseHeaderOperations" = mkOverride 1002 null; + "responseHeaderOperations" = mkOverride 1002 null; + }; }; - }; - "istio_mixer_v1_StringMap" = { - options = { - "entries" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); + "istio_mixer_v1_StringMap" = { + options = { + "entries" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; }; - }; - config = { - "entries" = mkOverride 1002 null; + config = { + "entries" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_ConnectionPoolSettings" = { - options = { - "http" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings")); - }; + "istio_networking_v1alpha3_ConnectionPoolSettings" = { + options = { + "http" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings"); + }; - "tcp" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings_TCPSettings")); + "tcp" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings_TCPSettings"); + }; }; - }; - config = { - "http" = mkOverride 1002 null; + config = { + "http" = mkOverride 1002 null; - "tcp" = mkOverride 1002 null; + "tcp" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings" = { - options = { - "http1MaxPendingRequests" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings" = { + options = { + "http1MaxPendingRequests" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "http2MaxRequests" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "http2MaxRequests" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "maxRequestsPerConnection" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "maxRequestsPerConnection" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "maxRetries" = mkOption { - description = ""; - type = (types.nullOr types.int); + "maxRetries" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "http1MaxPendingRequests" = mkOverride 1002 null; + config = { + "http1MaxPendingRequests" = mkOverride 1002 null; - "http2MaxRequests" = mkOverride 1002 null; + "http2MaxRequests" = mkOverride 1002 null; - "maxRequestsPerConnection" = mkOverride 1002 null; + "maxRequestsPerConnection" = mkOverride 1002 null; - "maxRetries" = mkOverride 1002 null; + "maxRetries" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_ConnectionPoolSettings_TCPSettings" = { - options = { - "connectTimeout" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); - }; + "istio_networking_v1alpha3_ConnectionPoolSettings_TCPSettings" = { + options = { + "connectTimeout" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; - "maxConnections" = mkOption { - description = ""; - type = (types.nullOr types.int); + "maxConnections" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "connectTimeout" = mkOverride 1002 null; + config = { + "connectTimeout" = mkOverride 1002 null; - "maxConnections" = mkOverride 1002 null; + "maxConnections" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_CorsPolicy" = { - options = { - "allowCredentials" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_BoolValue")); - }; + "istio_networking_v1alpha3_CorsPolicy" = { + options = { + "allowCredentials" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_BoolValue"); + }; - "allowHeaders" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "allowHeaders" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "allowMethods" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "allowMethods" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "allowOrigin" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "allowOrigin" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "exposeHeaders" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "exposeHeaders" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "maxAge" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); + "maxAge" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; }; - }; - config = { - "allowCredentials" = mkOverride 1002 null; + config = { + "allowCredentials" = mkOverride 1002 null; - "allowHeaders" = mkOverride 1002 null; + "allowHeaders" = mkOverride 1002 null; - "allowMethods" = mkOverride 1002 null; + "allowMethods" = mkOverride 1002 null; - "allowOrigin" = mkOverride 1002 null; + "allowOrigin" = mkOverride 1002 null; - "exposeHeaders" = mkOverride 1002 null; + "exposeHeaders" = mkOverride 1002 null; - "maxAge" = mkOverride 1002 null; + "maxAge" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_Destination" = { - options = { - "host" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_Destination" = { + options = { + "host" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "port" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_PortSelector")); - }; + "port" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_PortSelector"); + }; - "subset" = mkOption { - description = ""; - type = (types.nullOr types.str); + "subset" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "host" = mkOverride 1002 null; + config = { + "host" = mkOverride 1002 null; - "port" = mkOverride 1002 null; + "port" = mkOverride 1002 null; - "subset" = mkOverride 1002 null; + "subset" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_DestinationRule" = { - options = { - "host" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_DestinationRule" = { + options = { + "host" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "subsets" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_Subset"))); - }; + "subsets" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_Subset")); + }; - "trafficPolicy" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_TrafficPolicy")); + "trafficPolicy" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_TrafficPolicy"); + }; }; - }; - config = { - "host" = mkOverride 1002 null; + config = { + "host" = mkOverride 1002 null; - "subsets" = mkOverride 1002 null; + "subsets" = mkOverride 1002 null; - "trafficPolicy" = mkOverride 1002 null; + "trafficPolicy" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_DestinationWeight" = { - options = { - "destination" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_Destination")); - }; + "istio_networking_v1alpha3_DestinationWeight" = { + options = { + "destination" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_Destination"); + }; - "weight" = mkOption { - description = ""; - type = (types.nullOr types.int); + "weight" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "destination" = mkOverride 1002 null; + config = { + "destination" = mkOverride 1002 null; - "weight" = mkOverride 1002 null; + "weight" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_EnvoyFilter" = { - options = { - "filters" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_EnvoyFilter_Filter"))); - }; + "istio_networking_v1alpha3_EnvoyFilter" = { + options = { + "filters" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_EnvoyFilter_Filter")); + }; - "workloadLabels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); + "workloadLabels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; }; - }; - config = { - "filters" = mkOverride 1002 null; + config = { + "filters" = mkOverride 1002 null; - "workloadLabels" = mkOverride 1002 null; + "workloadLabels" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_EnvoyFilter_Filter" = { - options = { - "filterConfig" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Struct")); - }; + "istio_networking_v1alpha3_EnvoyFilter_Filter" = { + options = { + "filterConfig" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Struct"); + }; - "filterName" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "filterName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "filterType" = mkOption { - description = ""; - type = types.unspecified; - }; + "filterType" = mkOption { + description = ""; + type = types.unspecified; + }; - "insertPosition" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_EnvoyFilter_InsertPosition")); - }; + "insertPosition" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_EnvoyFilter_InsertPosition"); + }; - "listenerMatch" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_EnvoyFilter_ListenerMatch")); + "listenerMatch" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_EnvoyFilter_ListenerMatch"); + }; }; - }; - config = { - "filterConfig" = mkOverride 1002 null; + config = { + "filterConfig" = mkOverride 1002 null; - "filterName" = mkOverride 1002 null; + "filterName" = mkOverride 1002 null; - "filterType" = mkOverride 1002 null; + "filterType" = mkOverride 1002 null; - "insertPosition" = mkOverride 1002 null; + "insertPosition" = mkOverride 1002 null; - "listenerMatch" = mkOverride 1002 null; + "listenerMatch" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_EnvoyFilter_InsertPosition" = { - options = { - "index" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_networking_v1alpha3_EnvoyFilter_InsertPosition" = { + options = { + "index" = mkOption { + description = ""; + type = types.unspecified; + }; - "relativeTo" = mkOption { - description = ""; - type = (types.nullOr types.str); + "relativeTo" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "index" = mkOverride 1002 null; + config = { + "index" = mkOverride 1002 null; - "relativeTo" = mkOverride 1002 null; + "relativeTo" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_EnvoyFilter_ListenerMatch" = { - options = { - "address" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_networking_v1alpha3_EnvoyFilter_ListenerMatch" = { + options = { + "address" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "listenerProtocol" = mkOption { - description = ""; - type = types.unspecified; - }; + "listenerProtocol" = mkOption { + description = ""; + type = types.unspecified; + }; - "listenerType" = mkOption { - description = ""; - type = types.unspecified; - }; + "listenerType" = mkOption { + description = ""; + type = types.unspecified; + }; - "portNamePrefix" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "portNamePrefix" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "portNumber" = mkOption { - description = ""; - type = (types.nullOr types.int); + "portNumber" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "address" = mkOverride 1002 null; + config = { + "address" = mkOverride 1002 null; - "listenerProtocol" = mkOverride 1002 null; + "listenerProtocol" = mkOverride 1002 null; - "listenerType" = mkOverride 1002 null; + "listenerType" = mkOverride 1002 null; - "portNamePrefix" = mkOverride 1002 null; + "portNamePrefix" = mkOverride 1002 null; - "portNumber" = mkOverride 1002 null; + "portNumber" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_Gateway" = { - options = { - "selector" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "istio_networking_v1alpha3_Gateway" = { + options = { + "selector" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "servers" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_Server"))); + "servers" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_Server")); + }; }; - }; - config = { - "selector" = mkOverride 1002 null; + config = { + "selector" = mkOverride 1002 null; - "servers" = mkOverride 1002 null; + "servers" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection" = { - options = { - "abort" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPFaultInjection_Abort")); - }; + "istio_networking_v1alpha3_HTTPFaultInjection" = { + options = { + "abort" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPFaultInjection_Abort"); + }; - "delay" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPFaultInjection_Delay")); + "delay" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPFaultInjection_Delay"); + }; }; - }; - config = { - "abort" = mkOverride 1002 null; + config = { + "abort" = mkOverride 1002 null; - "delay" = mkOverride 1002 null; + "delay" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Abort" = { - options = { - "errorType" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_networking_v1alpha3_HTTPFaultInjection_Abort" = { + options = { + "errorType" = mkOption { + description = ""; + type = types.unspecified; + }; - "percent" = mkOption { - description = ""; - type = (types.nullOr types.int); + "percent" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "errorType" = mkOverride 1002 null; + config = { + "errorType" = mkOverride 1002 null; - "percent" = mkOverride 1002 null; + "percent" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Abort_GrpcStatus" = { - options = { - "grpcStatus" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_HTTPFaultInjection_Abort_GrpcStatus" = { + options = { + "grpcStatus" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "grpcStatus" = mkOverride 1002 null; + config = { + "grpcStatus" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Abort_Http2Error" = { - options = { - "http2Error" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_HTTPFaultInjection_Abort_Http2Error" = { + options = { + "http2Error" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "http2Error" = mkOverride 1002 null; + config = { + "http2Error" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Abort_HttpStatus" = { - options = { - "httpStatus" = mkOption { - description = ""; - type = (types.nullOr types.int); + "istio_networking_v1alpha3_HTTPFaultInjection_Abort_HttpStatus" = { + options = { + "httpStatus" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "httpStatus" = mkOverride 1002 null; + config = { + "httpStatus" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Delay" = { - options = { - "httpDelayType" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_networking_v1alpha3_HTTPFaultInjection_Delay" = { + options = { + "httpDelayType" = mkOption { + description = ""; + type = types.unspecified; + }; - "percent" = mkOption { - description = ""; - type = (types.nullOr types.int); + "percent" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "httpDelayType" = mkOverride 1002 null; + config = { + "httpDelayType" = mkOverride 1002 null; - "percent" = mkOverride 1002 null; + "percent" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Delay_ExponentialDelay" = { - options = { - "exponentialDelay" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); + "istio_networking_v1alpha3_HTTPFaultInjection_Delay_ExponentialDelay" = { + options = { + "exponentialDelay" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; }; - }; - config = { - "exponentialDelay" = mkOverride 1002 null; + config = { + "exponentialDelay" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPFaultInjection_Delay_FixedDelay" = { - options = { - "fixedDelay" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); + "istio_networking_v1alpha3_HTTPFaultInjection_Delay_FixedDelay" = { + options = { + "fixedDelay" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; }; - }; - config = { - "fixedDelay" = mkOverride 1002 null; + config = { + "fixedDelay" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPMatchRequest" = { - options = { - "authority" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch")); - }; + "istio_networking_v1alpha3_HTTPMatchRequest" = { + options = { + "authority" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch"); + }; - "gateways" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "gateways" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "headers" = mkOption { - description = ""; - type = (types.nullOr types.attrs); - }; + "headers" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; - "method" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch")); - }; + "method" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch"); + }; - "port" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "port" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "scheme" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch")); - }; + "scheme" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch"); + }; - "sourceLabels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "sourceLabels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "uri" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch")); + "uri" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_StringMatch"); + }; }; - }; - config = { - "authority" = mkOverride 1002 null; + config = { + "authority" = mkOverride 1002 null; - "gateways" = mkOverride 1002 null; + "gateways" = mkOverride 1002 null; - "headers" = mkOverride 1002 null; + "headers" = mkOverride 1002 null; - "method" = mkOverride 1002 null; + "method" = mkOverride 1002 null; - "port" = mkOverride 1002 null; + "port" = mkOverride 1002 null; - "scheme" = mkOverride 1002 null; + "scheme" = mkOverride 1002 null; - "sourceLabels" = mkOverride 1002 null; + "sourceLabels" = mkOverride 1002 null; - "uri" = mkOverride 1002 null; + "uri" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPRedirect" = { - options = { - "authority" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_HTTPRedirect" = { + options = { + "authority" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "uri" = mkOption { - description = ""; - type = (types.nullOr types.str); + "uri" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "authority" = mkOverride 1002 null; + config = { + "authority" = mkOverride 1002 null; - "uri" = mkOverride 1002 null; + "uri" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPRetry" = { - options = { - "attempts" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "istio_networking_v1alpha3_HTTPRetry" = { + options = { + "attempts" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "perTryTimeout" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); + "perTryTimeout" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; }; - }; - config = { - "attempts" = mkOverride 1002 null; + config = { + "attempts" = mkOverride 1002 null; - "perTryTimeout" = mkOverride 1002 null; + "perTryTimeout" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPRewrite" = { - options = { - "authority" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_HTTPRewrite" = { + options = { + "authority" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "uri" = mkOption { - description = ""; - type = (types.nullOr types.str); + "uri" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "authority" = mkOverride 1002 null; + config = { + "authority" = mkOverride 1002 null; - "uri" = mkOverride 1002 null; + "uri" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_HTTPRoute" = { - options = { - "appendHeaders" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "istio_networking_v1alpha3_HTTPRoute" = { + options = { + "appendHeaders" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "corsPolicy" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_CorsPolicy")); - }; + "corsPolicy" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_CorsPolicy"); + }; - "fault" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPFaultInjection")); - }; + "fault" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPFaultInjection"); + }; - "match" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_HTTPMatchRequest"))); - }; + "match" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_HTTPMatchRequest")); + }; - "mirror" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_Destination")); - }; + "mirror" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_Destination"); + }; - "redirect" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPRedirect")); - }; + "redirect" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPRedirect"); + }; - "removeResponseHeaders" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "removeResponseHeaders" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "retries" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPRetry")); - }; + "retries" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPRetry"); + }; - "rewrite" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPRewrite")); - }; + "rewrite" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_HTTPRewrite"); + }; - "route" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_DestinationWeight"))); - }; + "route" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_DestinationWeight")); + }; - "timeout" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); - }; + "timeout" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; - "websocketUpgrade" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "websocketUpgrade" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "appendHeaders" = mkOverride 1002 null; + config = { + "appendHeaders" = mkOverride 1002 null; - "corsPolicy" = mkOverride 1002 null; + "corsPolicy" = mkOverride 1002 null; - "fault" = mkOverride 1002 null; + "fault" = mkOverride 1002 null; - "match" = mkOverride 1002 null; + "match" = mkOverride 1002 null; - "mirror" = mkOverride 1002 null; + "mirror" = mkOverride 1002 null; - "redirect" = mkOverride 1002 null; + "redirect" = mkOverride 1002 null; - "removeResponseHeaders" = mkOverride 1002 null; + "removeResponseHeaders" = mkOverride 1002 null; - "retries" = mkOverride 1002 null; + "retries" = mkOverride 1002 null; - "rewrite" = mkOverride 1002 null; + "rewrite" = mkOverride 1002 null; - "route" = mkOverride 1002 null; + "route" = mkOverride 1002 null; - "timeout" = mkOverride 1002 null; + "timeout" = mkOverride 1002 null; - "websocketUpgrade" = mkOverride 1002 null; + "websocketUpgrade" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_L4MatchAttributes" = { - options = { - "destinationSubnets" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_networking_v1alpha3_L4MatchAttributes" = { + options = { + "destinationSubnets" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "gateways" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "gateways" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "port" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "port" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "sourceLabels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "sourceLabels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "sourceSubnet" = mkOption { - description = ""; - type = (types.nullOr types.str); + "sourceSubnet" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "destinationSubnets" = mkOverride 1002 null; + config = { + "destinationSubnets" = mkOverride 1002 null; - "gateways" = mkOverride 1002 null; + "gateways" = mkOverride 1002 null; - "port" = mkOverride 1002 null; + "port" = mkOverride 1002 null; - "sourceLabels" = mkOverride 1002 null; + "sourceLabels" = mkOverride 1002 null; - "sourceSubnet" = mkOverride 1002 null; + "sourceSubnet" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings" = { - options = { - "lbPolicy" = mkOption { - description = ""; - type = types.unspecified; + "istio_networking_v1alpha3_LoadBalancerSettings" = { + options = { + "lbPolicy" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "lbPolicy" = mkOverride 1002 null; + config = { + "lbPolicy" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHash" = { - options = { - "consistentHash" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB")); + "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHash" = { + options = { + "consistentHash" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB"); + }; }; - }; - config = { - "consistentHash" = mkOverride 1002 null; + config = { + "consistentHash" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB" = { - options = { - "hashKey" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB" = { + options = { + "hashKey" = mkOption { + description = ""; + type = types.unspecified; + }; - "minimumRingSize" = mkOption { - description = ""; - type = (types.nullOr types.int); + "minimumRingSize" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "hashKey" = mkOverride 1002 null; + config = { + "hashKey" = mkOverride 1002 null; - "minimumRingSize" = mkOverride 1002 null; + "minimumRingSize" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "path" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "path" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "ttl" = mkOption { - description = ""; - type = (types.nullOr types.int); + "ttl" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "path" = mkOverride 1002 null; + "path" = mkOverride 1002 null; - "ttl" = mkOverride 1002 null; + "ttl" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpCookie" = { - options = { - "httpCookie" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie")); + "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpCookie" = { + options = { + "httpCookie" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie"); + }; }; - }; - config = { - "httpCookie" = mkOverride 1002 null; + config = { + "httpCookie" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName" = { - options = { - "httpHeaderName" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName" = { + options = { + "httpHeaderName" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "httpHeaderName" = mkOverride 1002 null; + config = { + "httpHeaderName" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_UseSourceIp" = { - options = { - "useSourceIp" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "istio_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_UseSourceIp" = { + options = { + "useSourceIp" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "useSourceIp" = mkOverride 1002 null; + config = { + "useSourceIp" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_LoadBalancerSettings_Simple" = { - options = { - "simple" = mkOption { - description = ""; - type = types.unspecified; + "istio_networking_v1alpha3_LoadBalancerSettings_Simple" = { + options = { + "simple" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "simple" = mkOverride 1002 null; + config = { + "simple" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_OutlierDetection" = { - options = { - "baseEjectionTime" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); - }; + "istio_networking_v1alpha3_OutlierDetection" = { + options = { + "baseEjectionTime" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; - "consecutiveErrors" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "consecutiveErrors" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "interval" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Duration")); - }; + "interval" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Duration"); + }; - "maxEjectionPercent" = mkOption { - description = ""; - type = (types.nullOr types.int); + "maxEjectionPercent" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "baseEjectionTime" = mkOverride 1002 null; + config = { + "baseEjectionTime" = mkOverride 1002 null; - "consecutiveErrors" = mkOverride 1002 null; + "consecutiveErrors" = mkOverride 1002 null; - "interval" = mkOverride 1002 null; + "interval" = mkOverride 1002 null; - "maxEjectionPercent" = mkOverride 1002 null; + "maxEjectionPercent" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_Port" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_Port" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "number" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "number" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "protocol" = mkOption { - description = ""; - type = (types.nullOr types.str); + "protocol" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; - "number" = mkOverride 1002 null; + "number" = mkOverride 1002 null; - "protocol" = mkOverride 1002 null; + "protocol" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_PortSelector" = { - options = { - "port" = mkOption { - description = ""; - type = types.unspecified; + "istio_networking_v1alpha3_PortSelector" = { + options = { + "port" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "port" = mkOverride 1002 null; + config = { + "port" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_PortSelector_Name" = { - options = { - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_PortSelector_Name" = { + options = { + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "name" = mkOverride 1002 null; + config = { + "name" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_PortSelector_Number" = { - options = { - "number" = mkOption { - description = ""; - type = (types.nullOr types.int); + "istio_networking_v1alpha3_PortSelector_Number" = { + options = { + "number" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "number" = mkOverride 1002 null; + config = { + "number" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_Server" = { - options = { - "hosts" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_networking_v1alpha3_Server" = { + options = { + "hosts" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "port" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_Port")); - }; + "port" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_Port"); + }; - "tls" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_Server_TLSOptions")); + "tls" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_Server_TLSOptions"); + }; }; - }; - config = { - "hosts" = mkOverride 1002 null; + config = { + "hosts" = mkOverride 1002 null; - "port" = mkOverride 1002 null; + "port" = mkOverride 1002 null; - "tls" = mkOverride 1002 null; + "tls" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_Server_TLSOptions" = { - options = { - "caCertificates" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_Server_TLSOptions" = { + options = { + "caCertificates" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "httpsRedirect" = mkOption { - description = ""; - type = (types.nullOr types.bool); - }; + "httpsRedirect" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; - "mode" = mkOption { - description = ""; - type = types.unspecified; - }; + "mode" = mkOption { + description = ""; + type = types.unspecified; + }; - "privateKey" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "privateKey" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "serverCertificate" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "serverCertificate" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "subjectAltNames" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "subjectAltNames" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "caCertificates" = mkOverride 1002 null; + config = { + "caCertificates" = mkOverride 1002 null; - "httpsRedirect" = mkOverride 1002 null; + "httpsRedirect" = mkOverride 1002 null; - "mode" = mkOverride 1002 null; + "mode" = mkOverride 1002 null; - "privateKey" = mkOverride 1002 null; + "privateKey" = mkOverride 1002 null; - "serverCertificate" = mkOverride 1002 null; + "serverCertificate" = mkOverride 1002 null; - "subjectAltNames" = mkOverride 1002 null; + "subjectAltNames" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_ServiceEntry" = { - options = { - "addresses" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_networking_v1alpha3_ServiceEntry" = { + options = { + "addresses" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "endpoints" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_ServiceEntry_Endpoint"))); - }; + "endpoints" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_ServiceEntry_Endpoint")); + }; - "hosts" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "hosts" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "location" = mkOption { - description = ""; - type = types.unspecified; - }; + "location" = mkOption { + description = ""; + type = types.unspecified; + }; - "ports" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_Port"))); - }; + "ports" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_Port")); + }; - "resolution" = mkOption { - description = ""; - type = types.unspecified; + "resolution" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "addresses" = mkOverride 1002 null; + config = { + "addresses" = mkOverride 1002 null; - "endpoints" = mkOverride 1002 null; + "endpoints" = mkOverride 1002 null; - "hosts" = mkOverride 1002 null; + "hosts" = mkOverride 1002 null; - "location" = mkOverride 1002 null; + "location" = mkOverride 1002 null; - "ports" = mkOverride 1002 null; + "ports" = mkOverride 1002 null; - "resolution" = mkOverride 1002 null; + "resolution" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_ServiceEntry_Endpoint" = { - options = { - "address" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_ServiceEntry_Endpoint" = { + options = { + "address" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "labels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "labels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "ports" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.int)); + "ports" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.int); + }; }; - }; - config = { - "address" = mkOverride 1002 null; + config = { + "address" = mkOverride 1002 null; - "labels" = mkOverride 1002 null; + "labels" = mkOverride 1002 null; - "ports" = mkOverride 1002 null; + "ports" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_StringMatch" = { - options = { - "matchType" = mkOption { - description = ""; - type = types.unspecified; + "istio_networking_v1alpha3_StringMatch" = { + options = { + "matchType" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "matchType" = mkOverride 1002 null; + config = { + "matchType" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_StringMatch_Exact" = { - options = { - "exact" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_StringMatch_Exact" = { + options = { + "exact" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "exact" = mkOverride 1002 null; + config = { + "exact" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_StringMatch_Prefix" = { - options = { - "prefix" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_StringMatch_Prefix" = { + options = { + "prefix" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "prefix" = mkOverride 1002 null; + config = { + "prefix" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_StringMatch_Regex" = { - options = { - "regex" = mkOption { - description = ""; - type = (types.nullOr types.str); + "istio_networking_v1alpha3_StringMatch_Regex" = { + options = { + "regex" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "regex" = mkOverride 1002 null; + config = { + "regex" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_Subset" = { - options = { - "labels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "istio_networking_v1alpha3_Subset" = { + options = { + "labels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "trafficPolicy" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_TrafficPolicy")); + "trafficPolicy" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_TrafficPolicy"); + }; }; - }; - config = { - "labels" = mkOverride 1002 null; + config = { + "labels" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; - "trafficPolicy" = mkOverride 1002 null; + "trafficPolicy" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_TCPRoute" = { - options = { - "match" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_L4MatchAttributes"))); - }; + "istio_networking_v1alpha3_TCPRoute" = { + options = { + "match" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_L4MatchAttributes")); + }; - "route" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_DestinationWeight"))); + "route" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_DestinationWeight")); + }; }; - }; - config = { - "match" = mkOverride 1002 null; + config = { + "match" = mkOverride 1002 null; - "route" = mkOverride 1002 null; + "route" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_TLSMatchAttributes" = { - options = { - "destinationSubnets" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_networking_v1alpha3_TLSMatchAttributes" = { + options = { + "destinationSubnets" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "gateways" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "gateways" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "port" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "port" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "sniHosts" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "sniHosts" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "sourceLabels" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "sourceLabels" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "sourceSubnet" = mkOption { - description = ""; - type = (types.nullOr types.str); + "sourceSubnet" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "destinationSubnets" = mkOverride 1002 null; + config = { + "destinationSubnets" = mkOverride 1002 null; - "gateways" = mkOverride 1002 null; + "gateways" = mkOverride 1002 null; - "port" = mkOverride 1002 null; + "port" = mkOverride 1002 null; - "sniHosts" = mkOverride 1002 null; + "sniHosts" = mkOverride 1002 null; - "sourceLabels" = mkOverride 1002 null; + "sourceLabels" = mkOverride 1002 null; - "sourceSubnet" = mkOverride 1002 null; + "sourceSubnet" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_TLSRoute" = { - options = { - "match" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TLSMatchAttributes"))); - }; + "istio_networking_v1alpha3_TLSRoute" = { + options = { + "match" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TLSMatchAttributes")); + }; - "route" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_DestinationWeight"))); + "route" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_DestinationWeight")); + }; }; - }; - config = { - "match" = mkOverride 1002 null; + config = { + "match" = mkOverride 1002 null; - "route" = mkOverride 1002 null; + "route" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_TLSSettings" = { - options = { - "caCertificates" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_networking_v1alpha3_TLSSettings" = { + options = { + "caCertificates" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "clientCertificate" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "clientCertificate" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "mode" = mkOption { - description = ""; - type = types.unspecified; - }; + "mode" = mkOption { + description = ""; + type = types.unspecified; + }; - "privateKey" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "privateKey" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "sni" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "sni" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "subjectAltNames" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "subjectAltNames" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "caCertificates" = mkOverride 1002 null; + config = { + "caCertificates" = mkOverride 1002 null; - "clientCertificate" = mkOverride 1002 null; + "clientCertificate" = mkOverride 1002 null; - "mode" = mkOverride 1002 null; + "mode" = mkOverride 1002 null; - "privateKey" = mkOverride 1002 null; + "privateKey" = mkOverride 1002 null; - "sni" = mkOverride 1002 null; + "sni" = mkOverride 1002 null; - "subjectAltNames" = mkOverride 1002 null; + "subjectAltNames" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_TrafficPolicy" = { - options = { - "connectionPool" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings")); - }; + "istio_networking_v1alpha3_TrafficPolicy" = { + options = { + "connectionPool" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings"); + }; - "loadBalancer" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings")); - }; + "loadBalancer" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings"); + }; - "outlierDetection" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_OutlierDetection")); - }; + "outlierDetection" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_OutlierDetection"); + }; - "portLevelSettings" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy"))); - }; + "portLevelSettings" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy")); + }; - "tls" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_TLSSettings")); + "tls" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_TLSSettings"); + }; }; - }; - config = { - "connectionPool" = mkOverride 1002 null; + config = { + "connectionPool" = mkOverride 1002 null; - "loadBalancer" = mkOverride 1002 null; + "loadBalancer" = mkOverride 1002 null; - "outlierDetection" = mkOverride 1002 null; + "outlierDetection" = mkOverride 1002 null; - "portLevelSettings" = mkOverride 1002 null; + "portLevelSettings" = mkOverride 1002 null; - "tls" = mkOverride 1002 null; + "tls" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy" = { - options = { - "connectionPool" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings")); - }; + "istio_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy" = { + options = { + "connectionPool" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_ConnectionPoolSettings"); + }; - "loadBalancer" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings")); - }; + "loadBalancer" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_LoadBalancerSettings"); + }; - "outlierDetection" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_OutlierDetection")); - }; + "outlierDetection" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_OutlierDetection"); + }; - "port" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_PortSelector")); - }; + "port" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_PortSelector"); + }; - "tls" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_networking_v1alpha3_TLSSettings")); + "tls" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_networking_v1alpha3_TLSSettings"); + }; }; - }; - config = { - "connectionPool" = mkOverride 1002 null; + config = { + "connectionPool" = mkOverride 1002 null; - "loadBalancer" = mkOverride 1002 null; + "loadBalancer" = mkOverride 1002 null; - "outlierDetection" = mkOverride 1002 null; + "outlierDetection" = mkOverride 1002 null; - "port" = mkOverride 1002 null; + "port" = mkOverride 1002 null; - "tls" = mkOverride 1002 null; + "tls" = mkOverride 1002 null; + }; }; - }; - "istio_networking_v1alpha3_VirtualService" = { - options = { - "gateways" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_networking_v1alpha3_VirtualService" = { + options = { + "gateways" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "hosts" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "hosts" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "http" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_HTTPRoute"))); - }; + "http" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_HTTPRoute")); + }; - "tcp" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TCPRoute"))); - }; + "tcp" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TCPRoute")); + }; - "tls" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TLSRoute"))); + "tls" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_networking_v1alpha3_TLSRoute")); + }; }; - }; - config = { - "gateways" = mkOverride 1002 null; + config = { + "gateways" = mkOverride 1002 null; - "hosts" = mkOverride 1002 null; + "hosts" = mkOverride 1002 null; - "http" = mkOverride 1002 null; + "http" = mkOverride 1002 null; - "tcp" = mkOverride 1002 null; + "tcp" = mkOverride 1002 null; - "tls" = mkOverride 1002 null; + "tls" = mkOverride 1002 null; + }; }; - }; - "istio_policy_v1beta1_Action" = { - options = { - "handler" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_policy_v1beta1_Action" = { + options = { + "handler" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "instances" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "instances" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "handler" = mkOverride 1002 null; + config = { + "handler" = mkOverride 1002 null; - "instances" = mkOverride 1002 null; + "instances" = mkOverride 1002 null; + }; }; - }; - "istio_policy_v1beta1_Rule" = { - options = { - "actions" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_policy_v1beta1_Action"))); - }; + "istio_policy_v1beta1_Rule" = { + options = { + "actions" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_policy_v1beta1_Action")); + }; - "match" = mkOption { - description = ""; - type = (types.nullOr types.str); + "match" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "actions" = mkOverride 1002 null; + config = { + "actions" = mkOverride 1002 null; - "match" = mkOverride 1002 null; + "match" = mkOverride 1002 null; + }; }; - }; - "istio_policy_v1beta1_TimeStamp" = { - options = { - "value" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "protobuf_types_Timestamp")); + "istio_policy_v1beta1_TimeStamp" = { + options = { + "value" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "protobuf_types_Timestamp"); + }; }; - }; - config = { - "value" = mkOverride 1002 null; + config = { + "value" = mkOverride 1002 null; + }; }; - }; - "istio_policy_v1beta1_Value" = { - options = { - "value" = mkOption { - description = ""; - type = types.unspecified; + "istio_policy_v1beta1_Value" = { + options = { + "value" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "value" = mkOverride 1002 null; + config = { + "value" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_AccessRule" = { - options = { - "constraints" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_rbac_v1alpha1_AccessRule_Constraint"))); - }; + "istio_rbac_v1alpha1_AccessRule" = { + options = { + "constraints" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_rbac_v1alpha1_AccessRule_Constraint")); + }; - "methods" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "methods" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "paths" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "paths" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "services" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "services" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "constraints" = mkOverride 1002 null; + config = { + "constraints" = mkOverride 1002 null; - "methods" = mkOverride 1002 null; + "methods" = mkOverride 1002 null; - "paths" = mkOverride 1002 null; + "paths" = mkOverride 1002 null; - "services" = mkOverride 1002 null; + "services" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_AccessRule_Constraint" = { - options = { - "key" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_rbac_v1alpha1_AccessRule_Constraint" = { + options = { + "key" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "values" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "values" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "key" = mkOverride 1002 null; + config = { + "key" = mkOverride 1002 null; - "values" = mkOverride 1002 null; + "values" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_RbacConfig" = { - options = { - "exclusion" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_rbac_v1alpha1_RbacConfig_Target")); - }; + "istio_rbac_v1alpha1_RbacConfig" = { + options = { + "exclusion" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_rbac_v1alpha1_RbacConfig_Target"); + }; - "inclusion" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_rbac_v1alpha1_RbacConfig_Target")); - }; + "inclusion" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_rbac_v1alpha1_RbacConfig_Target"); + }; - "mode" = mkOption { - description = ""; - type = types.unspecified; + "mode" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "exclusion" = mkOverride 1002 null; + config = { + "exclusion" = mkOverride 1002 null; - "inclusion" = mkOverride 1002 null; + "inclusion" = mkOverride 1002 null; - "mode" = mkOverride 1002 null; + "mode" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_RbacConfig_Target" = { - options = { - "namespaces" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); - }; + "istio_rbac_v1alpha1_RbacConfig_Target" = { + options = { + "namespaces" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; - "services" = mkOption { - description = ""; - type = (types.nullOr (types.listOf types.str)); + "services" = mkOption { + description = ""; + type = types.nullOr (types.listOf types.str); + }; }; - }; - config = { - "namespaces" = mkOverride 1002 null; + config = { + "namespaces" = mkOverride 1002 null; - "services" = mkOverride 1002 null; + "services" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_RoleRef" = { - options = { - "kind" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_rbac_v1alpha1_RoleRef" = { + options = { + "kind" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "name" = mkOption { - description = ""; - type = (types.nullOr types.str); + "name" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "kind" = mkOverride 1002 null; + config = { + "kind" = mkOverride 1002 null; - "name" = mkOverride 1002 null; + "name" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_ServiceRole" = { - options = { - "rules" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_rbac_v1alpha1_AccessRule"))); + "istio_rbac_v1alpha1_ServiceRole" = { + options = { + "rules" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_rbac_v1alpha1_AccessRule")); + }; }; - }; - config = { - "rules" = mkOverride 1002 null; + config = { + "rules" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_ServiceRoleBinding" = { - options = { - "mode" = mkOption { - description = ""; - type = types.unspecified; - }; + "istio_rbac_v1alpha1_ServiceRoleBinding" = { + options = { + "mode" = mkOption { + description = ""; + type = types.unspecified; + }; - "roleRef" = mkOption { - description = ""; - type = (types.nullOr (submoduleOf "istio_rbac_v1alpha1_RoleRef")); - }; + "roleRef" = mkOption { + description = ""; + type = types.nullOr (submoduleOf "istio_rbac_v1alpha1_RoleRef"); + }; - "subjects" = mkOption { - description = ""; - type = (types.nullOr (types.listOf (submoduleOf "istio_rbac_v1alpha1_Subject"))); + "subjects" = mkOption { + description = ""; + type = types.nullOr (types.listOf (submoduleOf "istio_rbac_v1alpha1_Subject")); + }; }; - }; - config = { - "mode" = mkOverride 1002 null; + config = { + "mode" = mkOverride 1002 null; - "roleRef" = mkOverride 1002 null; + "roleRef" = mkOverride 1002 null; - "subjects" = mkOverride 1002 null; + "subjects" = mkOverride 1002 null; + }; }; - }; - "istio_rbac_v1alpha1_Subject" = { - options = { - "group" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "istio_rbac_v1alpha1_Subject" = { + options = { + "group" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "properties" = mkOption { - description = ""; - type = (types.nullOr (types.attrsOf types.str)); - }; + "properties" = mkOption { + description = ""; + type = types.nullOr (types.attrsOf types.str); + }; - "user" = mkOption { - description = ""; - type = (types.nullOr types.str); + "user" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "group" = mkOverride 1002 null; + config = { + "group" = mkOverride 1002 null; - "properties" = mkOverride 1002 null; + "properties" = mkOverride 1002 null; - "user" = mkOverride 1002 null; + "user" = mkOverride 1002 null; + }; }; - }; - "protobuf_duration_Duration" = { - options = { - "nanos" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "protobuf_duration_Duration" = { + options = { + "nanos" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "seconds" = mkOption { - description = ""; - type = (types.nullOr types.int); + "seconds" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "nanos" = mkOverride 1002 null; + config = { + "nanos" = mkOverride 1002 null; - "seconds" = mkOverride 1002 null; + "seconds" = mkOverride 1002 null; + }; }; - }; - "protobuf_types_Any" = { - options = { - "typeUrl" = mkOption { - description = ""; - type = (types.nullOr types.str); - }; + "protobuf_types_Any" = { + options = { + "typeUrl" = mkOption { + description = ""; + type = types.nullOr types.str; + }; - "value" = mkOption { - description = ""; - type = (types.nullOr types.str); + "value" = mkOption { + description = ""; + type = types.nullOr types.str; + }; }; - }; - config = { - "typeUrl" = mkOverride 1002 null; + config = { + "typeUrl" = mkOverride 1002 null; - "value" = mkOverride 1002 null; + "value" = mkOverride 1002 null; + }; }; - }; - "protobuf_types_BoolValue" = { - options = { - "value" = mkOption { - description = ""; - type = (types.nullOr types.bool); + "protobuf_types_BoolValue" = { + options = { + "value" = mkOption { + description = ""; + type = types.nullOr types.bool; + }; }; - }; - config = { - "value" = mkOverride 1002 null; + config = { + "value" = mkOverride 1002 null; + }; }; - }; - "protobuf_types_Duration" = { - options = { - "nanos" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "protobuf_types_Duration" = { + options = { + "nanos" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "seconds" = mkOption { - description = ""; - type = (types.nullOr types.int); + "seconds" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "nanos" = mkOverride 1002 null; + config = { + "nanos" = mkOverride 1002 null; - "seconds" = mkOverride 1002 null; + "seconds" = mkOverride 1002 null; + }; }; - }; - "protobuf_types_Struct" = { - options = { - "fields" = mkOption { - description = ""; - type = (types.nullOr types.attrs); + "protobuf_types_Struct" = { + options = { + "fields" = mkOption { + description = ""; + type = types.nullOr types.attrs; + }; }; - }; - config = { - "fields" = mkOverride 1002 null; + config = { + "fields" = mkOverride 1002 null; + }; }; - }; - "protobuf_types_Timestamp" = { - options = { - "nanos" = mkOption { - description = ""; - type = (types.nullOr types.int); - }; + "protobuf_types_Timestamp" = { + options = { + "nanos" = mkOption { + description = ""; + type = types.nullOr types.int; + }; - "seconds" = mkOption { - description = ""; - type = (types.nullOr types.int); + "seconds" = mkOption { + description = ""; + type = types.nullOr types.int; + }; }; - }; - config = { - "nanos" = mkOverride 1002 null; + config = { + "nanos" = mkOverride 1002 null; - "seconds" = mkOverride 1002 null; + "seconds" = mkOverride 1002 null; + }; }; - }; - "protobuf_types_Value" = { - options = { - "kind" = mkOption { - description = ""; - type = types.unspecified; + "protobuf_types_Value" = { + options = { + "kind" = mkOption { + description = ""; + type = types.unspecified; + }; }; - }; - config = { - "kind" = mkOverride 1002 null; + config = { + "kind" = mkOverride 1002 null; + }; }; - }; - - } // (import ./istio-overrides.nix { inherit definitions lib; }); -in -{ + } + // (import ./istio-overrides.nix {inherit definitions lib;}); +in { kubernetes.customResources = [ { group = "networking.istio.io"; diff --git a/modules/k8s.nix b/modules/k8s.nix index 8d4d630..a5de3fe 100644 --- a/modules/k8s.nix +++ b/modules/k8s.nix @@ -1,33 +1,36 @@ # K8S module defines kubernetes definitions for kubenix - -{ options, config, lib, pkgs, k8s, ... }: - -with lib; -let +{ + options, + config, + lib, + pkgs, + k8s, + ... +}: +with lib; let cfg = config.kubernetes; gvkKeyFn = type: "${type.group}/${type.version}/${type.kind}"; getDefaults = resource: group: version: kind: catAttrs "default" (filter - (default: - (resource == null || default.resource == null || default.resource == resource) && - (default.group == null || default.group == group) && - (default.version == null || default.version == version) && - (default.kind == null || default.kind == kind) + ( + default: + (resource == null || default.resource == null || default.resource == resource) + && (default.group == null || default.group == group) + && (default.version == null || default.version == version) + && (default.kind == null || default.kind == kind) ) cfg.api.defaults); moduleToAttrs = value: if isAttrs value then mapAttrs (n: v: moduleToAttrs v) (filterAttrs (n: v: v != null && !(hasPrefix "_" n)) value) - else if isList value then map (v: moduleToAttrs v) value - else value; - apiOptions = { config, ... }: { + apiOptions = {config, ...}: { options = { definitions = mkOption { description = "Attribute set of kubernetes definitions"; @@ -35,7 +38,7 @@ let defaults = mkOption { description = "Kubernetes defaults to apply to resources"; - type = types.listOf (types.submodule ({ config, ... }: { + type = types.listOf (types.submodule ({config, ...}: { options = { group = mkOption { description = "Group to apply default to (all by default)"; @@ -70,17 +73,18 @@ let default = mkOption { description = "Default to apply"; type = types.unspecified; - default = { }; + default = {}; }; }; })); - default = [ ]; + default = []; apply = unique; }; types = mkOption { description = "List of registered kubernetes types"; - type = coerceListOfSubmodulesToAttrs + type = + coerceListOfSubmodulesToAttrs { options = { group = mkOption { @@ -110,7 +114,7 @@ let }; } gvkKeyFn; - default = { }; + default = {}; }; }; @@ -121,17 +125,26 @@ let }; indexOf = lst: value: - head (filter (v: v != -1) (imap0 (i: v: if v == value then i else -1) lst)); + head (filter (v: v != -1) (imap0 (i: v: + if v == value + then i + else -1) + lst)); - compareVersions = ver1: ver2: - let - getVersion = v: substring 1 10 v; - splittedVer1 = builtins.splitVersion (getVersion ver1); - splittedVer2 = builtins.splitVersion (getVersion ver2); + compareVersions = ver1: ver2: let + getVersion = v: substring 1 10 v; + splittedVer1 = builtins.splitVersion (getVersion ver1); + splittedVer2 = builtins.splitVersion (getVersion ver2); - v1 = if length splittedVer1 == 1 then "${getVersion ver1}prod" else getVersion ver1; - v2 = if length splittedVer2 == 1 then "${getVersion ver2}prod" else getVersion ver2; - in + v1 = + if length splittedVer1 == 1 + then "${getVersion ver1}prod" + else getVersion ver1; + v2 = + if length splittedVer2 == 1 + then "${getVersion ver2}prod" + else getVersion ver2; + in builtins.compareVersions v1 v2; customResourceTypesByAttrName = zipAttrs (mapAttrsToList @@ -140,20 +153,23 @@ let }) cfg.customTypes); - customResourceTypesByAttrNameSortByVersion = mapAttrs - (_: resourceTypes: - reverseList (sort - (r1: r2: - compareVersions r1.version r2.version > 0 - ) - resourceTypes) + customResourceTypesByAttrNameSortByVersion = + mapAttrs + ( + _: resourceTypes: + reverseList (sort + ( + r1: r2: + compareVersions r1.version r2.version > 0 + ) + resourceTypes) ) customResourceTypesByAttrName; latestCustomResourceTypes = mapAttrsToList (_: resources: last resources) customResourceTypesByAttrNameSortByVersion; - customResourceModuleForType = config: ct: { name, ... }: { + customResourceModuleForType = config: ct: {name, ...}: { imports = getDefaults ct.name ct.group ct.version ct.kind; options = { apiVersion = mkOption { @@ -174,7 +190,7 @@ let spec = mkOption { description = "Module spec"; type = types.either types.attrs (types.submodule ct.module); - default = { }; + default = {}; }; }; @@ -185,81 +201,78 @@ let }; }; - customResourceOptions = (mapAttrsToList - (_: ct: { config, ... }: - let + customResourceOptions = + (mapAttrsToList + (_: ct: {config, ...}: let module = customResourceModuleForType config ct; - in - { + in { options.resources.${ct.group}.${ct.version}.${ct.kind} = mkOption { description = ct.description; type = types.attrsOf (types.submodule module); - default = { }; + default = {}; }; }) - cfg.customTypes) ++ (map - (ct: { options, config, ... }: - let + cfg.customTypes) + ++ (map + (ct: { + options, + config, + ... + }: let module = customResourceModuleForType config ct; - in - { + in { options.resources.${ct.attrName} = mkOption { description = ct.description; type = types.attrsOf (types.submodule module); - default = { }; + default = {}; }; config.resources.${ct.group}.${ct.version}.${ct.kind} = mkAliasDefinitions options.resources.${ct.attrName}; }) - latestCustomResourceTypes); + latestCustomResourceTypes); - coerceListOfSubmodulesToAttrs = submodule: keyFn: - let - mergeValuesByFn = keyFn: values: - listToAttrs (map - (value: + coerceListOfSubmodulesToAttrs = submodule: keyFn: let + mergeValuesByFn = keyFn: values: + listToAttrs (map + ( + value: nameValuePair (toString (keyFn value)) value - ) - values); + ) + values); - # Either value of type `finalType` or `coercedType`, the latter is - # converted to `finalType` using `coerceFunc`. - coercedTo = coercedType: coerceFunc: finalType: - mkOptionType rec { - name = "coercedTo"; - description = "${finalType.description} or ${coercedType.description}"; - check = x: finalType.check x || coercedType.check x; - merge = loc: defs: - let - coerceVal = val: - if finalType.check val then - val - else - let coerced = coerceFunc val; in assert finalType.check coerced; coerced; - - in - finalType.merge loc (map (def: def // { value = coerceVal def.value; }) defs); - getSubOptions = finalType.getSubOptions; - getSubModules = finalType.getSubModules; - substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); - typeMerge = t1: t2: null; - functor = (defaultFunctor name) // { wrapped = finalType; }; - }; - in + # Either value of type `finalType` or `coercedType`, the latter is + # converted to `finalType` using `coerceFunc`. + coercedTo = coercedType: coerceFunc: finalType: + mkOptionType rec { + name = "coercedTo"; + description = "${finalType.description} or ${coercedType.description}"; + check = x: finalType.check x || coercedType.check x; + merge = loc: defs: let + coerceVal = val: + if finalType.check val + then val + else let coerced = coerceFunc val; in assert finalType.check coerced; coerced; + in + finalType.merge loc (map (def: def // {value = coerceVal def.value;}) defs); + getSubOptions = finalType.getSubOptions; + getSubModules = finalType.getSubModules; + substSubModules = m: coercedTo coercedType coerceFunc (finalType.substSubModules m); + typeMerge = t1: t2: null; + functor = (defaultFunctor name) // {wrapped = finalType;}; + }; + in coercedTo - (types.listOf (types.submodule submodule)) - (mergeValuesByFn keyFn) - (types.attrsOf (types.submodule submodule)); - -in -{ - imports = [ ./base.nix ]; + (types.listOf (types.submodule submodule)) + (mergeValuesByFn keyFn) + (types.attrsOf (types.submodule submodule)); +in { + imports = [./base.nix]; options.kubernetes = { version = mkOption { description = "Kubernetes version to use"; - type = types.enum [ "1.19" "1.20" "1.21" ]; + type = types.enum ["1.19" "1.20" "1.21"]; default = "1.21"; }; @@ -280,29 +293,32 @@ in api = mkOption { type = types.submodule { - imports = [ - (./generated + ''/v'' + cfg.version + ".nix") - apiOptions - ] ++ customResourceOptions; + imports = + [ + (./generated + ''/v'' + cfg.version + ".nix") + apiOptions + ] + ++ customResourceOptions; }; - default = { }; + default = {}; }; imports = mkOption { type = types.listOf (types.either types.package types.path); description = "List of resources to import"; - default = [ ]; + default = []; }; resources = mkOption { description = "Alias for `config.kubernetes.api.resources` options"; - default = { }; + default = {}; type = types.attrsOf types.attrs; }; customTypes = mkOption { description = "List of custom resource types to make API for"; - type = coerceListOfSubmodulesToAttrs + type = + coerceListOfSubmodulesToAttrs { options = { group = mkOption { @@ -340,25 +356,29 @@ in module = mkOption { description = "Custom type module"; type = types.unspecified; - default = { }; + default = {}; }; }; } gvkKeyFn; - default = { }; + default = {}; }; objects = mkOption { description = "List of generated kubernetes objects"; type = types.listOf types.attrs; - apply = items: sort - (r1: r2: - if elem r1.kind cfg.resourceOrder && elem r2.kind cfg.resourceOrder - then indexOf cfg.resourceOrder r1.kind < indexOf cfg.resourceOrder r2.kind - else if elem r1.kind cfg.resourceOrder then true else false + apply = items: + sort + ( + r1: r2: + if elem r1.kind cfg.resourceOrder && elem r2.kind cfg.resourceOrder + then indexOf cfg.resourceOrder r1.kind < indexOf cfg.resourceOrder r2.kind + else if elem r1.kind cfg.resourceOrder + then true + else false ) (unique items); - default = [ ]; + default = []; }; generated = mkOption { @@ -379,26 +399,26 @@ in config = { # features that module is defining - _m.features = [ "k8s" ]; + _m.features = ["k8s"]; # module propagation options - _m.propagate = [{ - features = [ "k8s" ]; - module = { config, ... }: { - # propagate kubernetes version and namespace - kubernetes.version = mkDefault cfg.version; - kubernetes.namespace = mkDefault cfg.namespace; - }; - } + _m.propagate = [ { - features = [ "k8s" "submodule" ]; - module = { config, ... }: { + features = ["k8s"]; + module = {config, ...}: { + # propagate kubernetes version and namespace + kubernetes.version = mkDefault cfg.version; + kubernetes.namespace = mkDefault cfg.namespace; + }; + } + { + features = ["k8s" "submodule"]; + module = {config, ...}: { # set module defaults kubernetes.api.defaults = ( # propagate defaults if default propagation is enabled - (filter (default: default.propagate) cfg.api.defaults) ++ - - [ + (filter (default: default.propagate) cfg.api.defaults) + ++ [ # set module name and version for all kuberentes resources { default.metadata.labels = { @@ -409,38 +429,44 @@ in ] ); }; - }]; + } + ]; # expose k8s helper methods as module argument - _module.args.k8s = import ../lib/k8s { inherit lib; }; + _module.args.k8s = import ../lib/k8s {inherit lib;}; - kubernetes.api = mkMerge ([{ - # register custom types - types = mapAttrsToList - (_: cr: { - inherit (cr) name group version kind attrName; - }) - cfg.customTypes; + kubernetes.api = mkMerge ([ + { + # register custom types + types = + mapAttrsToList + (_: cr: { + inherit (cr) name group version kind attrName; + }) + cfg.customTypes; - defaults = [{ - default = { - # set default kubernetes namespace to all resources - metadata.namespace = mkIf (config.kubernetes.namespace != null) - (mkDefault config.kubernetes.namespace); + defaults = [ + { + default = { + # set default kubernetes namespace to all resources + metadata.namespace = + mkIf (config.kubernetes.namespace != null) + (mkDefault config.kubernetes.namespace); - # set project name to all resources - metadata.annotations = { - "kubenix/project-name" = config.kubenix.project; - "kubenix/k8s-version" = cfg.version; - }; - }; - }]; - }] ++ - - # import of yaml files - (map - (i: - let + # set project name to all resources + metadata.annotations = { + "kubenix/project-name" = config.kubenix.project; + "kubenix/k8s-version" = cfg.version; + }; + }; + } + ]; + } + ] + ++ + # import of yaml files + (map + (i: let # load yaml file object = importYAML i; groupVersion = splitString "/" object.apiVersion; @@ -448,17 +474,18 @@ in version = last groupVersion; group = if version == (head groupVersion) - then "core" else head groupVersion; + then "core" + else head groupVersion; kind = object.kind; - in - { + in { resources.${group}.${version}.${kind}.${name} = object; }) - cfg.imports)); + cfg.imports)); kubernetes.objects = flatten (mapAttrsToList - (_: type: - mapAttrsToList (name: resource: moduleToAttrs resource) + ( + _: type: + mapAttrsToList (name: resource: moduleToAttrs resource) cfg.api.resources.${type.group}.${type.version}.${type.kind} ) cfg.api.types); diff --git a/modules/submodule.nix b/modules/submodule.nix index 77c609c..34e5f60 100644 --- a/modules/submodule.nix +++ b/modules/submodule.nix @@ -1,8 +1,10 @@ -{ config, lib, ... }: - -with lib; { - imports = [ ./base.nix ]; + config, + lib, + ... +}: +with lib; { + imports = [./base.nix]; options.submodule = { name = mkOption { @@ -25,24 +27,24 @@ with lib; tags = mkOption { description = "List of submodule tags"; type = types.listOf types.str; - default = [ ]; + default = []; }; exports = mkOption { description = "Attribute set of functions to export"; type = types.attrs; - default = { }; + default = {}; }; passthru = mkOption { description = "Attribute set to passthru"; type = types.attrs; - default = { }; + default = {}; }; - args._empty = mkOption { }; + args._empty = mkOption {}; }; config._module.args.args = config.submodule.args; - config._m.features = [ "submodule" ]; + config._m.features = ["submodule"]; } diff --git a/modules/submodules.nix b/modules/submodules.nix index 08b060b..ff4b368 100644 --- a/modules/submodules.nix +++ b/modules/submodules.nix @@ -1,140 +1,183 @@ -{ config, options, kubenix, pkgs, lib, ... }: - -with lib; -let +{ + config, + options, + kubenix, + pkgs, + lib, + ... +}: +with lib; let cfg = config.submodules; parentConfig = config; matchesVersion = requiredVersion: version: - if requiredVersion != null then + if requiredVersion != null + then if hasPrefix "~" requiredVersion then (builtins.match (removePrefix "~" requiredVersion) version) != null else requiredVersion == version else true; - getDefaults = { name, version, tags, features }: + getDefaults = { + name, + version, + tags, + features, + }: catAttrs "default" (filter - (submoduleDefault: - (submoduleDefault.name == null || submoduleDefault.name == name) && - (matchesVersion submoduleDefault.version version) && - ( - (length submoduleDefault.tags == 0) || - (length (intersectLists submoduleDefault.tags tags)) > 0 - ) && - ( - (length submoduleDefault.features == 0) || - (length (intersectLists submoduleDefault.features features)) > 0 - ) + ( + submoduleDefault: + (submoduleDefault.name == null || submoduleDefault.name == name) + && (matchesVersion submoduleDefault.version version) + && ( + (length submoduleDefault.tags == 0) + || (length (intersectLists submoduleDefault.tags tags)) > 0 + ) + && ( + (length submoduleDefault.features == 0) + || (length (intersectLists submoduleDefault.features features)) > 0 + ) ) config.submodules.defaults); - specialArgs = cfg.specialArgs // { - parentConfig = config; - }; + specialArgs = + cfg.specialArgs + // { + parentConfig = config; + }; - findSubmodule = { name, version ? null, latest ? true }: - let - matchingSubmodules = filter - (el: - el.definition.name == name && - (matchesVersion version el.definition.version) - ) - cfg.imports; + findSubmodule = { + name, + version ? null, + latest ? true, + }: let + matchingSubmodules = + filter + ( + el: + el.definition.name + == name + && (matchesVersion version el.definition.version) + ) + cfg.imports; - versionSortedSubmodules = sort - (s1: s2: + versionSortedSubmodules = + sort + ( + s1: s2: if builtins.compareVersions s1.definition.version s2.definition.version > 0 - then true else false - ) - matchingSubmodules; + then true + else false + ) + matchingSubmodules; - matchingModule = - if length versionSortedSubmodules == 0 - then throw "No module found ${name}/${if version == null then "latest" else version}" - else head versionSortedSubmodules; - in + matchingModule = + if length versionSortedSubmodules == 0 + then + throw "No module found ${name}/${ + if version == null + then "latest" + else version + }" + else head versionSortedSubmodules; + in matchingModule; - passthruConfig = mapAttrsToList + passthruConfig = + mapAttrsToList (name: opt: { ${name} = mkMerge (mapAttrsToList - (_: inst: - if inst.passthru.enable - then inst.config.submodule.passthru.${name} or { } - else { } + ( + _: inst: + if inst.passthru.enable + then inst.config.submodule.passthru.${name} or {} + else {} ) config.submodules.instances); _module.args = mkMerge (mapAttrsToList - (_: inst: - if inst.passthru.enable - then inst.config.submodule.passthru._module.args or { } - else { } + ( + _: inst: + if inst.passthru.enable + then inst.config.submodule.passthru._module.args or {} + else {} ) config.submodules.instances); }) - (removeAttrs options [ "_definedNames" "_module" "_m" "submodules" ]); + (removeAttrs options ["_definedNames" "_module" "_m" "submodules"]); - submoduleWithSpecialArgs = opts: specialArgs: - let - opts' = toList opts; - inherit (lib.modules) evalModules; - in + submoduleWithSpecialArgs = opts: specialArgs: let + opts' = toList opts; + inherit (lib.modules) evalModules; + in mkOptionType rec { name = "submodule"; check = x: isAttrs x || isFunction x; - merge = loc: defs: - let - coerce = def: if isFunction def then def else { config = def; }; - modules = opts' ++ map (def: { _file = def.file; imports = [ (coerce def.value) ]; }) defs; - in + merge = loc: defs: let + coerce = def: + if isFunction def + then def + else {config = def;}; + modules = + opts' + ++ map (def: { + _file = def.file; + imports = [(coerce def.value)]; + }) + defs; + in (evalModules { inherit modules specialArgs; prefix = loc; - }).config; - getSubOptions = prefix: (evalModules - { - modules = opts'; inherit prefix specialArgs; - # This is a work-around due to the fact that some sub-modules, - # such as the one included in an attribute set, expects a "args" - # attribute to be given to the sub-module. As the option - # evaluation does not have any specific attribute name, we - # provide a default one for the documentation. - # - # This is mandatory as some option declaration might use the - # "name" attribute given as argument of the submodule and use it - # as the default of option declarations. - # - # Using lookalike unicode single angle quotation marks because - # of the docbook transformation the options receive. In all uses - # > and < wouldn't be encoded correctly so the encoded values - # would be used, and use of `<` and `>` would break the XML document. - # It shouldn't cause an issue since this is cosmetic for the manual. - args.name = "‹name›"; - }).options; + }) + .config; + getSubOptions = prefix: + (evalModules + { + modules = opts'; + inherit prefix specialArgs; + # This is a work-around due to the fact that some sub-modules, + # such as the one included in an attribute set, expects a "args" + # attribute to be given to the sub-module. As the option + # evaluation does not have any specific attribute name, we + # provide a default one for the documentation. + # + # This is mandatory as some option declaration might use the + # "name" attribute given as argument of the submodule and use it + # as the default of option declarations. + # + # Using lookalike unicode single angle quotation marks because + # of the docbook transformation the options receive. In all uses + # > and < wouldn't be encoded correctly so the encoded values + # would be used, and use of `<` and `>` would break the XML document. + # It shouldn't cause an issue since this is cosmetic for the manual. + args.name = "‹name›"; + }) + .options; getSubModules = opts'; substSubModules = m: submoduleWithSpecialArgs m specialArgs; - functor = (defaultFunctor name) // { - # Merging of submodules is done as part of mergeOptionDecls, as we have to annotate - # each submodule with its location. - payload = [ ]; - binOp = lhs: rhs: [ ]; - }; + functor = + (defaultFunctor name) + // { + # Merging of submodules is done as part of mergeOptionDecls, as we have to annotate + # each submodule with its location. + payload = []; + binOp = lhs: rhs: []; + }; }; -in -{ - imports = [ ./base.nix ]; +in { + imports = [./base.nix]; options = { submodules.specialArgs = mkOption { description = "Special args to pass to submodules. These arguments can be used for imports"; type = types.attrs; - default = { }; + default = {}; }; submodules.defaults = mkOption { description = "List of defaults to apply to submodule instances"; - type = types.listOf (types.submodule ({ config, ... }: { + type = types.listOf (types.submodule ({config, ...}: { options = { name = mkOption { description = "Name of the submodule to apply defaults for"; @@ -154,23 +197,23 @@ in tags = mkOption { description = "List of tags to apply defaults for"; type = types.listOf types.str; - default = [ ]; + default = []; }; features = mkOption { description = "List of features that submodule has to have to apply defaults"; type = types.listOf types.str; - default = [ ]; + default = []; }; default = mkOption { description = "Default to apply to submodule instance"; type = types.unspecified; - default = { }; + default = {}; }; }; })); - default = [ ]; + default = []; }; submodules.propagate.enable = mkOption { @@ -183,179 +226,191 @@ in description = "List of submodule imports"; type = types.listOf ( types.coercedTo - types.path - (module: { inherit module; }) - (types.submodule ({ name, config, ... }: - let - evaledSubmodule' = evalModules { - inherit specialArgs; - modules = config.modules ++ [ ./base.nix ]; - check = false; + types.path + (module: {inherit module;}) + ( + types.submodule ({ + name, + config, + ... + }: let + evaledSubmodule' = evalModules { + inherit specialArgs; + modules = config.modules ++ [./base.nix]; + check = false; + }; + + evaledSubmodule = + if (!(elem "submodule" evaledSubmodule'.config._m.features)) + then throw "no submodule defined" + else evaledSubmodule'; + in { + options = { + module = mkOption { + description = "Module defining submodule"; + type = types.unspecified; }; - evaledSubmodule = - if (!(elem "submodule" evaledSubmodule'.config._m.features)) - then throw "no submodule defined" - else evaledSubmodule'; - in - { - options = { - module = mkOption { - description = "Module defining submodule"; - type = types.unspecified; - }; - - modules = mkOption { - description = "List of modules defining submodule"; - type = types.listOf types.unspecified; - default = [ config.module ]; - }; - - features = mkOption { - description = "List of features exposed by submodule"; - type = types.listOf types.str; - }; - - definition = mkOption { - description = "Submodule definition"; - type = types.attrs; - }; - - exportAs = mkOption { - description = "Name under which to register exports"; - type = types.nullOr types.str; - default = null; - }; + modules = mkOption { + description = "List of modules defining submodule"; + type = types.listOf types.unspecified; + default = [config.module]; }; - config = { - definition = { - inherit (evaledSubmodule.config.submodule) name description version tags exports; - }; - - features = evaledSubmodule.config._m.features; + features = mkOption { + description = "List of features exposed by submodule"; + type = types.listOf types.str; }; - }) - ) + + definition = mkOption { + description = "Submodule definition"; + type = types.attrs; + }; + + exportAs = mkOption { + description = "Name under which to register exports"; + type = types.nullOr types.str; + default = null; + }; + }; + + config = { + definition = { + inherit (evaledSubmodule.config.submodule) name description version tags exports; + }; + + features = evaledSubmodule.config._m.features; + }; + }) + ) ); - default = [ ]; + default = []; }; submodules.instances = mkOption { description = "Attribute set of submodule instances"; - default = { }; - type = types.attrsOf (types.submodule ({ name, config, options, ... }: - let - # submodule associated with - submodule = findSubmodule { - name = config.submodule; - version = config.version; + default = {}; + type = types.attrsOf (types.submodule ({ + name, + config, + options, + ... + }: let + # submodule associated with + submodule = findSubmodule { + name = config.submodule; + version = config.version; + }; + + # definition of a submodule + submoduleDefinition = submodule.definition; + + # submodule defaults + defaults = getDefaults { + name = submoduleDefinition.name; + version = submoduleDefinition.version; + tags = submoduleDefinition.tags; + features = submodule.features; + }; + in { + options = { + name = mkOption { + description = "Submodule instance name"; + type = types.str; + default = name; }; - # definition of a submodule - submoduleDefinition = submodule.definition; - - # submodule defaults - defaults = getDefaults { - name = submoduleDefinition.name; - version = submoduleDefinition.version; - tags = submoduleDefinition.tags; - features = submodule.features; + submodule = mkOption { + description = "Name of the submodule to use"; + type = types.str; + default = name; }; - in - { - options = { - name = mkOption { - description = "Submodule instance name"; - type = types.str; - default = name; - }; - submodule = mkOption { - description = "Name of the submodule to use"; - type = types.str; - default = name; - }; - - version = mkOption { - description = '' - Version of submodule to use, if version starts with "~" it is - threated as regex pattern for example "~1.0.*" - ''; - type = types.nullOr types.str; - default = null; - }; - - passthru.enable = mkOption { - description = "Whether to passthru submodule resources"; - type = types.bool; - default = true; - }; - - config = mkOption { - description = "Submodule instance ${config.name} for ${submoduleDefinition.name}:${submoduleDefinition.version} config"; - type = submoduleWithSpecialArgs - ({ ... }: { - imports = submodule.modules ++ defaults ++ [ ./base.nix ]; - _module.args.pkgs = pkgs; - _module.args.name = config.name; - _module.args.submodule = config; - submodule.args = mkAliasDefinitions options.args; - }) - specialArgs; - default = { }; - }; - - args = mkOption { - description = "Submodule arguments (alias of config.submodule.args)"; - }; + version = mkOption { + description = '' + Version of submodule to use, if version starts with "~" it is + threated as regex pattern for example "~1.0.*" + ''; + type = types.nullOr types.str; + default = null; }; - })); + + passthru.enable = mkOption { + description = "Whether to passthru submodule resources"; + type = types.bool; + default = true; + }; + + config = mkOption { + description = "Submodule instance ${config.name} for ${submoduleDefinition.name}:${submoduleDefinition.version} config"; + type = + submoduleWithSpecialArgs + ({...}: { + imports = submodule.modules ++ defaults ++ [./base.nix]; + _module.args.pkgs = pkgs; + _module.args.name = config.name; + _module.args.submodule = config; + submodule.args = mkAliasDefinitions options.args; + }) + specialArgs; + default = {}; + }; + + args = mkOption { + description = "Submodule arguments (alias of config.submodule.args)"; + }; + }; + })); }; - default = { }; + default = {}; }; config = mkMerge ([ - { - # register exported functions as args - _module.args = mkMerge (map - (submodule: { - ${submodule.exportAs} = submodule.definition.exports; - }) - (filter (submodule: submodule.exportAs != null) cfg.imports)); - - _m.features = [ "submodules" ]; - - submodules.specialArgs.kubenix = kubenix; - - # passthru kubenix.project to submodules - submodules.defaults = mkMerge [ - [{ - default = { - kubenix.project = parentConfig.kubenix.project; - }; - }] - - (map - (propagate: { - features = propagate.features; - default = propagate.module; + { + # register exported functions as args + _module.args = mkMerge (map + (submodule: { + ${submodule.exportAs} = submodule.definition.exports; }) - config._m.propagate) - ]; - } + (filter (submodule: submodule.exportAs != null) cfg.imports)); - (mkIf cfg.propagate.enable { - # if propagate is enabled and submodule has submodules included propagage defaults and imports - submodules.defaults = [{ - features = [ "submodules" ]; - default = { - submodules = { - defaults = cfg.defaults; - imports = cfg.imports; - }; - }; - }]; - }) - ] ++ passthruConfig); + _m.features = ["submodules"]; + + submodules.specialArgs.kubenix = kubenix; + + # passthru kubenix.project to submodules + submodules.defaults = mkMerge [ + [ + { + default = { + kubenix.project = parentConfig.kubenix.project; + }; + } + ] + + (map + (propagate: { + features = propagate.features; + default = propagate.module; + }) + config._m.propagate) + ]; + } + + (mkIf cfg.propagate.enable { + # if propagate is enabled and submodule has submodules included propagage defaults and imports + submodules.defaults = [ + { + features = ["submodules"]; + default = { + submodules = { + defaults = cfg.defaults; + imports = cfg.imports; + }; + }; + } + ]; + }) + ] + ++ passthruConfig); } diff --git a/modules/testing/default.nix b/modules/testing/default.nix index ca4ee27..5dda32a 100644 --- a/modules/testing/default.nix +++ b/modules/testing/default.nix @@ -1,11 +1,15 @@ -{ config, pkgs, lib, kubenix, ... }: - -with lib; -let +{ + config, + pkgs, + lib, + kubenix, + ... +}: +with lib; let cfg = config.testing; testModule = { - imports = [ ./evalTest.nix ]; + imports = [./evalTest.nix]; # passthru testing configuration config._module.args = { @@ -16,9 +20,7 @@ let isTestEnabled = test: (cfg.enabledTests == null || elem test.name cfg.enabledTests) && test.enable; - -in -{ +in { imports = [ ./docker.nix ./driver/kubetest.nix @@ -41,28 +43,28 @@ in common = mkOption { description = "List of common options to apply to tests"; - type = types.listOf (types.submodule ({ config, ... }: { + type = types.listOf (types.submodule ({config, ...}: { options = { features = mkOption { description = "List of features that test has to have to apply options"; type = types.listOf types.str; - default = [ ]; + default = []; }; options = mkOption { description = "Options to apply to test"; type = types.unspecified; - default = { }; - apply = default: { _file = "testing.common"; } // default; + default = {}; + apply = default: {_file = "testing.common";} // default; }; }; })); - default = [ ]; + default = []; }; tests = mkOption { description = "List of test cases"; - default = [ ]; + default = []; type = types.listOf (types.coercedTo types.path (module: { inherit module; @@ -86,7 +88,7 @@ in args = mkOption { description = "Attribute set of extra args passed to tests"; type = types.attrs; - default = { }; + default = {}; }; success = mkOption { diff --git a/modules/testing/docker.nix b/modules/testing/docker.nix index 0d829df..53b589c 100644 --- a/modules/testing/docker.nix +++ b/modules/testing/docker.nix @@ -1,16 +1,17 @@ -{ config, lib, pkgs, ... }: - +{ + config, + lib, + pkgs, + ... +}: with lib; -with import ../../lib/docker { inherit lib pkgs; }; -let +with import ../../lib/docker {inherit lib pkgs;}; let testing = config.testing; - allImages = unique (flatten (map (t: t.evaled.config.docker.export or [ ]) testing.tests)); + allImages = unique (flatten (map (t: t.evaled.config.docker.export or []) testing.tests)); cfg = config.testing.docker; - -in -{ +in { options.testing.docker = { registryUrl = mkOption { description = "Docker registry url"; @@ -37,11 +38,13 @@ in }; }; - config.testing.common = [{ - features = [ "docker" ]; - options = { - _file = "testing.docker.registryUrl"; - docker.registry.url = cfg.registryUrl; - }; - }]; + config.testing.common = [ + { + features = ["docker"]; + options = { + _file = "testing.docker.registryUrl"; + docker.registry.url = cfg.registryUrl; + }; + } + ]; } diff --git a/modules/testing/driver/kubetestdrv.nix b/modules/testing/driver/kubetestdrv.nix index 2107b5f..45c540d 100644 --- a/modules/testing/driver/kubetestdrv.nix +++ b/modules/testing/driver/kubetestdrv.nix @@ -1,15 +1,14 @@ -{ pkgs ? import { } }: +{pkgs ? import {}}: with pkgs; with pkgs.python38Packages; - with pkgs.python38; -pkgs.python38Packages.buildPythonPackage rec { - pname = "kubetest"; - version = "0.9.5"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-TqDHMciAEXv4vMWLJY1YdtXsP4ho+INgdFB3xQQNoZU="; - }; - propagatedBuildInputs = [ pytest kubernetes ]; - doCheck = false; -} + pkgs.python38Packages.buildPythonPackage rec { + pname = "kubetest"; + version = "0.9.5"; + src = fetchPypi { + inherit pname version; + sha256 = "sha256-TqDHMciAEXv4vMWLJY1YdtXsP4ho+INgdFB3xQQNoZU="; + }; + propagatedBuildInputs = [pytest kubernetes]; + doCheck = false; + } diff --git a/modules/testing/evalTest.nix b/modules/testing/evalTest.nix index f7de7a5..5e1c77a 100644 --- a/modules/testing/evalTest.nix +++ b/modules/testing/evalTest.nix @@ -1,7 +1,11 @@ -{ lib, config, testing, kubenix, ... }: - -with lib; -let +{ + lib, + config, + testing, + kubenix, + ... +}: +with lib; let modules = [ # testing module config.module @@ -13,10 +17,12 @@ let { config = { kubenix.project = mkDefault config.name; - _module.args = { - inherit kubenix; - test = evaled.config; - } // testing.args; + _module.args = + { + inherit kubenix; + test = evaled.config; + } + // testing.args; }; } ]; @@ -36,28 +42,29 @@ let # common options that can be applied on this test commonOpts = filter - (d: - (intersectLists d.features testFeatures) == d.features || - (length d.features) == 0 - ) - testing.common; + ( + d: + (intersectLists d.features testFeatures) + == d.features + || (length d.features) == 0 + ) + testing.common; # add common options modules to all modules modulesWithCommonOptions = modules ++ (map (d: d.options) commonOpts); # evaled test - evaled = - let - evaled' = kubenix.evalModules { - modules = modulesWithCommonOptions; - }; - in - if testing.doThrowError then evaled' + evaled = let + evaled' = kubenix.evalModules { + modules = modulesWithCommonOptions; + }; + in + if testing.doThrowError + then evaled' else if (builtins.tryEval evaled'.config.test.assertions).success - then evaled' else null; - -in -{ + then evaled' + else null; +in { options = { module = mkOption { description = "Module defining kubenix test"; @@ -100,7 +107,7 @@ in description = "Test result"; type = types.unspecified; internal = true; - default = [ ]; + default = []; }; script = mkOption { @@ -108,7 +115,6 @@ in type = types.nullOr (types.either types.lines types.path); internal = true; }; - }; config = mkMerge [ diff --git a/modules/testing/runtime/local.nix b/modules/testing/runtime/local.nix index 070951c..3862a76 100644 --- a/modules/testing/runtime/local.nix +++ b/modules/testing/runtime/local.nix @@ -1,7 +1,10 @@ -{ lib, config, pkgs, ... }: - -with lib; -let +{ + lib, + config, + pkgs, + ... +}: +with lib; let testing = config.testing; script = pkgs.writeScript "run-local-k8s-tests-${testing.name}.sh" '' @@ -31,8 +34,7 @@ let echo "--> running tests" ${testing.testScript} --kube-config=$KUBECONFIG ''; -in -{ +in { options.testing.runtime.local = { script = mkOption { type = types.package; diff --git a/modules/testing/runtime/nixos-k8s.nix b/modules/testing/runtime/nixos-k8s.nix index 7251ceb..c0470ed 100644 --- a/modules/testing/runtime/nixos-k8s.nix +++ b/modules/testing/runtime/nixos-k8s.nix @@ -1,29 +1,32 @@ # nixos-k8s implements nixos kubernetes testing runtime - -{ config -, pkgs -, lib -, ... +{ + config, + pkgs, + lib, + ... }: - -with lib; -let +with lib; let testing = config.testing; # kubeconfig = "/etc/${config.services.kubernetes.pki.etcClusterAdminKubeconfig}"; kubeconfig = "/etc/kubernetes/cluster-admin.kubeconfig"; kubecerts = "/var/lib/kubernetes/secrets"; # how we differ from the standard configuration of mkKubernetesBaseTest - extraConfiguration = { config, pkgs, lib, nodes, ... }: { - + extraConfiguration = { + config, + pkgs, + lib, + nodes, + ... + }: { virtualisation = { memorySize = 2048; }; networking = { - nameservers = [ "10.0.0.254" ]; + nameservers = ["10.0.0.254"]; firewall = { - trustedInterfaces = [ "docker0" "cni0" ]; + trustedInterfaces = ["docker0" "cni0"]; }; }; @@ -32,22 +35,26 @@ let kubelet = { seedDockerImages = testing.docker.images; networkPlugin = "cni"; - cni.config = [{ - name = "mynet"; - type = "bridge"; - bridge = "cni0"; - addIf = true; - ipMasq = true; - isGateway = true; - ipam = { - type = "host-local"; - subnet = "10.1.0.0/16"; - gateway = "10.1.0.1"; - routes = [{ - dst = "0.0.0.0/0"; - }]; - }; - }]; + cni.config = [ + { + name = "mynet"; + type = "bridge"; + bridge = "cni0"; + addIf = true; + ipMasq = true; + isGateway = true; + ipam = { + type = "host-local"; + subnet = "10.1.0.0/16"; + gateway = "10.1.0.1"; + routes = [ + { + dst = "0.0.0.0/0"; + } + ]; + }; + } + ]; }; }; @@ -57,32 +64,30 @@ let services.copy-certs = { description = "Share k8s certificates with host"; script = "cp -rf ${kubecerts} /tmp/xchg/; cp -f ${kubeconfig} /tmp/xchg/;"; - after = [ "kubernetes.target" ]; - wantedBy = [ "multi-user.target" ]; + after = ["kubernetes.target"]; + wantedBy = ["multi-user.target"]; serviceConfig = { Type = "oneshot"; RemainAfterExit = true; }; }; }; - }; script = '' machine1.succeed("${testing.testScript} --kube-config=${kubeconfig}") ''; - test = - with import "${pkgs.path}/nixos/tests/kubernetes/base.nix" { inherit pkgs; inherit (pkgs) system; }; + test = with import "${pkgs.path}/nixos/tests/kubernetes/base.nix" { + inherit pkgs; + inherit (pkgs) system; + }; mkKubernetesSingleNodeTest { inherit extraConfiguration; inherit (config.testing) name; test = script; }; - - -in -{ +in { options.testing.runtime.nixos-k8s = { driver = mkOption { description = "Test driver"; diff --git a/modules/testing/test-options.nix b/modules/testing/test-options.nix index 6785a06..11195d4 100644 --- a/modules/testing/test-options.nix +++ b/modules/testing/test-options.nix @@ -1,11 +1,12 @@ -{ lib, config, pkgs, ... }: - -with lib; -let - cfg = config.test; - -in { + lib, + config, + pkgs, + ... +}: +with lib; let + cfg = config.test; +in { options.test = { name = mkOption { description = "Test name"; @@ -38,8 +39,13 @@ in }; }; }); - default = [ ]; - example = [{ assertion = false; message = "you can't enable this for some reason"; }]; + default = []; + example = [ + { + assertion = false; + message = "you can't enable this for some reason"; + } + ]; description = '' This option allows modules to express conditions that must hold for the evaluation of the system configuration to @@ -52,6 +58,5 @@ in type = types.nullOr (types.either types.lines types.path); default = null; }; - }; } diff --git a/pkgs/applications/networking/cluster/kubectl/default.nix b/pkgs/applications/networking/cluster/kubectl/default.nix index ed94865..2853605 100644 --- a/pkgs/applications/networking/cluster/kubectl/default.nix +++ b/pkgs/applications/networking/cluster/kubectl/default.nix @@ -1,5 +1,8 @@ -{ stdenv, kubernetes, installShellFiles }: - +{ + stdenv, + kubernetes, + installShellFiles, +}: stdenv.mkDerivation { name = "kubectl-${kubernetes.version}"; @@ -7,9 +10,9 @@ stdenv.mkDerivation { # split out (see homepage) dontUnpack = true; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [installShellFiles]; - outputs = [ "out" "man" ]; + outputs = ["out" "man"]; installPhase = '' install -D ${kubernetes}/bin/kubectl -t $out/bin @@ -22,8 +25,10 @@ stdenv.mkDerivation { done ''; - meta = kubernetes.meta // { - description = "Kubernetes CLI"; - homepage = "https://github.com/kubernetes/kubectl"; - }; + meta = + kubernetes.meta + // { + description = "Kubernetes CLI"; + homepage = "https://github.com/kubernetes/kubectl"; + }; } diff --git a/pkgs/applications/networking/cluster/kubernetes/default.nix b/pkgs/applications/networking/cluster/kubernetes/default.nix index 20544c7..775dfbb 100644 --- a/pkgs/applications/networking/cluster/kubernetes/default.nix +++ b/pkgs/applications/networking/cluster/kubernetes/default.nix @@ -1,23 +1,22 @@ -{ stdenv -, lib -, fetchFromGitHub -, removeReferencesTo -, which -, go -, makeWrapper -, rsync -, installShellFiles - -, components ? [ +{ + stdenv, + lib, + fetchFromGitHub, + removeReferencesTo, + which, + go, + makeWrapper, + rsync, + installShellFiles, + components ? [ "cmd/kubelet" "cmd/kube-apiserver" "cmd/kube-controller-manager" "cmd/kube-proxy" "cmd/kube-scheduler" "test/e2e/e2e.test" - ] + ], }: - stdenv.mkDerivation rec { pname = "kubernetes"; version = "1.20.4"; @@ -29,11 +28,11 @@ stdenv.mkDerivation rec { hash = "sha256-r9Clwr+87Ns4VXUW9F6cgks+LknY39ngbQgZ5UMZ0Vo="; }; - nativeBuildInputs = [ removeReferencesTo makeWrapper which go rsync installShellFiles ]; + nativeBuildInputs = [removeReferencesTo makeWrapper which go rsync installShellFiles]; - outputs = [ "out" "man" "pause" ]; + outputs = ["out" "man" "pause"]; - patches = [ ./fixup-addonmanager-lib-path.patch ]; + patches = [./fixup-addonmanager-lib-path.patch]; postPatch = '' # go env breaks the sandbox @@ -49,9 +48,10 @@ stdenv.mkDerivation rec { ''; WHAT = lib.concatStringsSep " " ([ - "cmd/kubeadm" - "cmd/kubectl" - ] ++ components); + "cmd/kubeadm" + "cmd/kubectl" + ] + ++ components); postBuild = '' ./hack/update-generated-docs.sh @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { description = "Production-Grade Container Scheduling and Management"; license = licenses.asl20; homepage = "https://kubernetes.io"; - maintainers = with maintainers; [ johanot offline saschagrunert ]; + maintainers = with maintainers; [johanot offline saschagrunert]; platforms = platforms.unix; }; } diff --git a/shell.nix b/shell.nix index 0aed26a..9fddb78 100644 --- a/shell.nix +++ b/shell.nix @@ -1,9 +1,9 @@ -{ system ? builtins.currentSystem }: -let +{system ? builtins.currentSystem}: let in -( - (import ./compat.nix).flake-compat { - src = ./.; - inherit system; - } -).shellNix + ( + (import ./compat.nix).flake-compat { + src = ./.; + inherit system; + } + ) + .shellNix diff --git a/tests/default.nix b/tests/default.nix index 4fbf04c..e454a9b 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -1,20 +1,20 @@ -{ system ? builtins.currentSystem -, evalModules ? (import ../. { }).evalModules.${system} -}: - -{ k8sVersion ? "1.21" -, registry ? throw "Registry url not defined" -, doThrowError ? true # whether any testing error should throw an error -, enabledTests ? null -}: - -let - config = (evalModules { - - module = - { kubenix, pkgs, ... }: { - - imports = [ kubenix.modules.testing ]; +{ + system ? builtins.currentSystem, + evalModules ? (import ../. {}).evalModules.${system}, +}: { + k8sVersion ? "1.21", + registry ? throw "Registry url not defined", + doThrowError ? true, # whether any testing error should throw an error + enabledTests ? null, +}: let + config = + (evalModules { + module = { + kubenix, + pkgs, + ... + }: { + imports = [kubenix.modules.testing]; testing = { inherit doThrowError enabledTests; @@ -36,21 +36,20 @@ let ./submodules/passthru.nix ]; - args = { images = pkgs.callPackage ./images.nix { }; }; + args = {images = pkgs.callPackage ./images.nix {};}; docker.registryUrl = registry; common = [ { - features = [ "k8s" ]; + features = ["k8s"]; options = { kubernetes.version = k8sVersion; }; } ]; }; - }; - - }).config; + }) + .config; in -config.testing // { recurseForDerivations = true; } + config.testing // {recurseForDerivations = true;} diff --git a/tests/images.nix b/tests/images.nix index 7f07469..b901b3c 100644 --- a/tests/images.nix +++ b/tests/images.nix @@ -1,43 +1,44 @@ -{ pkgs, dockerTools, lib, ... }: - -with lib; - { + pkgs, + dockerTools, + lib, + ... +}: +with lib; { curl = dockerTools.buildLayeredImage { name = "curl"; tag = "latest"; - config.Cmd = [ "${pkgs.bash}" "-c" "sleep infinity" ]; - contents = [ pkgs.bash pkgs.curl pkgs.cacert ]; + config.Cmd = ["${pkgs.bash}" "-c" "sleep infinity"]; + contents = [pkgs.bash pkgs.curl pkgs.cacert]; }; - nginx = - let - nginxPort = "80"; - nginxConf = pkgs.writeText "nginx.conf" '' - user nginx nginx; - daemon off; - error_log /dev/stdout info; - pid /dev/null; - events {} - http { - access_log /dev/stdout; - server { - listen ${nginxPort}; - index index.html; - location / { - root ${nginxWebRoot}; - } + nginx = let + nginxPort = "80"; + nginxConf = pkgs.writeText "nginx.conf" '' + user nginx nginx; + daemon off; + error_log /dev/stdout info; + pid /dev/null; + events {} + http { + access_log /dev/stdout; + server { + listen ${nginxPort}; + index index.html; + location / { + root ${nginxWebRoot}; } } - ''; - nginxWebRoot = pkgs.writeTextDir "index.html" '' -

Hello from NGINX

- ''; - in + } + ''; + nginxWebRoot = pkgs.writeTextDir "index.html" '' +

Hello from NGINX

+ ''; + in dockerTools.buildLayeredImage { name = "xtruder/nginx"; tag = "latest"; - contents = [ pkgs.nginx ]; + contents = [pkgs.nginx]; extraCommands = '' mkdir -p etc chmod u+w etc @@ -49,9 +50,9 @@ with lib; echo "nginx:x:1000:nginx" > etc/group ''; config = { - Cmd = [ "nginx" "-c" nginxConf ]; + Cmd = ["nginx" "-c" nginxConf]; ExposedPorts = { - "${nginxPort}/tcp" = { }; + "${nginxPort}/tcp" = {}; }; }; }; diff --git a/tests/istio/bookinfo.nix b/tests/istio/bookinfo.nix index caea7bb..baf73cd 100644 --- a/tests/istio/bookinfo.nix +++ b/tests/istio/bookinfo.nix @@ -1,7 +1,9 @@ -{ config, kubenix, ... }: - { - imports = with kubenix.modules; [ test k8s istio ]; + config, + kubenix, + ... +}: { + imports = with kubenix.modules; [test k8s istio]; test = { name = "istio-bookinfo"; @@ -12,61 +14,72 @@ Gateway."bookinfo-gateway" = { spec = { selector.istio = "ingressgateway"; - servers = [{ - port = { - number = 80; - name = "http"; - protocol = "HTTP"; - }; - hosts = [ "*" ]; - }]; + servers = [ + { + port = { + number = 80; + name = "http"; + protocol = "HTTP"; + }; + hosts = ["*"]; + } + ]; }; }; VirtualService.bookinfo = { spec = { - hosts = [ "*" ]; - gateways = [ "bookinfo-gateway" ]; - http = [{ - match = [{ - uri.exact = "/productpage"; + hosts = ["*"]; + gateways = ["bookinfo-gateway"]; + http = [ + { + match = [ + { + uri.exact = "/productpage"; + } + { + uri.exact = "/login"; + } + { + uri.exact = "/logout"; + } + { + uri.prefix = "/api/v1/products"; + } + ]; + route = [ + { + destination = { + host = "productpage"; + port.number = 9080; + }; + } + ]; } - { - uri.exact = "/login"; - } - { - uri.exact = "/logout"; - } - { - uri.prefix = "/api/v1/products"; - }]; - route = [{ - destination = { - host = "productpage"; - port.number = 9080; - }; - }]; - }]; + ]; }; }; DestinationRule.productpage = { spec = { host = "productpage"; - subsets = [{ - name = "v1"; - labels.version = "v1"; - }]; + subsets = [ + { + name = "v1"; + labels.version = "v1"; + } + ]; }; }; DestinationRule.reviews = { spec = { host = "reviews"; - subsets = [{ - name = "v1"; - labels.version = "v1"; - } + subsets = [ + { + name = "v1"; + labels.version = "v1"; + } { name = "v2"; labels.version = "v2"; @@ -74,17 +87,19 @@ { name = "v3"; labels.version = "v3"; - }]; + } + ]; }; }; DestinationRule.ratings = { spec = { host = "ratings"; - subsets = [{ - name = "v1"; - labels.version = "v1"; - } + subsets = [ + { + name = "v1"; + labels.version = "v1"; + } { name = "v2"; labels.version = "v2"; @@ -96,21 +111,24 @@ { name = "v2-mysql-vm"; labels.version = "v2-mysql-vm"; - }]; + } + ]; }; }; DestinationRule.details = { spec = { host = "details"; - subsets = [{ - name = "v1"; - labels.version = "v1"; - } + subsets = [ + { + name = "v1"; + labels.version = "v1"; + } { name = "v2"; labels.version = "v2"; - }]; + } + ]; }; }; }; diff --git a/tests/k8s/crd.nix b/tests/k8s/crd.nix index b7b7cd1..ad7a39c 100644 --- a/tests/k8s/crd.nix +++ b/tests/k8s/crd.nix @@ -1,20 +1,25 @@ -{ config, lib, kubenix, pkgs, ... }: - -with lib; -let - latestCrontab = config.kubernetes.api.resources.cronTabs.latest; -in { - imports = with kubenix.modules; [ test k8s ]; + config, + lib, + kubenix, + pkgs, + ... +}: +with lib; let + latestCrontab = config.kubernetes.api.resources.cronTabs.latest; +in { + imports = with kubenix.modules; [test k8s]; test = { name = "k8s-crd"; description = "Simple test tesing CRD"; enable = builtins.compareVersions config.kubernetes.version "1.8" >= 0; - assertions = [{ - message = "Custom resource should have correct version set"; - assertion = latestCrontab.apiVersion == "stable.example.com/v2"; - }]; + assertions = [ + { + message = "Custom resource should have correct version set"; + assertion = latestCrontab.apiVersion == "stable.example.com/v2"; + } + ]; script = '' @pytest.mark.applymanifest('${config.kubernetes.resultYAML}') def test_testing_module(kube): @@ -50,7 +55,6 @@ in type = types.str; }; }; - } { group = "stable.example.com"; diff --git a/tests/k8s/defaults.nix b/tests/k8s/defaults.nix index 125a011..91e4de3 100644 --- a/tests/k8s/defaults.nix +++ b/tests/k8s/defaults.nix @@ -1,20 +1,23 @@ -{ config, lib, kubenix, ... }: - -with lib; -let +{ + config, + lib, + kubenix, + ... +}: +with lib; let pod1 = config.kubernetes.api.resources.pods.pod1; pod2 = config.kubernetes.api.resources.pods.pod2; -in -{ - imports = with kubenix.modules; [ test k8s ]; +in { + imports = with kubenix.modules; [test k8s]; test = { name = "k8s-defaults"; description = "Simple k8s testing wheter name, apiVersion and kind are preset"; - assertions = [{ - message = "Should have label set with resource"; - assertion = pod1.metadata.labels.resource-label == "value"; - } + assertions = [ + { + message = "Should have label set with resource"; + assertion = pod1.metadata.labels.resource-label == "value"; + } { message = "Should have default label set with group, version, kind"; assertion = pod1.metadata.labels.gvk-label == "value"; @@ -22,19 +25,21 @@ in { message = "Should have conditional annotation set"; assertion = pod2.metadata.annotations.conditional-annotation == "value"; - }]; + } + ]; }; - kubernetes.resources.pods.pod1 = { }; + kubernetes.resources.pods.pod1 = {}; kubernetes.resources.pods.pod2 = { metadata.labels.custom-label = "value"; }; - kubernetes.api.defaults = [{ - resource = "pods"; - default.metadata.labels.resource-label = "value"; - } + kubernetes.api.defaults = [ + { + resource = "pods"; + default.metadata.labels.resource-label = "value"; + } { group = "core"; kind = "Pod"; @@ -43,10 +48,11 @@ in } { resource = "pods"; - default = { config, ... }: { + default = {config, ...}: { config.metadata.annotations = mkIf (config.metadata.labels ? "custom-label") { conditional-annotation = "value"; }; }; - }]; + } + ]; } diff --git a/tests/k8s/deployment.nix b/tests/k8s/deployment.nix index f4a0684..f91604f 100644 --- a/tests/k8s/deployment.nix +++ b/tests/k8s/deployment.nix @@ -1,7 +1,13 @@ -{ config, lib, pkgs, kubenix, images, test, ... }: - -with lib; -let +{ + config, + lib, + pkgs, + kubenix, + images, + test, + ... +}: +with lib; let cfg = config.kubernetes.api.resources.deployments.nginx; image = images.nginx; @@ -12,30 +18,31 @@ let namespace = config.kubernetes.namespace; name = "curl"; }; - spec.containers = [{ - name = "curl"; - image = config.docker.images.curl.path; - args = [ "curl" "--retry" "20" "--retry-connrefused" "http://nginx" ]; - }]; + spec.containers = [ + { + name = "curl"; + image = config.docker.images.curl.path; + args = ["curl" "--retry" "20" "--retry-connrefused" "http://nginx"]; + } + ]; spec.restartPolicy = "Never"; }); - -in -{ - imports = [ kubenix.modules.test kubenix.modules.k8s kubenix.modules.docker ]; +in { + imports = [kubenix.modules.test kubenix.modules.k8s kubenix.modules.docker]; test = { name = "k8s-deployment"; description = "Simple k8s testing a simple deployment"; - assertions = [{ - message = "should have correct apiVersion and kind set"; - assertion = - if ((builtins.compareVersions config.kubernetes.version "1.7") <= 0) - then cfg.apiVersion == "apps/v1beta1" - else if ((builtins.compareVersions config.kubernetes.version "1.8") <= 0) - then cfg.apiVersion == "apps/v1beta2" - else cfg.apiVersion == "apps/v1"; - } + assertions = [ + { + message = "should have correct apiVersion and kind set"; + assertion = + if ((builtins.compareVersions config.kubernetes.version "1.7") <= 0) + then cfg.apiVersion == "apps/v1beta1" + else if ((builtins.compareVersions config.kubernetes.version "1.8") <= 0) + then cfg.apiVersion == "apps/v1beta2" + else cfg.apiVersion == "apps/v1"; + } { message = "should have corrent kind set"; assertion = cfg.kind == "Deployment"; @@ -43,7 +50,8 @@ in { message = "should have replicas set"; assertion = cfg.spec.replicas == 3; - }]; + } + ]; script = '' import time @@ -97,10 +105,12 @@ in kubernetes.resources.services.nginx = { spec = { - ports = [{ - name = "http"; - port = 80; - }]; + ports = [ + { + name = "http"; + port = 80; + } + ]; selector.app = "nginx"; }; }; diff --git a/tests/k8s/imports.nix b/tests/k8s/imports.nix index 72b4b1d..92f35c3 100644 --- a/tests/k8s/imports.nix +++ b/tests/k8s/imports.nix @@ -1,25 +1,29 @@ -{ config, lib, kubenix, ... }: - -with lib; -let +{ + config, + lib, + kubenix, + ... +}: +with lib; let pod = config.kubernetes.api.resources.core.v1.Pod.test; deployment = config.kubernetes.api.resources.apps.v1.Deployment.nginx-deployment; -in -{ - imports = with kubenix.modules; [ test k8s ]; +in { + imports = with kubenix.modules; [test k8s]; test = { name = "k8s-imports"; description = "Simple k8s testing imports"; enable = builtins.compareVersions config.kubernetes.version "1.10" >= 0; - assertions = [{ - message = "Pod should have name set"; - assertion = pod.metadata.name == "test"; - } + assertions = [ + { + message = "Pod should have name set"; + assertion = pod.metadata.name == "test"; + } { message = "Deployment should have name set"; assertion = deployment.metadata.name == "nginx-deployment"; - }]; + } + ]; }; kubernetes.imports = [ diff --git a/tests/k8s/order.nix b/tests/k8s/order.nix index 34d662e..53a5e71 100644 --- a/tests/k8s/order.nix +++ b/tests/k8s/order.nix @@ -1,22 +1,28 @@ -{ config, lib, kubenix, pkgs, ... }: - -with lib; -let - cfg = config.kubernetes.api.resources.customResourceDefinitions.crontabs; -in { - imports = with kubenix.modules; [ test k8s ]; + config, + lib, + kubenix, + pkgs, + ... +}: +with lib; let + cfg = config.kubernetes.api.resources.customResourceDefinitions.crontabs; +in { + imports = with kubenix.modules; [test k8s]; test = { name = "k8s-order"; description = "test tesing k8s resource order"; - assertions = [{ - message = "should have correct order of resources"; - assertion = - (elemAt config.kubernetes.objects 0).kind == "CustomResourceDefinition" && - (elemAt config.kubernetes.objects 1).kind == "Namespace" && - (elemAt config.kubernetes.objects 2).kind == "CronTab"; - }]; + assertions = [ + { + message = "should have correct order of resources"; + assertion = + (elemAt config.kubernetes.objects 0).kind + == "CustomResourceDefinition" + && (elemAt config.kubernetes.objects 1).kind == "Namespace" + && (elemAt config.kubernetes.objects 2).kind == "CronTab"; + } + ]; }; kubernetes.resources.customResourceDefinitions.crontabs = { @@ -24,38 +30,42 @@ in metadata.name = "crontabs.stable.example.com"; spec = { group = "stable.example.com"; - versions = [{ - name = "v1"; - served = true; - schema = true; - }]; + versions = [ + { + name = "v1"; + served = true; + schema = true; + } + ]; scope = "Namespaced"; names = { plural = "crontabs"; singular = "crontab"; kind = "CronTab"; - shortNames = [ "ct" ]; + shortNames = ["ct"]; }; }; }; - kubernetes.customTypes = [{ - name = "crontabs"; - description = "CronTabs resources"; + kubernetes.customTypes = [ + { + name = "crontabs"; + description = "CronTabs resources"; - attrName = "cronTabs"; - group = "stable.example.com"; - version = "v1"; - kind = "CronTab"; - module = { - options.schedule = mkOption { - description = "Crontab schedule script"; - type = types.str; + attrName = "cronTabs"; + group = "stable.example.com"; + version = "v1"; + kind = "CronTab"; + module = { + options.schedule = mkOption { + description = "Crontab schedule script"; + type = types.str; + }; }; - }; - }]; + } + ]; - kubernetes.resources.namespaces.test = { }; + kubernetes.resources.namespaces.test = {}; kubernetes.resources."stable.example.com"."v1".CronTab.crontab.spec.schedule = "* * * * *"; } diff --git a/tests/k8s/simple.nix b/tests/k8s/simple.nix index ac7dd99..4359e66 100644 --- a/tests/k8s/simple.nix +++ b/tests/k8s/simple.nix @@ -1,22 +1,26 @@ -{ config, kubenix, ... }: -let - cfg = config.kubernetes.api.resources.pods.nginx; -in { - imports = [ kubenix.modules.test kubenix.modules.k8s ]; + config, + kubenix, + ... +}: let + cfg = config.kubernetes.api.resources.pods.nginx; +in { + imports = [kubenix.modules.test kubenix.modules.k8s]; test = { name = "k8s-simple"; description = "Simple k8s testing wheter name, apiVersion and kind are preset"; - assertions = [{ - message = "should have apiVersion and kind set"; - assertion = cfg.apiVersion == "v1" && cfg.kind == "Pod"; - } + assertions = [ + { + message = "should have apiVersion and kind set"; + assertion = cfg.apiVersion == "v1" && cfg.kind == "Pod"; + } { message = "should have name set"; assertion = cfg.metadata.name == "nginx"; - }]; + } + ]; }; - kubernetes.resources.pods.nginx = { }; + kubernetes.resources.pods.nginx = {}; } diff --git a/tests/k8s/submodule.nix b/tests/k8s/submodule.nix index 416234c..e5a11a1 100644 --- a/tests/k8s/submodule.nix +++ b/tests/k8s/submodule.nix @@ -1,54 +1,68 @@ -{ name, config, lib, kubenix, images, ... }: - -with lib; -let - cfg = config.submodules.instances.passthru; -in { - imports = with kubenix.modules; [ test submodules k8s docker ]; + name, + config, + lib, + kubenix, + images, + ... +}: +with lib; let + cfg = config.submodules.instances.passthru; +in { + imports = with kubenix.modules; [test submodules k8s docker]; test = { name = "k8s-submodule"; description = "Simple k8s submodule test"; - assertions = [{ - message = "Submodule has correct name set"; - assertion = (head config.kubernetes.objects).metadata.name == "passthru"; - } + assertions = [ + { + message = "Submodule has correct name set"; + assertion = (head config.kubernetes.objects).metadata.name == "passthru"; + } { message = "Should expose docker image"; assertion = (head config.docker.export).imageName == "xtruder/nginx"; - }]; + } + ]; }; kubernetes.namespace = "test-namespace"; - submodules.imports = [{ - module = { name, config, ... }: { - imports = with kubenix.modules; [ submodule k8s docker ]; + submodules.imports = [ + { + module = { + name, + config, + ... + }: { + imports = with kubenix.modules; [submodule k8s docker]; - config = { - submodule = { - name = "test-submodule"; - passthru = { - kubernetes.objects = config.kubernetes.objects; - docker.images = config.docker.images; + config = { + submodule = { + name = "test-submodule"; + passthru = { + kubernetes.objects = config.kubernetes.objects; + docker.images = config.docker.images; + }; }; - }; - kubernetes.resources.pods.nginx = { - metadata.name = name; - spec.containers.nginx.image = config.docker.images.nginx.path; - }; + kubernetes.resources.pods.nginx = { + metadata.name = name; + spec.containers.nginx.image = config.docker.images.nginx.path; + }; - docker.images.nginx.image = images.nginx; + docker.images.nginx.image = images.nginx; + }; }; - }; - }]; + } + ]; - kubernetes.api.defaults = [{ - propagate = true; - default.metadata.labels.my-label = "my-value"; - }]; + kubernetes.api.defaults = [ + { + propagate = true; + default.metadata.labels.my-label = "my-value"; + } + ]; submodules.instances.passthru = { submodule = "test-submodule"; diff --git a/tests/submodules/defaults.nix b/tests/submodules/defaults.nix index f27d873..ba5969a 100644 --- a/tests/submodules/defaults.nix +++ b/tests/submodules/defaults.nix @@ -1,7 +1,11 @@ -{ name, config, lib, kubenix, ... }: - -with lib; -let +{ + name, + config, + lib, + kubenix, + ... +}: +with lib; let instance1 = config.submodules.instances.instance1; instance2 = config.submodules.instances.instance2; instance3 = config.submodules.instances.instance3; @@ -9,8 +13,8 @@ let instance5 = config.submodules.instances.instance5; versioned-submodule = config.submodules.instances.versioned-submodule; - submodule = { name, ... }: { - imports = [ kubenix.modules.submodule ]; + submodule = {name, ...}: { + imports = [kubenix.modules.submodule]; options.submodule.args = { value = mkOption { @@ -24,17 +28,17 @@ let }; }; }; -in -{ - imports = with kubenix.modules; [ test submodules ]; +in { + imports = with kubenix.modules; [test submodules]; test = { name = "submodules-defaults"; description = "Simple submodule test"; - assertions = [{ - message = "should apply defaults by tag1"; - assertion = instance1.config.submodule.args.value == "value1"; - } + assertions = [ + { + message = "should apply defaults by tag1"; + assertion = instance1.config.submodule.args.value == "value1"; + } { message = "should apply defaults by tag2"; assertion = instance2.config.submodule.args.value == "value2"; @@ -46,8 +50,9 @@ in { message = "should apply defaults to all"; assertion = - instance1.config.submodule.args.defaultValue == "value" && - instance2.config.submodule.args.defaultValue == "value"; + instance1.config.submodule.args.defaultValue + == "value" + && instance2.config.submodule.args.defaultValue == "value"; } { message = "instance1 and instance3 should have value of default-value"; @@ -64,27 +69,29 @@ in { message = "should apply defaults to versioned submodule"; assertion = versioned-submodule.config.submodule.args.defaultValue == "versioned-submodule"; - }]; - }; - - submodules.imports = [{ - modules = [ - submodule - { - submodule = { - name = "submodule1"; - tags = [ "tag1" ]; - }; } ]; - } + }; + + submodules.imports = [ + { + modules = [ + submodule + { + submodule = { + name = "submodule1"; + tags = ["tag1"]; + }; + } + ]; + } { modules = [ submodule { submodule = { name = "submodule2"; - tags = [ "tag2" ]; + tags = ["tag2"]; }; } ]; @@ -95,7 +102,7 @@ in { submodule = { name = "submodule3"; - tags = [ "tag2" ]; + tags = ["tag2"]; }; } ]; @@ -131,17 +138,19 @@ in }; } ]; - }]; + } + ]; - submodules.defaults = [{ - default.submodule.args.defaultValue = mkDefault "value"; - } + submodules.defaults = [ { - tags = [ "tag1" ]; + default.submodule.args.defaultValue = mkDefault "value"; + } + { + tags = ["tag1"]; default.submodule.args.value = mkDefault "value1"; } { - tags = [ "tag2" ]; + tags = ["tag2"]; default.submodule.args.value = mkDefault "value2"; } { @@ -149,7 +158,7 @@ in default.submodule.args.value = mkDefault "value4"; } { - default = { config, ... }: { + default = {config, ...}: { submodule.args.defaultValue = mkIf (config.submodule.args.value == "custom-value") "my-custom-value"; }; } @@ -157,7 +166,8 @@ in name = "versioned-submodule"; version = "2.0.0"; default.submodule.args.value = mkDefault "versioned"; - }]; + } + ]; submodules.instances.instance1.submodule = "submodule1"; submodules.instances.instance2.submodule = "submodule2"; diff --git a/tests/submodules/exports.nix b/tests/submodules/exports.nix index f661db1..83aaf0e 100644 --- a/tests/submodules/exports.nix +++ b/tests/submodules/exports.nix @@ -1,9 +1,14 @@ -{ name, config, lib, kubenix, subm-lib, ... }: - -with lib; -let +{ + name, + config, + lib, + kubenix, + subm-lib, + ... +}: +with lib; let submodule = { - imports = [ kubenix.modules.submodule ]; + imports = [kubenix.modules.submodule]; config.submodule = { name = "subm"; @@ -12,21 +17,24 @@ let }; }; }; -in -{ - imports = with kubenix.modules; [ test submodules ]; +in { + imports = with kubenix.modules; [test submodules]; test = { name = "submodules-exports"; description = "Submodules exports test"; - assertions = [{ - message = "should have library exported"; - assertion = subm-lib.id 1 == 1; - }]; + assertions = [ + { + message = "should have library exported"; + assertion = subm-lib.id 1 == 1; + } + ]; }; - submodules.imports = [{ - modules = [ submodule ]; - exportAs = "subm-lib"; - }]; + submodules.imports = [ + { + modules = [submodule]; + exportAs = "subm-lib"; + } + ]; } diff --git a/tests/submodules/passthru.nix b/tests/submodules/passthru.nix index 5182348..93c3f21 100644 --- a/tests/submodules/passthru.nix +++ b/tests/submodules/passthru.nix @@ -1,24 +1,27 @@ -{ name, config, lib, kubenix, ... }: - -with lib; -let - submodule = { name, ... }: { - imports = [ kubenix.modules.submodule ]; +{ + name, + config, + lib, + kubenix, + ... +}: +with lib; let + submodule = {name, ...}: { + imports = [kubenix.modules.submodule]; config.submodule = { name = "subm"; passthru.global.${name} = "true"; }; }; -in -{ - imports = with kubenix.modules; [ test submodules ]; +in { + imports = with kubenix.modules; [test submodules]; options = { global = mkOption { description = "Global value"; type = types.attrs; - default = { }; + default = {}; }; }; @@ -26,10 +29,11 @@ in test = { name = "submodules-passthru"; description = "Submodules passthru test"; - assertions = [{ - message = "should passthru values if passthru enabled"; - assertion = hasAttr "inst1" config.global && config.global.inst1 == "true"; - } + assertions = [ + { + message = "should passthru values if passthru enabled"; + assertion = hasAttr "inst1" config.global && config.global.inst1 == "true"; + } { message = "should not passthru values if passthru not enabled"; assertion = !(hasAttr "inst2" config.global); @@ -37,12 +41,15 @@ in { message = "should passthru by default"; assertion = hasAttr "inst3" config.global && config.global.inst3 == "true"; - }]; + } + ]; }; - submodules.imports = [{ - modules = [ submodule ]; - }]; + submodules.imports = [ + { + modules = [submodule]; + } + ]; submodules.instances.inst1 = { submodule = "subm"; diff --git a/tests/submodules/simple.nix b/tests/submodules/simple.nix index bc20fd1..40ea7ef 100644 --- a/tests/submodules/simple.nix +++ b/tests/submodules/simple.nix @@ -1,20 +1,24 @@ -{ name, config, lib, kubenix, ... }: - -with lib; -let +{ + name, + config, + lib, + kubenix, + ... +}: +with lib; let cfg = config.submodules.instances.instance; args = cfg.config.submodule.args; -in -{ - imports = with kubenix.modules; [ test submodules ]; +in { + imports = with kubenix.modules; [test submodules]; test = { name = "submodules-simple"; description = "Simple k8s submodule test"; - assertions = [{ - message = "Submodule name is set"; - assertion = cfg.name == "instance"; - } + assertions = [ + { + message = "Submodule name is set"; + assertion = cfg.name == "instance"; + } { message = "Submodule version is set"; assertion = cfg.version == null; @@ -34,32 +38,35 @@ in { message = "should have tag set"; assertion = elem "tag" (cfg.config.submodule.tags); - }]; + } + ]; }; submodules.propagate.enable = true; - submodules.imports = [{ - module = { submodule, ... }: { - imports = [ kubenix.modules.submodule ]; + submodules.imports = [ + { + module = {submodule, ...}: { + imports = [kubenix.modules.submodule]; - options.submodule.args = { - name = mkOption { - description = "Submodule name"; - type = types.str; - default = submodule.name; + options.submodule.args = { + name = mkOption { + description = "Submodule name"; + type = types.str; + default = submodule.name; + }; + value = mkOption { + description = "Submodule argument"; + type = types.str; + }; }; - value = mkOption { - description = "Submodule argument"; - type = types.str; + + config = { + submodule.name = "submodule"; + submodule.tags = ["tag"]; }; }; - - config = { - submodule.name = "submodule"; - submodule.tags = [ "tag" ]; - }; - }; - }]; + } + ]; submodules.instances.instance = { submodule = "submodule"; diff --git a/tests/submodules/versioning.nix b/tests/submodules/versioning.nix index 5e5973e..450ae42 100644 --- a/tests/submodules/versioning.nix +++ b/tests/submodules/versioning.nix @@ -1,13 +1,17 @@ -{ name, config, lib, kubenix, ... }: - -with lib; -let +{ + name, + config, + lib, + kubenix, + ... +}: +with lib; let inst-exact = config.submodules.instances.inst-exact.config; inst-regex = config.submodules.instances.inst-regex.config; inst-latest = config.submodules.instances.inst-latest.config; submodule = { - imports = [ kubenix.modules.submodule ]; + imports = [kubenix.modules.submodule]; options.version = mkOption { type = types.str; @@ -16,17 +20,17 @@ let config.submodule.name = "subm"; }; -in -{ - imports = with kubenix.modules; [ test submodules ]; +in { + imports = with kubenix.modules; [test submodules]; test = { name = "submodules-versioning"; description = "Submodules versioning test"; - assertions = [{ - message = "should select exact version"; - assertion = inst-exact.version == "1.1.0"; - } + assertions = [ + { + message = "should select exact version"; + assertion = inst-exact.version == "1.1.0"; + } { message = "should select regex version"; assertion = inst-regex.version == "1.2.1"; @@ -34,37 +38,48 @@ in { message = "should select latest version"; assertion = inst-latest.version == "1.2.1"; - }]; + } + ]; }; - submodules.imports = [{ - modules = [{ - config.submodule.version = "1.0.0"; - config.version = "1.0.0"; - } - submodule]; - } + submodules.imports = [ { - modules = [{ - config.submodule.version = "1.1.0"; - config.version = "1.1.0"; - } - submodule]; + modules = [ + { + config.submodule.version = "1.0.0"; + config.version = "1.0.0"; + } + submodule + ]; } { - modules = [{ - config.submodule.version = "1.2.0"; - config.version = "1.2.0"; - } - submodule]; + modules = [ + { + config.submodule.version = "1.1.0"; + config.version = "1.1.0"; + } + submodule + ]; } { - modules = [{ - config.submodule.version = "1.2.1"; - config.version = "1.2.1"; - } - submodule]; - }]; + modules = [ + { + config.submodule.version = "1.2.0"; + config.version = "1.2.0"; + } + submodule + ]; + } + { + modules = [ + { + config.submodule.version = "1.2.1"; + config.version = "1.2.1"; + } + submodule + ]; + } + ]; submodules.instances.inst-exact = { submodule = "subm";